aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/runtime/nodejs-apis.md2
-rw-r--r--src/bun.js/bindings/JSReadableHelper.h1
-rw-r--r--src/js/node/crypto.js36
-rw-r--r--src/js/node/stream.js12
-rw-r--r--src/js/out/WebCoreJSBuiltins.cpp300
-rw-r--r--src/js/out/modules/node/crypto.js8
-rw-r--r--src/js/out/modules/node/stream.js4
-rw-r--r--src/node-fallbacks/crypto.js22
-rw-r--r--test/js/node/crypto/crypto.test.ts9
-rw-r--r--test/js/node/fs/fs.test.ts23
10 files changed, 252 insertions, 165 deletions
diff --git a/docs/runtime/nodejs-apis.md b/docs/runtime/nodejs-apis.md
index 5f798fc39..3dfe76b97 100644
--- a/docs/runtime/nodejs-apis.md
+++ b/docs/runtime/nodejs-apis.md
@@ -51,7 +51,7 @@ This page is updated regularly to reflect compatibility status of the latest ver
- {% anchor id="node_crypto" %} [`node:crypto`](https://nodejs.org/api/crypto.html) {% /anchor %}
- 🟡
-- Missing `crypto.Certificate` `crypto.ECDH` `crypto.KeyObject` `crypto.X509Certificate` `crypto.checkPrime{Sync}` `crypto.createPrivateKey` `crypto.createPublicKey` `crypto.createSecretKey` `crypto.diffieHellman` `crypto.generateKey{Sync}` `crypto.generateKeyPair{Sync}` `crypto.generatePrime{Sync}` `crypto.getCipherInfo` `crypto.getCurves` `crypto.{get|set}Fips` `crypto.hkdf` `crypto.hkdfSync` `crypto.secureHeapUsed` `crypto.setEngine` `crypto.sign` `crypto.verify`
+- Missing `crypto.Certificate` `crypto.ECDH` `crypto.KeyObject` `crypto.X509Certificate` `crypto.checkPrime{Sync}` `crypto.createPrivateKey` `crypto.createPublicKey` `crypto.createSecretKey` `crypto.diffieHellman` `crypto.generateKey{Sync}` `crypto.generateKeyPair{Sync}` `crypto.generatePrime{Sync}` `crypto.getCipherInfo` `crypto.{get|set}Fips` `crypto.hkdf` `crypto.hkdfSync` `crypto.secureHeapUsed` `crypto.setEngine` `crypto.sign` `crypto.verify`
---
diff --git a/src/bun.js/bindings/JSReadableHelper.h b/src/bun.js/bindings/JSReadableHelper.h
index 6746bcbec..3e2554c2b 100644
--- a/src/bun.js/bindings/JSReadableHelper.h
+++ b/src/bun.js/bindings/JSReadableHelper.h
@@ -8,7 +8,6 @@ JSC_DECLARE_HOST_FUNCTION(jsReadable_maybeReadMore);
JSC_DECLARE_HOST_FUNCTION(jsReadable_resume);
JSC_DECLARE_HOST_FUNCTION(jsReadable_emitReadable);
JSC_DECLARE_HOST_FUNCTION(jsReadable_onEofChunk);
-JSC_DECLARE_HOST_FUNCTION(jsReadable_resume_);
JSC_DECLARE_HOST_FUNCTION(jsReadable_emitReadable_);
} // namespace WebCore
diff --git a/src/js/node/crypto.js b/src/js/node/crypto.js
index e75182429..20e052e3e 100644
--- a/src/js/node/crypto.js
+++ b/src/js/node/crypto.js
@@ -23802,12 +23802,35 @@ timingSafeEqual &&
Object.defineProperty(scryptSync, "name", {
value: "::bunternal::",
}));
+
+const harcoded_curves = [
+ "p192",
+ "p224",
+ "p256",
+ "p384",
+ "p521",
+ "curve25519",
+ "ed25519",
+ "secp256k1",
+ "secp224r1",
+ "prime256v1",
+ "prime192v1",
+ "ed25519",
+ "secp384r1",
+ "secp521r1",
+];
+
+function getCurves() {
+ return harcoded_curves;
+}
+
var webcrypto = crypto;
__export(crypto_exports, {
DEFAULT_ENCODING: () => DEFAULT_ENCODING,
getRandomValues: () => getRandomValues,
randomUUID: () => randomUUID,
randomInt: () => randomInt,
+ getCurves: () => getCurves,
scrypt: () => scrypt,
scryptSync: () => scryptSync,
timingSafeEqual: () => timingSafeEqual,
@@ -23856,6 +23879,17 @@ export const {
createCredentials,
constants,
} = crypto_exports;
-export { DEFAULT_ENCODING, getRandomValues, randomUUID, randomInt, scrypt, scryptSync, timingSafeEqual, webcrypto };
+
+export {
+ DEFAULT_ENCODING,
+ getRandomValues,
+ getCurves,
+ randomUUID,
+ randomInt,
+ scrypt,
+ scryptSync,
+ timingSafeEqual,
+ webcrypto,
+};
export default crypto_exports;
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
diff --git a/src/js/node/stream.js b/src/js/node/stream.js
index 741b2f65c..30c76d797 100644
--- a/src/js/node/stream.js
+++ b/src/js/node/stream.js
@@ -5356,10 +5356,10 @@ function createNativeStreamReadable(nativeType, Readable) {
return chunk;
}
- push(result, encoding) {
- __DEBUG__ && debug("NativeReadable push -- result, encoding", result, encoding, this.__id);
- return super.push(...arguments);
- }
+ // push(result, encoding) {
+ // __DEBUG__ && debug("NativeReadable push -- result, encoding", result, encoding, this.__id);
+ // return super.push(...arguments);
+ // }
#handleResult(result, view, isClosed) {
__DEBUG__ && debug("result, isClosed @ #handleResult", result, isClosed, this.__id);
@@ -5372,7 +5372,9 @@ function createNativeStreamReadable(nativeType, Readable) {
return handleNumberResult(this, result, view, isClosed);
} else if (typeof result === "boolean") {
- this.push(null);
+ process.nextTick(() => {
+ this.push(null);
+ });
return view?.byteLength ?? 0 > 0 ? view : undefined;
} else if (ArrayBuffer.isView(result)) {
if (result.byteLength >= this.#highWaterMark && !this.#hasResized && !isClosed) {
diff --git a/src/js/out/WebCoreJSBuiltins.cpp b/src/js/out/WebCoreJSBuiltins.cpp
index f20f626d4..fb3100762 100644
--- a/src/js/out/WebCoreJSBuiltins.cpp
+++ b/src/js/out/WebCoreJSBuiltins.cpp
@@ -16,7 +16,7 @@ const JSC::ConstructorKind s_bundlerPluginRunSetupFunctionCodeConstructorKind =
const JSC::ImplementationVisibility s_bundlerPluginRunSetupFunctionCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_bundlerPluginRunSetupFunctionCodeLength = 2165;
static const JSC::Intrinsic s_bundlerPluginRunSetupFunctionCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_bundlerPluginRunSetupFunctionCode = "(function (J,_){\"use strict\";var D=new Map,F=new Map;function H(q,h,E){if(!q||!@isObject(q))@throwTypeError('Expected an object with \"filter\" RegExp');if(!h||!@isCallable(h))@throwTypeError(\"callback must be a function\");var{filter:w,namespace:z=\"file\"}=q;if(!w)@throwTypeError('Expected an object with \"filter\" RegExp');if(!@isRegExpObject(w))@throwTypeError(\"filter must be a RegExp\");if(z&&typeof z!==\"string\")@throwTypeError(\"namespace must be a string\");if((z\?.length\?\?0)===0)z=\"file\";if(!/^([/@a-zA-Z0-9_\\\\-]+)$/.test(z))@throwTypeError(\"namespace can only contain $a-zA-Z0-9_\\\\-\");var A=E.@get(z);if(!A)E.@set(z,[[w,h]]);else @arrayPush(A,[w,h])}function K(q,h){H(q,h,D)}function M(q,h){H(q,h,F)}const I=()=>{var q=!1,h=!1;for(var[E,w]of D.entries())for(var[z]of w)this.addFilter(z,E,1),q=!0;for(var[E,w]of F.entries())for(var[z]of w)this.addFilter(z,E,0),h=!0;if(h){var A=this.onResolve;if(!A)this.onResolve=F;else for(var[E,w]of F.entries()){var C=A.@get(E);if(!C)A.@set(E,w);else A.@set(E,C.concat(w))}}if(q){var G=this.onLoad;if(!G)this.onLoad=D;else for(var[E,w]of D.entries()){var C=G.@get(E);if(!C)G.@set(E,w);else G.@set(E,C.concat(w))}}return q||h};var B=J({config:_,onDispose:()=>@throwTypeError(`@{@2} is not implemented yet. See https://github.com/oven-sh/bun/issues/@1`),onEnd:()=>@throwTypeError(`@{@2} is not implemented yet. See https://github.com/oven-sh/bun/issues/@1`),onLoad:K,onResolve:M,onStart:()=>@throwTypeError(`@{@2} is not implemented yet. See https://github.com/oven-sh/bun/issues/@1`),resolve:()=>@throwTypeError(`@{@2} is not implemented yet. See https://github.com/oven-sh/bun/issues/@1`),initialOptions:{..._,bundle:!0,entryPoints:_.entrypoints\?\?_.entryPoints\?\?[],minify:typeof _.minify===\"boolean\"\?_.minify:!1,minifyIdentifiers:_.minify===!0||_.minify\?.identifiers,minifyWhitespace:_.minify===!0||_.minify\?.whitespace,minifySyntax:_.minify===!0||_.minify\?.syntax,outbase:_.root,platform:_.target===\"bun\"\?\"node\":_.target},esbuild:{}});if(B&&@isPromise(B))if(@getPromiseInternalField(B,@promiseFieldFlags)&@promiseStateFulfilled)B=@getPromiseInternalField(B,@promiseFieldReactionsOrResult);else return B.@then(I);return I()})\n";
+const char* const s_bundlerPluginRunSetupFunctionCode = "(function (_,E){\"use strict\";var w=new Map,h=new Map;function q(D,F,G){if(!D||!@isObject(D))@throwTypeError('Expected an object with \"filter\" RegExp');if(!F||!@isCallable(F))@throwTypeError(\"callback must be a function\");var{filter:H,namespace:I=\"file\"}=D;if(!H)@throwTypeError('Expected an object with \"filter\" RegExp');if(!@isRegExpObject(H))@throwTypeError(\"filter must be a RegExp\");if(I&&typeof I!==\"string\")@throwTypeError(\"namespace must be a string\");if((I\?.length\?\?0)===0)I=\"file\";if(!/^([/@a-zA-Z0-9_\\\\-]+)$/.test(I))@throwTypeError(\"namespace can only contain $a-zA-Z0-9_\\\\-\");var J=G.@get(I);if(!J)G.@set(I,[[H,F]]);else @arrayPush(J,[H,F])}function z(D,F){q(D,F,w)}function A(D,F){q(D,F,h)}const B=()=>{var D=!1,F=!1;for(var[G,H]of w.entries())for(var[I]of H)this.addFilter(I,G,1),D=!0;for(var[G,H]of h.entries())for(var[I]of H)this.addFilter(I,G,0),F=!0;if(F){var J=this.onResolve;if(!J)this.onResolve=h;else for(var[G,H]of h.entries()){var K=J.@get(G);if(!K)J.@set(G,H);else J.@set(G,K.concat(H))}}if(D){var M=this.onLoad;if(!M)this.onLoad=w;else for(var[G,H]of w.entries()){var K=M.@get(G);if(!K)M.@set(G,H);else M.@set(G,K.concat(H))}}return D||F};var C=_({config:E,onDispose:()=>@throwTypeError(`@{@2} is not implemented yet. See https://github.com/oven-sh/bun/issues/@1`),onEnd:()=>@throwTypeError(`@{@2} is not implemented yet. See https://github.com/oven-sh/bun/issues/@1`),onLoad:z,onResolve:A,onStart:()=>@throwTypeError(`@{@2} is not implemented yet. See https://github.com/oven-sh/bun/issues/@1`),resolve:()=>@throwTypeError(`@{@2} is not implemented yet. See https://github.com/oven-sh/bun/issues/@1`),initialOptions:{...E,bundle:!0,entryPoints:E.entrypoints\?\?E.entryPoints\?\?[],minify:typeof E.minify===\"boolean\"\?E.minify:!1,minifyIdentifiers:E.minify===!0||E.minify\?.identifiers,minifyWhitespace:E.minify===!0||E.minify\?.whitespace,minifySyntax:E.minify===!0||E.minify\?.syntax,outbase:E.root,platform:E.target===\"bun\"\?\"node\":E.target},esbuild:{}});if(C&&@isPromise(C))if(@getPromiseInternalField(C,@promiseFieldFlags)&@promiseStateFulfilled)C=@getPromiseInternalField(C,@promiseFieldReactionsOrResult);else return C.@then(B);return B()})\n";
// runOnResolvePlugins
const JSC::ConstructAbility s_bundlerPluginRunOnResolvePluginsCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -24,7 +24,7 @@ const JSC::ConstructorKind s_bundlerPluginRunOnResolvePluginsCodeConstructorKind
const JSC::ImplementationVisibility s_bundlerPluginRunOnResolvePluginsCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_bundlerPluginRunOnResolvePluginsCodeLength = 1711;
static const JSC::Intrinsic s_bundlerPluginRunOnResolvePluginsCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_bundlerPluginRunOnResolvePluginsCode = "(function (C,E,F,b,G){\"use strict\";const H=[\"entry-point\",\"import-statement\",\"require-call\",\"dynamic-import\",\"require-resolve\",\"import-rule\",\"url-token\",\"internal\"][G];var g=(async(j,q,J,K)=>{var{onResolve:M,onLoad:A}=this,B=M.@get(q);if(!B)return this.onResolveAsync(b,null,null,null),null;for(let[O,Q]of B)if(O.test(j)){var _=Q({path:j,importer:J,namespace:q,kind:K});while(_&&@isPromise(_)&&(@getPromiseInternalField(_,@promiseFieldFlags)&@promiseStateMask)===@promiseStateFulfilled)_=@getPromiseInternalField(_,@promiseFieldReactionsOrResult);if(_&&@isPromise(_))_=await _;if(!_||!@isObject(_))continue;var{path:y,namespace:w=q,external:z}=_;if(typeof y!==\"string\"||typeof w!==\"string\")@throwTypeError(\"onResolve plugins must return an object with a string 'path' and string 'loader' field\");if(!y)continue;if(!w)w=q;if(typeof z!==\"boolean\"&&!@isUndefinedOrNull(z))@throwTypeError('onResolve plugins \"external\" field must be boolean or unspecified');if(!z){if(w===\"file\"){if(darwin!==\"win32\"){if(y[0]!==\"/\"||y.includes(\"..\"))@throwTypeError('onResolve plugin \"path\" must be absolute when the namespace is \"file\"')}}if(w===\"dataurl\"){if(!y.startsWith(\"data:\"))@throwTypeError('onResolve plugin \"path\" must start with \"data:\" when the namespace is \"dataurl\"')}if(w&&w!==\"file\"&&(!A||!A.@has(w)))@throwTypeError(`Expected onLoad plugin for namespace ${w} to exist`)}return this.onResolveAsync(b,y,w,z),null}return this.onResolveAsync(b,null,null,null),null})(C,E,F,H);while(g&&@isPromise(g)&&(@getPromiseInternalField(g,@promiseFieldFlags)&@promiseStateMask)===@promiseStateFulfilled)g=@getPromiseInternalField(g,@promiseFieldReactionsOrResult);if(g&&@isPromise(g))g.then(()=>{},(j)=>{this.addError(b,j,0)})})\n";
+const char* const s_bundlerPluginRunOnResolvePluginsCode = "(function (_,w,g,y,b){\"use strict\";const j=[\"entry-point\",\"import-statement\",\"require-call\",\"dynamic-import\",\"require-resolve\",\"import-rule\",\"url-token\",\"internal\"][b];var q=(async(z,A,B,C)=>{var{onResolve:E,onLoad:F}=this,G=E.@get(A);if(!G)return this.onResolveAsync(y,null,null,null),null;for(let[O,Q]of G)if(O.test(z)){var H=Q({path:z,importer:B,namespace:A,kind:C});while(H&&@isPromise(H)&&(@getPromiseInternalField(H,@promiseFieldFlags)&@promiseStateMask)===@promiseStateFulfilled)H=@getPromiseInternalField(H,@promiseFieldReactionsOrResult);if(H&&@isPromise(H))H=await H;if(!H||!@isObject(H))continue;var{path:J,namespace:K=A,external:M}=H;if(typeof J!==\"string\"||typeof K!==\"string\")@throwTypeError(\"onResolve plugins must return an object with a string 'path' and string 'loader' field\");if(!J)continue;if(!K)K=A;if(typeof M!==\"boolean\"&&!@isUndefinedOrNull(M))@throwTypeError('onResolve plugins \"external\" field must be boolean or unspecified');if(!M){if(K===\"file\"){if(darwin!==\"win32\"){if(J[0]!==\"/\"||J.includes(\"..\"))@throwTypeError('onResolve plugin \"path\" must be absolute when the namespace is \"file\"')}}if(K===\"dataurl\"){if(!J.startsWith(\"data:\"))@throwTypeError('onResolve plugin \"path\" must start with \"data:\" when the namespace is \"dataurl\"')}if(K&&K!==\"file\"&&(!F||!F.@has(K)))@throwTypeError(`Expected onLoad plugin for namespace ${K} to exist`)}return this.onResolveAsync(y,J,K,M),null}return this.onResolveAsync(y,null,null,null),null})(_,w,g,j);while(q&&@isPromise(q)&&(@getPromiseInternalField(q,@promiseFieldFlags)&@promiseStateMask)===@promiseStateFulfilled)q=@getPromiseInternalField(q,@promiseFieldReactionsOrResult);if(q&&@isPromise(q))q.then(()=>{},(z)=>{this.addError(y,z,0)})})\n";
// runOnLoadPlugins
const JSC::ConstructAbility s_bundlerPluginRunOnLoadPluginsCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -32,7 +32,7 @@ const JSC::ConstructorKind s_bundlerPluginRunOnLoadPluginsCodeConstructorKind =
const JSC::ImplementationVisibility s_bundlerPluginRunOnLoadPluginsCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_bundlerPluginRunOnLoadPluginsCodeLength = 1325;
static const JSC::Intrinsic s_bundlerPluginRunOnLoadPluginsCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_bundlerPluginRunOnLoadPluginsCode = "(function (w,F,G,H){\"use strict\";const J={jsx:0,js:1,ts:2,tsx:3,css:4,file:5,json:6,toml:7,wasm:8,napi:9,base64:10,dataurl:11,text:12},K=[\"jsx\",\"js\",\"ts\",\"tsx\",\"css\",\"file\",\"json\",\"toml\",\"wasm\",\"napi\",\"base64\",\"dataurl\",\"text\"][H];var g=(async(j,x,y,z)=>{var B=this.onLoad.@get(y);if(!B)return this.onLoadAsync(j,null,null),null;for(let[Q,T]of B)if(Q.test(x)){var b=T({path:x,namespace:y,loader:z});while(b&&@isPromise(b)&&(@getPromiseInternalField(b,@promiseFieldFlags)&@promiseStateMask)===@promiseStateFulfilled)b=@getPromiseInternalField(b,@promiseFieldReactionsOrResult);if(b&&@isPromise(b))b=await b;if(!b||!@isObject(b))continue;var{contents:q,loader:v=z}=b;if(typeof q!==\"string\"&&!@isTypedArrayView(q))@throwTypeError('onLoad plugins must return an object with \"contents\" as a string or Uint8Array');if(typeof v!==\"string\")@throwTypeError('onLoad plugins must return an object with \"loader\" as a string');const C=J[v];if(C===@undefined)@throwTypeError(`Loader ${v} is not supported.`);return this.onLoadAsync(j,q,C),null}return this.onLoadAsync(j,null,null),null})(w,F,G,K);while(g&&@isPromise(g)&&(@getPromiseInternalField(g,@promiseFieldFlags)&@promiseStateMask)===@promiseStateFulfilled)g=@getPromiseInternalField(g,@promiseFieldReactionsOrResult);if(g&&@isPromise(g))g.then(()=>{},(j)=>{this.addError(w,j,1)})})\n";
+const char* const s_bundlerPluginRunOnLoadPluginsCode = "(function (b,g,j,q){\"use strict\";const v={jsx:0,js:1,ts:2,tsx:3,css:4,file:5,json:6,toml:7,wasm:8,napi:9,base64:10,dataurl:11,text:12},w=[\"jsx\",\"js\",\"ts\",\"tsx\",\"css\",\"file\",\"json\",\"toml\",\"wasm\",\"napi\",\"base64\",\"dataurl\",\"text\"][q];var x=(async(y,z,B,C)=>{var F=this.onLoad.@get(B);if(!F)return this.onLoadAsync(y,null,null),null;for(let[K,Q]of F)if(K.test(z)){var G=Q({path:z,namespace:B,loader:C});while(G&&@isPromise(G)&&(@getPromiseInternalField(G,@promiseFieldFlags)&@promiseStateMask)===@promiseStateFulfilled)G=@getPromiseInternalField(G,@promiseFieldReactionsOrResult);if(G&&@isPromise(G))G=await G;if(!G||!@isObject(G))continue;var{contents:H,loader:J=C}=G;if(typeof H!==\"string\"&&!@isTypedArrayView(H))@throwTypeError('onLoad plugins must return an object with \"contents\" as a string or Uint8Array');if(typeof J!==\"string\")@throwTypeError('onLoad plugins must return an object with \"loader\" as a string');const T=v[J];if(T===@undefined)@throwTypeError(`Loader ${J} is not supported.`);return this.onLoadAsync(y,H,T),null}return this.onLoadAsync(y,null,null),null})(b,g,j,w);while(x&&@isPromise(x)&&(@getPromiseInternalField(x,@promiseFieldFlags)&@promiseStateMask)===@promiseStateFulfilled)x=@getPromiseInternalField(x,@promiseFieldReactionsOrResult);if(x&&@isPromise(x))x.then(()=>{},(y)=>{this.addError(b,y,1)})})\n";
#define DEFINE_BUILTIN_GENERATOR(codeName, functionName, overriddenName, argumentCount) \
JSC::FunctionExecutable* codeName##Generator(JSC::VM& vm) \
@@ -108,7 +108,7 @@ const JSC::ConstructorKind s_writableStreamInternalsCreateWritableStreamCodeCons
const JSC::ImplementationVisibility s_writableStreamInternalsCreateWritableStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsCreateWritableStreamCodeLength = 278;
static const JSC::Intrinsic s_writableStreamInternalsCreateWritableStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsCreateWritableStreamCode = "(function (p,N,_,f,u,j){\"use strict\";@assert(typeof u===\"number\"&&!@isNaN(u)&&u>=0);const d={};@initializeWritableStreamSlots(d,{});const q=new @WritableStreamDefaultController;return @setUpWritableStreamDefaultController(d,q,p,N,_,f,u,j),@createWritableStreamFromInternal(d)})\n";
+const char* const s_writableStreamInternalsCreateWritableStreamCode = "(function (u,N,d,f,p,_){\"use strict\";@assert(typeof p===\"number\"&&!@isNaN(p)&&p>=0);const j={};@initializeWritableStreamSlots(j,{});const q=new @WritableStreamDefaultController;return @setUpWritableStreamDefaultController(j,q,u,N,d,f,p,_),@createWritableStreamFromInternal(j)})\n";
// createInternalWritableStreamFromUnderlyingSink
const JSC::ConstructAbility s_writableStreamInternalsCreateInternalWritableStreamFromUnderlyingSinkCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -116,7 +116,7 @@ const JSC::ConstructorKind s_writableStreamInternalsCreateInternalWritableStream
const JSC::ImplementationVisibility s_writableStreamInternalsCreateInternalWritableStreamFromUnderlyingSinkCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsCreateInternalWritableStreamFromUnderlyingSinkCodeLength = 920;
static const JSC::Intrinsic s_writableStreamInternalsCreateInternalWritableStreamFromUnderlyingSinkCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsCreateInternalWritableStreamFromUnderlyingSinkCode = "(function (f,w){\"use strict\";const C={};if(f===@undefined)f={};if(w===@undefined)w={};if(!@isObject(f))@throwTypeError(\"WritableStream constructor takes an object as first argument\");if(\"type\"in f)@throwRangeError(\"Invalid type is specified\");const E=@extractSizeAlgorithm(w),_=@extractHighWaterMark(w,1),o={};if(\"start\"in f){if(o.start=f.start,typeof o.start!==\"function\")@throwTypeError(\"underlyingSink.start should be a function\")}if(\"write\"in f){if(o.write=f.write,typeof o.write!==\"function\")@throwTypeError(\"underlyingSink.write should be a function\")}if(\"close\"in f){if(o.close=f.close,typeof o.close!==\"function\")@throwTypeError(\"underlyingSink.close should be a function\")}if(\"abort\"in f){if(o.abort=f.abort,typeof o.abort!==\"function\")@throwTypeError(\"underlyingSink.abort should be a function\")}return @initializeWritableStreamSlots(C,f),@setUpWritableStreamDefaultControllerFromUnderlyingSink(C,f,o,_,E),C})\n";
+const char* const s_writableStreamInternalsCreateInternalWritableStreamFromUnderlyingSinkCode = "(function (f,o){\"use strict\";const w={};if(f===@undefined)f={};if(o===@undefined)o={};if(!@isObject(f))@throwTypeError(\"WritableStream constructor takes an object as first argument\");if(\"type\"in f)@throwRangeError(\"Invalid type is specified\");const C=@extractSizeAlgorithm(o),E=@extractHighWaterMark(o,1),_={};if(\"start\"in f){if(_.start=f.start,typeof _.start!==\"function\")@throwTypeError(\"underlyingSink.start should be a function\")}if(\"write\"in f){if(_.write=f.write,typeof _.write!==\"function\")@throwTypeError(\"underlyingSink.write should be a function\")}if(\"close\"in f){if(_.close=f.close,typeof _.close!==\"function\")@throwTypeError(\"underlyingSink.close should be a function\")}if(\"abort\"in f){if(_.abort=f.abort,typeof _.abort!==\"function\")@throwTypeError(\"underlyingSink.abort should be a function\")}return @initializeWritableStreamSlots(w,f),@setUpWritableStreamDefaultControllerFromUnderlyingSink(w,f,_,E,C),w})\n";
// initializeWritableStreamSlots
const JSC::ConstructAbility s_writableStreamInternalsInitializeWritableStreamSlotsCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -156,7 +156,7 @@ const JSC::ConstructorKind s_writableStreamInternalsSetUpWritableStreamDefaultWr
const JSC::ImplementationVisibility s_writableStreamInternalsSetUpWritableStreamDefaultWriterCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsSetUpWritableStreamDefaultWriterCodeLength = 887;
static const JSC::Intrinsic s_writableStreamInternalsSetUpWritableStreamDefaultWriterCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsSetUpWritableStreamDefaultWriterCode = "(function (g,n){\"use strict\";if(@isWritableStreamLocked(n))@throwTypeError(\"WritableStream is locked\");@putByIdDirectPrivate(g,\"stream\",n),@putByIdDirectPrivate(n,\"writer\",g);const v=@newPromiseCapability(@Promise),h=@newPromiseCapability(@Promise);@putByIdDirectPrivate(g,\"readyPromise\",v),@putByIdDirectPrivate(g,\"closedPromise\",h);const B=@getByIdDirectPrivate(n,\"state\");if(B===\"writable\"){if(@writableStreamCloseQueuedOrInFlight(n)||!@getByIdDirectPrivate(n,\"backpressure\"))v.@resolve.@call()}else if(B===\"erroring\")v.@reject.@call(@undefined,@getByIdDirectPrivate(n,\"storedError\")),@markPromiseAsHandled(v.@promise);else if(B===\"closed\")v.@resolve.@call(),h.@resolve.@call();else{@assert(B===\"errored\");const _=@getByIdDirectPrivate(n,\"storedError\");v.@reject.@call(@undefined,_),@markPromiseAsHandled(v.@promise),h.@reject.@call(@undefined,_),@markPromiseAsHandled(h.@promise)}})\n";
+const char* const s_writableStreamInternalsSetUpWritableStreamDefaultWriterCode = "(function (n,v){\"use strict\";if(@isWritableStreamLocked(v))@throwTypeError(\"WritableStream is locked\");@putByIdDirectPrivate(n,\"stream\",v),@putByIdDirectPrivate(v,\"writer\",n);const g=@newPromiseCapability(@Promise),h=@newPromiseCapability(@Promise);@putByIdDirectPrivate(n,\"readyPromise\",g),@putByIdDirectPrivate(n,\"closedPromise\",h);const B=@getByIdDirectPrivate(v,\"state\");if(B===\"writable\"){if(@writableStreamCloseQueuedOrInFlight(v)||!@getByIdDirectPrivate(v,\"backpressure\"))g.@resolve.@call()}else if(B===\"erroring\")g.@reject.@call(@undefined,@getByIdDirectPrivate(v,\"storedError\")),@markPromiseAsHandled(g.@promise);else if(B===\"closed\")g.@resolve.@call(),h.@resolve.@call();else{@assert(B===\"errored\");const _=@getByIdDirectPrivate(v,\"storedError\");g.@reject.@call(@undefined,_),@markPromiseAsHandled(g.@promise),h.@reject.@call(@undefined,_),@markPromiseAsHandled(h.@promise)}})\n";
// writableStreamAbort
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamAbortCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -164,7 +164,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamAbortCodeConst
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamAbortCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamAbortCodeLength = 501;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamAbortCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamAbortCode = "(function (h,B){\"use strict\";const c=@getByIdDirectPrivate(h,\"state\");if(c===\"closed\"||c===\"errored\")return @Promise.@resolve();const f=@getByIdDirectPrivate(h,\"pendingAbortRequest\");if(f!==@undefined)return f.promise.@promise;@assert(c===\"writable\"||c===\"erroring\");let _=!1;if(c===\"erroring\")_=!0,B=@undefined;const j=@newPromiseCapability(@Promise);if(@putByIdDirectPrivate(h,\"pendingAbortRequest\",{promise:j,reason:B,wasAlreadyErroring:_}),!_)@writableStreamStartErroring(h,B);return j.@promise})\n";
+const char* const s_writableStreamInternalsWritableStreamAbortCode = "(function (c,h){\"use strict\";const B=@getByIdDirectPrivate(c,\"state\");if(B===\"closed\"||B===\"errored\")return @Promise.@resolve();const f=@getByIdDirectPrivate(c,\"pendingAbortRequest\");if(f!==@undefined)return f.promise.@promise;@assert(B===\"writable\"||B===\"erroring\");let _=!1;if(B===\"erroring\")_=!0,h=@undefined;const j=@newPromiseCapability(@Promise);if(@putByIdDirectPrivate(c,\"pendingAbortRequest\",{promise:j,reason:h,wasAlreadyErroring:_}),!_)@writableStreamStartErroring(c,h);return j.@promise})\n";
// writableStreamClose
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamCloseCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -196,7 +196,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDealWithReject
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDealWithRejectionCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDealWithRejectionCodeLength = 189;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDealWithRejectionCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDealWithRejectionCode = "(function (i,c){\"use strict\";const n=@getByIdDirectPrivate(i,\"state\");if(n===\"writable\"){@writableStreamStartErroring(i,c);return}@assert(n===\"erroring\"),@writableStreamFinishErroring(i)})\n";
+const char* const s_writableStreamInternalsWritableStreamDealWithRejectionCode = "(function (i,n){\"use strict\";const c=@getByIdDirectPrivate(i,\"state\");if(c===\"writable\"){@writableStreamStartErroring(i,n);return}@assert(c===\"erroring\"),@writableStreamFinishErroring(i)})\n";
// writableStreamFinishErroring
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamFinishErroringCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -204,7 +204,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamFinishErroring
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamFinishErroringCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamFinishErroringCodeLength = 1058;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamFinishErroringCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamFinishErroringCode = "(function (i){\"use strict\";@assert(@getByIdDirectPrivate(i,\"state\")===\"erroring\"),@assert(!@writableStreamHasOperationMarkedInFlight(i)),@putByIdDirectPrivate(i,\"state\",\"errored\");const h=@getByIdDirectPrivate(i,\"controller\");@getByIdDirectPrivate(h,\"errorSteps\").@call();const A=@getByIdDirectPrivate(i,\"storedError\"),B=@getByIdDirectPrivate(i,\"writeRequests\");for(var p=B.shift();p;p=B.shift())p.@reject.@call(@undefined,A);@putByIdDirectPrivate(i,\"writeRequests\",@createFIFO());const _=@getByIdDirectPrivate(i,\"pendingAbortRequest\");if(_===@undefined){@writableStreamRejectCloseAndClosedPromiseIfNeeded(i);return}if(@putByIdDirectPrivate(i,\"pendingAbortRequest\",@undefined),_.wasAlreadyErroring){_.promise.@reject.@call(@undefined,A),@writableStreamRejectCloseAndClosedPromiseIfNeeded(i);return}@getByIdDirectPrivate(h,\"abortSteps\").@call(@undefined,_.reason).@then(()=>{_.promise.@resolve.@call(),@writableStreamRejectCloseAndClosedPromiseIfNeeded(i)},(I)=>{_.promise.@reject.@call(@undefined,I),@writableStreamRejectCloseAndClosedPromiseIfNeeded(i)})})\n";
+const char* const s_writableStreamInternalsWritableStreamFinishErroringCode = "(function (i){\"use strict\";@assert(@getByIdDirectPrivate(i,\"state\")===\"erroring\"),@assert(!@writableStreamHasOperationMarkedInFlight(i)),@putByIdDirectPrivate(i,\"state\",\"errored\");const _=@getByIdDirectPrivate(i,\"controller\");@getByIdDirectPrivate(_,\"errorSteps\").@call();const p=@getByIdDirectPrivate(i,\"storedError\"),h=@getByIdDirectPrivate(i,\"writeRequests\");for(var A=h.shift();A;A=h.shift())A.@reject.@call(@undefined,p);@putByIdDirectPrivate(i,\"writeRequests\",@createFIFO());const B=@getByIdDirectPrivate(i,\"pendingAbortRequest\");if(B===@undefined){@writableStreamRejectCloseAndClosedPromiseIfNeeded(i);return}if(@putByIdDirectPrivate(i,\"pendingAbortRequest\",@undefined),B.wasAlreadyErroring){B.promise.@reject.@call(@undefined,p),@writableStreamRejectCloseAndClosedPromiseIfNeeded(i);return}@getByIdDirectPrivate(_,\"abortSteps\").@call(@undefined,B.reason).@then(()=>{B.promise.@resolve.@call(),@writableStreamRejectCloseAndClosedPromiseIfNeeded(i)},(I)=>{B.promise.@reject.@call(@undefined,I),@writableStreamRejectCloseAndClosedPromiseIfNeeded(i)})})\n";
// writableStreamFinishInFlightClose
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamFinishInFlightCloseCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -212,7 +212,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamFinishInFlight
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamFinishInFlightCloseCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamFinishInFlightCloseCodeLength = 751;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamFinishInFlightCloseCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamFinishInFlightCloseCode = "(function (d){\"use strict\";@getByIdDirectPrivate(d,\"inFlightCloseRequest\").@resolve.@call(),@putByIdDirectPrivate(d,\"inFlightCloseRequest\",@undefined);const i=@getByIdDirectPrivate(d,\"state\");if(@assert(i===\"writable\"||i===\"erroring\"),i===\"erroring\"){@putByIdDirectPrivate(d,\"storedError\",@undefined);const _=@getByIdDirectPrivate(d,\"pendingAbortRequest\");if(_!==@undefined)_.promise.@resolve.@call(),@putByIdDirectPrivate(d,\"pendingAbortRequest\",@undefined)}@putByIdDirectPrivate(d,\"state\",\"closed\");const n=@getByIdDirectPrivate(d,\"writer\");if(n!==@undefined)@getByIdDirectPrivate(n,\"closedPromise\").@resolve.@call();@assert(@getByIdDirectPrivate(d,\"pendingAbortRequest\")===@undefined),@assert(@getByIdDirectPrivate(d,\"storedError\")===@undefined)})\n";
+const char* const s_writableStreamInternalsWritableStreamFinishInFlightCloseCode = "(function (d){\"use strict\";@getByIdDirectPrivate(d,\"inFlightCloseRequest\").@resolve.@call(),@putByIdDirectPrivate(d,\"inFlightCloseRequest\",@undefined);const n=@getByIdDirectPrivate(d,\"state\");if(@assert(n===\"writable\"||n===\"erroring\"),n===\"erroring\"){@putByIdDirectPrivate(d,\"storedError\",@undefined);const c=@getByIdDirectPrivate(d,\"pendingAbortRequest\");if(c!==@undefined)c.promise.@resolve.@call(),@putByIdDirectPrivate(d,\"pendingAbortRequest\",@undefined)}@putByIdDirectPrivate(d,\"state\",\"closed\");const _=@getByIdDirectPrivate(d,\"writer\");if(_!==@undefined)@getByIdDirectPrivate(_,\"closedPromise\").@resolve.@call();@assert(@getByIdDirectPrivate(d,\"pendingAbortRequest\")===@undefined),@assert(@getByIdDirectPrivate(d,\"storedError\")===@undefined)})\n";
// writableStreamFinishInFlightCloseWithError
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamFinishInFlightCloseWithErrorCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -292,7 +292,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultWriterA
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultWriterAbortCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultWriterAbortCodeLength = 130;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultWriterAbortCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultWriterAbortCode = "(function (d,f){\"use strict\";const c=@getByIdDirectPrivate(d,\"stream\");return @assert(c!==@undefined),@writableStreamAbort(c,f)})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultWriterAbortCode = "(function (c,d){\"use strict\";const f=@getByIdDirectPrivate(c,\"stream\");return @assert(f!==@undefined),@writableStreamAbort(f,d)})\n";
// writableStreamDefaultWriterClose
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultWriterCloseCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -300,7 +300,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultWriterC
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultWriterCloseCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultWriterCloseCodeLength = 126;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultWriterCloseCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultWriterCloseCode = "(function (c){\"use strict\";const _=@getByIdDirectPrivate(c,\"stream\");return @assert(_!==@undefined),@writableStreamClose(_)})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultWriterCloseCode = "(function (_){\"use strict\";const c=@getByIdDirectPrivate(_,\"stream\");return @assert(c!==@undefined),@writableStreamClose(c)})\n";
// writableStreamDefaultWriterCloseWithErrorPropagation
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultWriterCloseWithErrorPropagationCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -308,7 +308,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultWriterC
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultWriterCloseWithErrorPropagationCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultWriterCloseWithErrorPropagationCodeLength = 385;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultWriterCloseWithErrorPropagationCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultWriterCloseWithErrorPropagationCode = "(function (u){\"use strict\";const c=@getByIdDirectPrivate(u,\"stream\");@assert(c!==@undefined);const l=@getByIdDirectPrivate(c,\"state\");if(@writableStreamCloseQueuedOrInFlight(c)||l===\"closed\")return @Promise.@resolve();if(l===\"errored\")return @Promise.@reject(@getByIdDirectPrivate(c,\"storedError\"));return @assert(l===\"writable\"||l===\"erroring\"),@writableStreamDefaultWriterClose(u)})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultWriterCloseWithErrorPropagationCode = "(function (c){\"use strict\";const l=@getByIdDirectPrivate(c,\"stream\");@assert(l!==@undefined);const u=@getByIdDirectPrivate(l,\"state\");if(@writableStreamCloseQueuedOrInFlight(l)||u===\"closed\")return @Promise.@resolve();if(u===\"errored\")return @Promise.@reject(@getByIdDirectPrivate(l,\"storedError\"));return @assert(u===\"writable\"||u===\"erroring\"),@writableStreamDefaultWriterClose(c)})\n";
// writableStreamDefaultWriterEnsureClosedPromiseRejected
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultWriterEnsureClosedPromiseRejectedCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -316,7 +316,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultWriterE
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultWriterEnsureClosedPromiseRejectedCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultWriterEnsureClosedPromiseRejectedCodeLength = 329;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultWriterEnsureClosedPromiseRejectedCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultWriterEnsureClosedPromiseRejectedCode = "(function (h,u){\"use strict\";let _=@getByIdDirectPrivate(h,\"closedPromise\"),n=_.@promise;if((@getPromiseInternalField(n,@promiseFieldFlags)&@promiseStateMask)!==@promiseStatePending)_=@newPromiseCapability(@Promise),n=_.@promise,@putByIdDirectPrivate(h,\"closedPromise\",_);_.@reject.@call(@undefined,u),@markPromiseAsHandled(n)})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultWriterEnsureClosedPromiseRejectedCode = "(function (_,n){\"use strict\";let h=@getByIdDirectPrivate(_,\"closedPromise\"),u=h.@promise;if((@getPromiseInternalField(u,@promiseFieldFlags)&@promiseStateMask)!==@promiseStatePending)h=@newPromiseCapability(@Promise),u=h.@promise,@putByIdDirectPrivate(_,\"closedPromise\",h);h.@reject.@call(@undefined,n),@markPromiseAsHandled(u)})\n";
// writableStreamDefaultWriterEnsureReadyPromiseRejected
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultWriterEnsureReadyPromiseRejectedCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -324,7 +324,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultWriterE
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultWriterEnsureReadyPromiseRejectedCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultWriterEnsureReadyPromiseRejectedCodeLength = 327;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultWriterEnsureReadyPromiseRejectedCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultWriterEnsureReadyPromiseRejectedCode = "(function (h,n){\"use strict\";let c=@getByIdDirectPrivate(h,\"readyPromise\"),g=c.@promise;if((@getPromiseInternalField(g,@promiseFieldFlags)&@promiseStateMask)!==@promiseStatePending)c=@newPromiseCapability(@Promise),g=c.@promise,@putByIdDirectPrivate(h,\"readyPromise\",c);c.@reject.@call(@undefined,n),@markPromiseAsHandled(g)})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultWriterEnsureReadyPromiseRejectedCode = "(function (c,g){\"use strict\";let h=@getByIdDirectPrivate(c,\"readyPromise\"),n=h.@promise;if((@getPromiseInternalField(n,@promiseFieldFlags)&@promiseStateMask)!==@promiseStatePending)h=@newPromiseCapability(@Promise),n=h.@promise,@putByIdDirectPrivate(c,\"readyPromise\",h);h.@reject.@call(@undefined,g),@markPromiseAsHandled(n)})\n";
// writableStreamDefaultWriterGetDesiredSize
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultWriterGetDesiredSizeCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -332,7 +332,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultWriterG
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultWriterGetDesiredSizeCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultWriterGetDesiredSizeCodeLength = 299;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultWriterGetDesiredSizeCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultWriterGetDesiredSizeCode = "(function (_){\"use strict\";const c=@getByIdDirectPrivate(_,\"stream\");@assert(c!==@undefined);const l=@getByIdDirectPrivate(c,\"state\");if(l===\"errored\"||l===\"erroring\")return null;if(l===\"closed\")return 0;return @writableStreamDefaultControllerGetDesiredSize(@getByIdDirectPrivate(c,\"controller\"))})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultWriterGetDesiredSizeCode = "(function (c){\"use strict\";const l=@getByIdDirectPrivate(c,\"stream\");@assert(l!==@undefined);const _=@getByIdDirectPrivate(l,\"state\");if(_===\"errored\"||_===\"erroring\")return null;if(_===\"closed\")return 0;return @writableStreamDefaultControllerGetDesiredSize(@getByIdDirectPrivate(l,\"controller\"))})\n";
// writableStreamDefaultWriterRelease
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultWriterReleaseCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -340,7 +340,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultWriterR
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultWriterReleaseCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultWriterReleaseCodeLength = 414;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultWriterReleaseCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultWriterReleaseCode = "(function (_){\"use strict\";const c=@getByIdDirectPrivate(_,\"stream\");@assert(c!==@undefined),@assert(@getByIdDirectPrivate(c,\"writer\")===_);const h=@makeTypeError(\"writableStreamDefaultWriterRelease\");@writableStreamDefaultWriterEnsureReadyPromiseRejected(_,h),@writableStreamDefaultWriterEnsureClosedPromiseRejected(_,h),@putByIdDirectPrivate(c,\"writer\",@undefined),@putByIdDirectPrivate(_,\"stream\",@undefined)})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultWriterReleaseCode = "(function (_){\"use strict\";const h=@getByIdDirectPrivate(_,\"stream\");@assert(h!==@undefined),@assert(@getByIdDirectPrivate(h,\"writer\")===_);const c=@makeTypeError(\"writableStreamDefaultWriterRelease\");@writableStreamDefaultWriterEnsureReadyPromiseRejected(_,c),@writableStreamDefaultWriterEnsureClosedPromiseRejected(_,c),@putByIdDirectPrivate(h,\"writer\",@undefined),@putByIdDirectPrivate(_,\"stream\",@undefined)})\n";
// writableStreamDefaultWriterWrite
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultWriterWriteCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -348,7 +348,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultWriterW
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultWriterWriteCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultWriterWriteCodeLength = 919;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultWriterWriteCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultWriterWriteCode = "(function (W,_){\"use strict\";const d=@getByIdDirectPrivate(W,\"stream\");@assert(d!==@undefined);const P=@getByIdDirectPrivate(d,\"controller\");@assert(P!==@undefined);const b=@writableStreamDefaultControllerGetChunkSize(P,_);if(d!==@getByIdDirectPrivate(W,\"stream\"))return @Promise.@reject(@makeTypeError(\"writer is not stream's writer\"));const g=@getByIdDirectPrivate(d,\"state\");if(g===\"errored\")return @Promise.@reject(@getByIdDirectPrivate(d,\"storedError\"));if(@writableStreamCloseQueuedOrInFlight(d)||g===\"closed\")return @Promise.@reject(@makeTypeError(\"stream is closing or closed\"));if(@writableStreamCloseQueuedOrInFlight(d)||g===\"closed\")return @Promise.@reject(@makeTypeError(\"stream is closing or closed\"));if(g===\"erroring\")return @Promise.@reject(@getByIdDirectPrivate(d,\"storedError\"));@assert(g===\"writable\");const f=@writableStreamAddWriteRequest(d);return @writableStreamDefaultControllerWrite(P,_,b),f})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultWriterWriteCode = "(function (d,g){\"use strict\";const P=@getByIdDirectPrivate(d,\"stream\");@assert(P!==@undefined);const W=@getByIdDirectPrivate(P,\"controller\");@assert(W!==@undefined);const _=@writableStreamDefaultControllerGetChunkSize(W,g);if(P!==@getByIdDirectPrivate(d,\"stream\"))return @Promise.@reject(@makeTypeError(\"writer is not stream's writer\"));const b=@getByIdDirectPrivate(P,\"state\");if(b===\"errored\")return @Promise.@reject(@getByIdDirectPrivate(P,\"storedError\"));if(@writableStreamCloseQueuedOrInFlight(P)||b===\"closed\")return @Promise.@reject(@makeTypeError(\"stream is closing or closed\"));if(@writableStreamCloseQueuedOrInFlight(P)||b===\"closed\")return @Promise.@reject(@makeTypeError(\"stream is closing or closed\"));if(b===\"erroring\")return @Promise.@reject(@getByIdDirectPrivate(P,\"storedError\"));@assert(b===\"writable\");const f=@writableStreamAddWriteRequest(P);return @writableStreamDefaultControllerWrite(W,g,_),f})\n";
// setUpWritableStreamDefaultController
const JSC::ConstructAbility s_writableStreamInternalsSetUpWritableStreamDefaultControllerCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -356,7 +356,7 @@ const JSC::ConstructorKind s_writableStreamInternalsSetUpWritableStreamDefaultCo
const JSC::ImplementationVisibility s_writableStreamInternalsSetUpWritableStreamDefaultControllerCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsSetUpWritableStreamDefaultControllerCodeLength = 700;
static const JSC::Intrinsic s_writableStreamInternalsSetUpWritableStreamDefaultControllerCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsSetUpWritableStreamDefaultControllerCode = "(function (B,_,v,P,U,d,f,j){\"use strict\";@assert(@isWritableStream(B)),@assert(@getByIdDirectPrivate(B,\"controller\")===@undefined),@putByIdDirectPrivate(_,\"stream\",B),@putByIdDirectPrivate(B,\"controller\",_),@resetQueue(@getByIdDirectPrivate(_,\"queue\")),@putByIdDirectPrivate(_,\"started\",-1),@putByIdDirectPrivate(_,\"startAlgorithm\",v),@putByIdDirectPrivate(_,\"strategySizeAlgorithm\",j),@putByIdDirectPrivate(_,\"strategyHWM\",f),@putByIdDirectPrivate(_,\"writeAlgorithm\",P),@putByIdDirectPrivate(_,\"closeAlgorithm\",U),@putByIdDirectPrivate(_,\"abortAlgorithm\",d);const q=@writableStreamDefaultControllerGetBackpressure(_);@writableStreamUpdateBackpressure(B,q),@writableStreamDefaultControllerStart(_)})\n";
+const char* const s_writableStreamInternalsSetUpWritableStreamDefaultControllerCode = "(function (_,B,d,v,f,P,j,U){\"use strict\";@assert(@isWritableStream(_)),@assert(@getByIdDirectPrivate(_,\"controller\")===@undefined),@putByIdDirectPrivate(B,\"stream\",_),@putByIdDirectPrivate(_,\"controller\",B),@resetQueue(@getByIdDirectPrivate(B,\"queue\")),@putByIdDirectPrivate(B,\"started\",-1),@putByIdDirectPrivate(B,\"startAlgorithm\",d),@putByIdDirectPrivate(B,\"strategySizeAlgorithm\",U),@putByIdDirectPrivate(B,\"strategyHWM\",j),@putByIdDirectPrivate(B,\"writeAlgorithm\",v),@putByIdDirectPrivate(B,\"closeAlgorithm\",f),@putByIdDirectPrivate(B,\"abortAlgorithm\",P);const q=@writableStreamDefaultControllerGetBackpressure(B);@writableStreamUpdateBackpressure(_,q),@writableStreamDefaultControllerStart(B)})\n";
// writableStreamDefaultControllerStart
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultControllerStartCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -364,7 +364,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultControl
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultControllerStartCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultControllerStartCodeLength = 647;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultControllerStartCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultControllerStartCode = "(function (i){\"use strict\";if(@getByIdDirectPrivate(i,\"started\")!==-1)return;@putByIdDirectPrivate(i,\"started\",0);const p=@getByIdDirectPrivate(i,\"startAlgorithm\");@putByIdDirectPrivate(i,\"startAlgorithm\",@undefined);const d=@getByIdDirectPrivate(i,\"stream\");return @Promise.@resolve(p.@call()).@then(()=>{const _=@getByIdDirectPrivate(d,\"state\");@assert(_===\"writable\"||_===\"erroring\"),@putByIdDirectPrivate(i,\"started\",1),@writableStreamDefaultControllerAdvanceQueueIfNeeded(i)},(_)=>{const u=@getByIdDirectPrivate(d,\"state\");@assert(u===\"writable\"||u===\"erroring\"),@putByIdDirectPrivate(i,\"started\",1),@writableStreamDealWithRejection(d,_)})})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultControllerStartCode = "(function (i){\"use strict\";if(@getByIdDirectPrivate(i,\"started\")!==-1)return;@putByIdDirectPrivate(i,\"started\",0);const _=@getByIdDirectPrivate(i,\"startAlgorithm\");@putByIdDirectPrivate(i,\"startAlgorithm\",@undefined);const d=@getByIdDirectPrivate(i,\"stream\");return @Promise.@resolve(_.@call()).@then(()=>{const u=@getByIdDirectPrivate(d,\"state\");@assert(u===\"writable\"||u===\"erroring\"),@putByIdDirectPrivate(i,\"started\",1),@writableStreamDefaultControllerAdvanceQueueIfNeeded(i)},(u)=>{const p=@getByIdDirectPrivate(d,\"state\");@assert(p===\"writable\"||p===\"erroring\"),@putByIdDirectPrivate(i,\"started\",1),@writableStreamDealWithRejection(d,u)})})\n";
// setUpWritableStreamDefaultControllerFromUnderlyingSink
const JSC::ConstructAbility s_writableStreamInternalsSetUpWritableStreamDefaultControllerFromUnderlyingSinkCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -372,7 +372,7 @@ const JSC::ConstructorKind s_writableStreamInternalsSetUpWritableStreamDefaultCo
const JSC::ImplementationVisibility s_writableStreamInternalsSetUpWritableStreamDefaultControllerFromUnderlyingSinkCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsSetUpWritableStreamDefaultControllerFromUnderlyingSinkCodeLength = 561;
static const JSC::Intrinsic s_writableStreamInternalsSetUpWritableStreamDefaultControllerFromUnderlyingSinkCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsSetUpWritableStreamDefaultControllerFromUnderlyingSinkCode = "(function (C,O,_,E,F){\"use strict\";const f=new @WritableStreamDefaultController;let q=()=>{},v=()=>{return @Promise.@resolve()},x=()=>{return @Promise.@resolve()},B=()=>{return @Promise.@resolve()};if(\"start\"in _){const p=_.start;q=()=>@promiseInvokeOrNoopMethodNoCatch(O,p,[f])}if(\"write\"in _){const p=_.write;v=(j)=>@promiseInvokeOrNoopMethod(O,p,[j,f])}if(\"close\"in _){const p=_.close;x=()=>@promiseInvokeOrNoopMethod(O,p,[])}if(\"abort\"in _){const p=_.abort;B=(j)=>@promiseInvokeOrNoopMethod(O,p,[j])}@setUpWritableStreamDefaultController(C,f,q,v,x,B,E,F)})\n";
+const char* const s_writableStreamInternalsSetUpWritableStreamDefaultControllerFromUnderlyingSinkCode = "(function (_,j,v,p,f){\"use strict\";const q=new @WritableStreamDefaultController;let x=()=>{},B=()=>{return @Promise.@resolve()},C=()=>{return @Promise.@resolve()},O=()=>{return @Promise.@resolve()};if(\"start\"in v){const E=v.start;x=()=>@promiseInvokeOrNoopMethodNoCatch(j,E,[q])}if(\"write\"in v){const E=v.write;B=(F)=>@promiseInvokeOrNoopMethod(j,E,[F,q])}if(\"close\"in v){const E=v.close;C=()=>@promiseInvokeOrNoopMethod(j,E,[])}if(\"abort\"in v){const E=v.abort;O=(F)=>@promiseInvokeOrNoopMethod(j,E,[F])}@setUpWritableStreamDefaultController(_,q,x,B,C,O,p,f)})\n";
// writableStreamDefaultControllerAdvanceQueueIfNeeded
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultControllerAdvanceQueueIfNeededCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -412,7 +412,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultControl
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultControllerErrorCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultControllerErrorCodeLength = 237;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultControllerErrorCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultControllerErrorCode = "(function (h,b){\"use strict\";const i=@getByIdDirectPrivate(h,\"stream\");@assert(i!==@undefined),@assert(@getByIdDirectPrivate(i,\"state\")===\"writable\"),@writableStreamDefaultControllerClearAlgorithms(h),@writableStreamStartErroring(i,b)})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultControllerErrorCode = "(function (i,h){\"use strict\";const b=@getByIdDirectPrivate(i,\"stream\");@assert(b!==@undefined),@assert(@getByIdDirectPrivate(b,\"state\")===\"writable\"),@writableStreamDefaultControllerClearAlgorithms(i),@writableStreamStartErroring(b,h)})\n";
// writableStreamDefaultControllerErrorIfNeeded
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultControllerErrorIfNeededCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -460,7 +460,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultControl
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultControllerProcessWriteCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultControllerProcessWriteCodeLength = 734;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultControllerProcessWriteCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultControllerProcessWriteCode = "(function (d,v){\"use strict\";const i=@getByIdDirectPrivate(d,\"stream\");@writableStreamMarkFirstWriteRequestInFlight(i),@getByIdDirectPrivate(d,\"writeAlgorithm\").@call(@undefined,v).@then(()=>{@writableStreamFinishInFlightWrite(i);const _=@getByIdDirectPrivate(i,\"state\");if(@assert(_===\"writable\"||_===\"erroring\"),@dequeueValue(@getByIdDirectPrivate(d,\"queue\")),!@writableStreamCloseQueuedOrInFlight(i)&&_===\"writable\"){const q=@writableStreamDefaultControllerGetBackpressure(d);@writableStreamUpdateBackpressure(i,q)}@writableStreamDefaultControllerAdvanceQueueIfNeeded(d)},(_)=>{if(@getByIdDirectPrivate(i,\"state\")===\"writable\")@writableStreamDefaultControllerClearAlgorithms(d);@writableStreamFinishInFlightWriteWithError(i,_)})})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultControllerProcessWriteCode = "(function (i,d){\"use strict\";const _=@getByIdDirectPrivate(i,\"stream\");@writableStreamMarkFirstWriteRequestInFlight(_),@getByIdDirectPrivate(i,\"writeAlgorithm\").@call(@undefined,d).@then(()=>{@writableStreamFinishInFlightWrite(_);const v=@getByIdDirectPrivate(_,\"state\");if(@assert(v===\"writable\"||v===\"erroring\"),@dequeueValue(@getByIdDirectPrivate(i,\"queue\")),!@writableStreamCloseQueuedOrInFlight(_)&&v===\"writable\"){const M=@writableStreamDefaultControllerGetBackpressure(i);@writableStreamUpdateBackpressure(_,M)}@writableStreamDefaultControllerAdvanceQueueIfNeeded(i)},(v)=>{if(@getByIdDirectPrivate(_,\"state\")===\"writable\")@writableStreamDefaultControllerClearAlgorithms(i);@writableStreamFinishInFlightWriteWithError(_,v)})})\n";
// writableStreamDefaultControllerWrite
const JSC::ConstructAbility s_writableStreamInternalsWritableStreamDefaultControllerWriteCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -468,7 +468,7 @@ const JSC::ConstructorKind s_writableStreamInternalsWritableStreamDefaultControl
const JSC::ImplementationVisibility s_writableStreamInternalsWritableStreamDefaultControllerWriteCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamInternalsWritableStreamDefaultControllerWriteCodeLength = 450;
static const JSC::Intrinsic s_writableStreamInternalsWritableStreamDefaultControllerWriteCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamInternalsWritableStreamDefaultControllerWriteCode = "(function (d,B,D){\"use strict\";try{@enqueueValueWithSize(@getByIdDirectPrivate(d,\"queue\"),B,D);const y=@getByIdDirectPrivate(d,\"stream\"),I=@getByIdDirectPrivate(y,\"state\");if(!@writableStreamCloseQueuedOrInFlight(y)&&I===\"writable\"){const _=@writableStreamDefaultControllerGetBackpressure(d);@writableStreamUpdateBackpressure(y,_)}@writableStreamDefaultControllerAdvanceQueueIfNeeded(d)}catch(y){@writableStreamDefaultControllerErrorIfNeeded(d,y)}})\n";
+const char* const s_writableStreamInternalsWritableStreamDefaultControllerWriteCode = "(function (y,B,D){\"use strict\";try{@enqueueValueWithSize(@getByIdDirectPrivate(y,\"queue\"),B,D);const I=@getByIdDirectPrivate(y,\"stream\"),_=@getByIdDirectPrivate(I,\"state\");if(!@writableStreamCloseQueuedOrInFlight(I)&&_===\"writable\"){const d=@writableStreamDefaultControllerGetBackpressure(y);@writableStreamUpdateBackpressure(I,d)}@writableStreamDefaultControllerAdvanceQueueIfNeeded(y)}catch(I){@writableStreamDefaultControllerErrorIfNeeded(y,I)}})\n";
#define DEFINE_BUILTIN_GENERATOR(codeName, functionName, overriddenName, argumentCount) \
JSC::FunctionExecutable* codeName##Generator(JSC::VM& vm) \
@@ -502,7 +502,7 @@ const JSC::ConstructorKind s_transformStreamInternalsCreateTransformStreamCodeCo
const JSC::ImplementationVisibility s_transformStreamInternalsCreateTransformStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsCreateTransformStreamCodeLength = 513;
static const JSC::Intrinsic s_transformStreamInternalsCreateTransformStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsCreateTransformStreamCode = "(function (D,E,F,_,j,c,q){\"use strict\";if(_===@undefined)_=1;if(j===@undefined)j=()=>1;if(c===@undefined)c=0;if(q===@undefined)q=()=>1;@assert(_>=0),@assert(c>=0);const B={};@putByIdDirectPrivate(B,\"TransformStream\",!0);const v=new @TransformStream(B),x=@newPromiseCapability(@Promise);@initializeTransformStream(v,x.@promise,_,j,c,q);const G=new @TransformStreamDefaultController;return @setUpTransformStreamDefaultController(v,G,E,F),D().@then(()=>{x.@resolve.@call()},(I)=>{x.@reject.@call(@undefined,I)}),v})\n";
+const char* const s_transformStreamInternalsCreateTransformStreamCode = "(function (j,q,v,x,B,D,E){\"use strict\";if(x===@undefined)x=1;if(B===@undefined)B=()=>1;if(D===@undefined)D=0;if(E===@undefined)E=()=>1;@assert(x>=0),@assert(D>=0);const F={};@putByIdDirectPrivate(F,\"TransformStream\",!0);const G=new @TransformStream(F),I=@newPromiseCapability(@Promise);@initializeTransformStream(G,I.@promise,x,B,D,E);const _=new @TransformStreamDefaultController;return @setUpTransformStreamDefaultController(G,_,q,v),j().@then(()=>{I.@resolve.@call()},(c)=>{I.@reject.@call(@undefined,c)}),G})\n";
// initializeTransformStream
const JSC::ConstructAbility s_transformStreamInternalsInitializeTransformStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -510,7 +510,7 @@ const JSC::ConstructorKind s_transformStreamInternalsInitializeTransformStreamCo
const JSC::ImplementationVisibility s_transformStreamInternalsInitializeTransformStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsInitializeTransformStreamCodeLength = 1015;
static const JSC::Intrinsic s_transformStreamInternalsInitializeTransformStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsInitializeTransformStreamCode = "(function (f,x,C,D,E,F){\"use strict\";const q=()=>{return x},G=(B)=>{return @transformStreamDefaultSinkWriteAlgorithm(f,B)},I=(B)=>{return @transformStreamDefaultSinkAbortAlgorithm(f,B)},J=()=>{return @transformStreamDefaultSinkCloseAlgorithm(f)},v=@createWritableStream(q,G,J,I,C,D),K=()=>{return @transformStreamDefaultSourcePullAlgorithm(f)},L=(B)=>{return @transformStreamErrorWritableAndUnblockWrite(f,B),@Promise.@resolve()},T={};@putByIdDirectPrivate(T,\"start\",q),@putByIdDirectPrivate(T,\"pull\",K),@putByIdDirectPrivate(T,\"cancel\",L);const j={};@putByIdDirectPrivate(j,\"size\",F),@putByIdDirectPrivate(j,\"highWaterMark\",E);const N=new @ReadableStream(T,j);@putByIdDirectPrivate(f,\"writable\",v),@putByIdDirectPrivate(f,\"internalWritable\",@getInternalWritableStream(v)),@putByIdDirectPrivate(f,\"readable\",N),@putByIdDirectPrivate(f,\"backpressure\",@undefined),@putByIdDirectPrivate(f,\"backpressureChangePromise\",@undefined),@transformStreamSetBackpressure(f,!0),@putByIdDirectPrivate(f,\"controller\",@undefined)})\n";
+const char* const s_transformStreamInternalsInitializeTransformStreamCode = "(function (f,G,B,T,C,F){\"use strict\";const I=()=>{return G},J=(x)=>{return @transformStreamDefaultSinkWriteAlgorithm(f,x)},K=(x)=>{return @transformStreamDefaultSinkAbortAlgorithm(f,x)},j=()=>{return @transformStreamDefaultSinkCloseAlgorithm(f)},L=@createWritableStream(I,J,j,K,B,T),N=()=>{return @transformStreamDefaultSourcePullAlgorithm(f)},q=(x)=>{return @transformStreamErrorWritableAndUnblockWrite(f,x),@Promise.@resolve()},D={};@putByIdDirectPrivate(D,\"start\",I),@putByIdDirectPrivate(D,\"pull\",N),@putByIdDirectPrivate(D,\"cancel\",q);const E={};@putByIdDirectPrivate(E,\"size\",F),@putByIdDirectPrivate(E,\"highWaterMark\",C);const v=new @ReadableStream(D,E);@putByIdDirectPrivate(f,\"writable\",L),@putByIdDirectPrivate(f,\"internalWritable\",@getInternalWritableStream(L)),@putByIdDirectPrivate(f,\"readable\",v),@putByIdDirectPrivate(f,\"backpressure\",@undefined),@putByIdDirectPrivate(f,\"backpressureChangePromise\",@undefined),@transformStreamSetBackpressure(f,!0),@putByIdDirectPrivate(f,\"controller\",@undefined)})\n";
// transformStreamError
const JSC::ConstructAbility s_transformStreamInternalsTransformStreamErrorCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -526,7 +526,7 @@ const JSC::ConstructorKind s_transformStreamInternalsTransformStreamErrorWritabl
const JSC::ImplementationVisibility s_transformStreamInternalsTransformStreamErrorWritableAndUnblockWriteCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsTransformStreamErrorWritableAndUnblockWriteCodeLength = 339;
static const JSC::Intrinsic s_transformStreamInternalsTransformStreamErrorWritableAndUnblockWriteCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsTransformStreamErrorWritableAndUnblockWriteCode = "(function (_,n){\"use strict\";@transformStreamDefaultControllerClearAlgorithms(@getByIdDirectPrivate(_,\"controller\"));const o=@getByIdDirectPrivate(_,\"internalWritable\");if(@writableStreamDefaultControllerErrorIfNeeded(@getByIdDirectPrivate(o,\"controller\"),n),@getByIdDirectPrivate(_,\"backpressure\"))@transformStreamSetBackpressure(_,!1)})\n";
+const char* const s_transformStreamInternalsTransformStreamErrorWritableAndUnblockWriteCode = "(function (_,o){\"use strict\";@transformStreamDefaultControllerClearAlgorithms(@getByIdDirectPrivate(_,\"controller\"));const n=@getByIdDirectPrivate(_,\"internalWritable\");if(@writableStreamDefaultControllerErrorIfNeeded(@getByIdDirectPrivate(n,\"controller\"),o),@getByIdDirectPrivate(_,\"backpressure\"))@transformStreamSetBackpressure(_,!1)})\n";
// transformStreamSetBackpressure
const JSC::ConstructAbility s_transformStreamInternalsTransformStreamSetBackpressureCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -550,7 +550,7 @@ const JSC::ConstructorKind s_transformStreamInternalsSetUpTransformStreamDefault
const JSC::ImplementationVisibility s_transformStreamInternalsSetUpTransformStreamDefaultControllerFromTransformerCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsSetUpTransformStreamDefaultControllerFromTransformerCodeLength = 443;
static const JSC::Intrinsic s_transformStreamInternalsSetUpTransformStreamDefaultControllerFromTransformerCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsSetUpTransformStreamDefaultControllerFromTransformerCode = "(function (q,v,_){\"use strict\";const d=new @TransformStreamDefaultController;let b=(p)=>{try{@transformStreamDefaultControllerEnqueue(d,p)}catch(w){return @Promise.@reject(w)}return @Promise.@resolve()},j=()=>{return @Promise.@resolve()};if(\"transform\"in _)b=(p)=>{return @promiseInvokeOrNoopMethod(v,_.transform,[p,d])};if(\"flush\"in _)j=()=>{return @promiseInvokeOrNoopMethod(v,_.flush,[d])};@setUpTransformStreamDefaultController(q,d,b,j)})\n";
+const char* const s_transformStreamInternalsSetUpTransformStreamDefaultControllerFromTransformerCode = "(function (_,d,p){\"use strict\";const v=new @TransformStreamDefaultController;let b=(q)=>{try{@transformStreamDefaultControllerEnqueue(v,q)}catch(w){return @Promise.@reject(w)}return @Promise.@resolve()},j=()=>{return @Promise.@resolve()};if(\"transform\"in p)b=(q)=>{return @promiseInvokeOrNoopMethod(d,p.transform,[q,v])};if(\"flush\"in p)j=()=>{return @promiseInvokeOrNoopMethod(d,p.flush,[v])};@setUpTransformStreamDefaultController(_,v,b,j)})\n";
// transformStreamDefaultControllerClearAlgorithms
const JSC::ConstructAbility s_transformStreamInternalsTransformStreamDefaultControllerClearAlgorithmsCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -566,7 +566,7 @@ const JSC::ConstructorKind s_transformStreamInternalsTransformStreamDefaultContr
const JSC::ImplementationVisibility s_transformStreamInternalsTransformStreamDefaultControllerEnqueueCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsTransformStreamDefaultControllerEnqueueCodeLength = 622;
static const JSC::Intrinsic s_transformStreamInternalsTransformStreamDefaultControllerEnqueueCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsTransformStreamDefaultControllerEnqueueCode = "(function (g,i){\"use strict\";const _=@getByIdDirectPrivate(g,\"stream\"),W=@getByIdDirectPrivate(_,\"readable\"),S=@getByIdDirectPrivate(W,\"readableStreamController\");if(@assert(S!==@undefined),!@readableStreamDefaultControllerCanCloseOrEnqueue(S))@throwTypeError(\"TransformStream.readable cannot close or enqueue\");try{@readableStreamDefaultControllerEnqueue(S,i)}catch(j){throw @transformStreamErrorWritableAndUnblockWrite(_,j),@getByIdDirectPrivate(W,\"storedError\")}const f=!@readableStreamDefaultControllerShouldCallPull(S);if(f!==@getByIdDirectPrivate(_,\"backpressure\"))@assert(f),@transformStreamSetBackpressure(_,!0)})\n";
+const char* const s_transformStreamInternalsTransformStreamDefaultControllerEnqueueCode = "(function (S,W){\"use strict\";const f=@getByIdDirectPrivate(S,\"stream\"),g=@getByIdDirectPrivate(f,\"readable\"),i=@getByIdDirectPrivate(g,\"readableStreamController\");if(@assert(i!==@undefined),!@readableStreamDefaultControllerCanCloseOrEnqueue(i))@throwTypeError(\"TransformStream.readable cannot close or enqueue\");try{@readableStreamDefaultControllerEnqueue(i,W)}catch(j){throw @transformStreamErrorWritableAndUnblockWrite(f,j),@getByIdDirectPrivate(g,\"storedError\")}const _=!@readableStreamDefaultControllerShouldCallPull(i);if(_!==@getByIdDirectPrivate(f,\"backpressure\"))@assert(_),@transformStreamSetBackpressure(f,!0)})\n";
// transformStreamDefaultControllerError
const JSC::ConstructAbility s_transformStreamInternalsTransformStreamDefaultControllerErrorCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -582,7 +582,7 @@ const JSC::ConstructorKind s_transformStreamInternalsTransformStreamDefaultContr
const JSC::ImplementationVisibility s_transformStreamInternalsTransformStreamDefaultControllerPerformTransformCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsTransformStreamDefaultControllerPerformTransformCodeLength = 277;
static const JSC::Intrinsic s_transformStreamInternalsTransformStreamDefaultControllerPerformTransformCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsTransformStreamDefaultControllerPerformTransformCode = "(function (d,g){\"use strict\";const _=@newPromiseCapability(@Promise);return @getByIdDirectPrivate(d,\"transformAlgorithm\").@call(@undefined,g).@then(()=>{_.@resolve()},(f)=>{@transformStreamError(@getByIdDirectPrivate(d,\"stream\"),f),_.@reject.@call(@undefined,f)}),_.@promise})\n";
+const char* const s_transformStreamInternalsTransformStreamDefaultControllerPerformTransformCode = "(function (_,d){\"use strict\";const f=@newPromiseCapability(@Promise);return @getByIdDirectPrivate(_,\"transformAlgorithm\").@call(@undefined,d).@then(()=>{f.@resolve()},(j)=>{@transformStreamError(@getByIdDirectPrivate(_,\"stream\"),j),f.@reject.@call(@undefined,j)}),f.@promise})\n";
// transformStreamDefaultControllerTerminate
const JSC::ConstructAbility s_transformStreamInternalsTransformStreamDefaultControllerTerminateCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -590,7 +590,7 @@ const JSC::ConstructorKind s_transformStreamInternalsTransformStreamDefaultContr
const JSC::ImplementationVisibility s_transformStreamInternalsTransformStreamDefaultControllerTerminateCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsTransformStreamDefaultControllerTerminateCodeLength = 367;
static const JSC::Intrinsic s_transformStreamInternalsTransformStreamDefaultControllerTerminateCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsTransformStreamDefaultControllerTerminateCode = "(function (f){\"use strict\";const i=@getByIdDirectPrivate(f,\"stream\"),k=@getByIdDirectPrivate(i,\"readable\"),_=@getByIdDirectPrivate(k,\"readableStreamController\");if(@readableStreamDefaultControllerCanCloseOrEnqueue(_))@readableStreamDefaultControllerClose(_);const u=@makeTypeError(\"the stream has been terminated\");@transformStreamErrorWritableAndUnblockWrite(i,u)})\n";
+const char* const s_transformStreamInternalsTransformStreamDefaultControllerTerminateCode = "(function (i){\"use strict\";const _=@getByIdDirectPrivate(i,\"stream\"),f=@getByIdDirectPrivate(_,\"readable\"),k=@getByIdDirectPrivate(f,\"readableStreamController\");if(@readableStreamDefaultControllerCanCloseOrEnqueue(k))@readableStreamDefaultControllerClose(k);const u=@makeTypeError(\"the stream has been terminated\");@transformStreamErrorWritableAndUnblockWrite(_,u)})\n";
// transformStreamDefaultSinkWriteAlgorithm
const JSC::ConstructAbility s_transformStreamInternalsTransformStreamDefaultSinkWriteAlgorithmCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -598,7 +598,7 @@ const JSC::ConstructorKind s_transformStreamInternalsTransformStreamDefaultSinkW
const JSC::ImplementationVisibility s_transformStreamInternalsTransformStreamDefaultSinkWriteAlgorithmCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsTransformStreamDefaultSinkWriteAlgorithmCodeLength = 764;
static const JSC::Intrinsic s_transformStreamInternalsTransformStreamDefaultSinkWriteAlgorithmCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsTransformStreamDefaultSinkWriteAlgorithmCode = "(function (d,j){\"use strict\";const f=@getByIdDirectPrivate(d,\"internalWritable\");@assert(@getByIdDirectPrivate(f,\"state\")===\"writable\");const q=@getByIdDirectPrivate(d,\"controller\");if(@getByIdDirectPrivate(d,\"backpressure\")){const _=@newPromiseCapability(@Promise),x=@getByIdDirectPrivate(d,\"backpressureChangePromise\");return @assert(x!==@undefined),x.@promise.@then(()=>{const v=@getByIdDirectPrivate(f,\"state\");if(v===\"erroring\"){_.@reject.@call(@undefined,@getByIdDirectPrivate(f,\"storedError\"));return}@assert(v===\"writable\"),@transformStreamDefaultControllerPerformTransform(q,j).@then(()=>{_.@resolve()},(z)=>{_.@reject.@call(@undefined,z)})},(v)=>{_.@reject.@call(@undefined,v)}),_.@promise}return @transformStreamDefaultControllerPerformTransform(q,j)})\n";
+const char* const s_transformStreamInternalsTransformStreamDefaultSinkWriteAlgorithmCode = "(function (d,v){\"use strict\";const f=@getByIdDirectPrivate(d,\"internalWritable\");@assert(@getByIdDirectPrivate(f,\"state\")===\"writable\");const j=@getByIdDirectPrivate(d,\"controller\");if(@getByIdDirectPrivate(d,\"backpressure\")){const q=@newPromiseCapability(@Promise),_=@getByIdDirectPrivate(d,\"backpressureChangePromise\");return @assert(_!==@undefined),_.@promise.@then(()=>{const x=@getByIdDirectPrivate(f,\"state\");if(x===\"erroring\"){q.@reject.@call(@undefined,@getByIdDirectPrivate(f,\"storedError\"));return}@assert(x===\"writable\"),@transformStreamDefaultControllerPerformTransform(j,v).@then(()=>{q.@resolve()},(z)=>{q.@reject.@call(@undefined,z)})},(x)=>{q.@reject.@call(@undefined,x)}),q.@promise}return @transformStreamDefaultControllerPerformTransform(j,v)})\n";
// transformStreamDefaultSinkAbortAlgorithm
const JSC::ConstructAbility s_transformStreamInternalsTransformStreamDefaultSinkAbortAlgorithmCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -606,7 +606,7 @@ const JSC::ConstructorKind s_transformStreamInternalsTransformStreamDefaultSinkA
const JSC::ImplementationVisibility s_transformStreamInternalsTransformStreamDefaultSinkAbortAlgorithmCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsTransformStreamDefaultSinkAbortAlgorithmCodeLength = 85;
static const JSC::Intrinsic s_transformStreamInternalsTransformStreamDefaultSinkAbortAlgorithmCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsTransformStreamDefaultSinkAbortAlgorithmCode = "(function (d,t){\"use strict\";return @transformStreamError(d,t),@Promise.@resolve()})\n";
+const char* const s_transformStreamInternalsTransformStreamDefaultSinkAbortAlgorithmCode = "(function (t,d){\"use strict\";return @transformStreamError(t,d),@Promise.@resolve()})\n";
// transformStreamDefaultSinkCloseAlgorithm
const JSC::ConstructAbility s_transformStreamInternalsTransformStreamDefaultSinkCloseAlgorithmCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -614,7 +614,7 @@ const JSC::ConstructorKind s_transformStreamInternalsTransformStreamDefaultSinkC
const JSC::ImplementationVisibility s_transformStreamInternalsTransformStreamDefaultSinkCloseAlgorithmCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInternalsTransformStreamDefaultSinkCloseAlgorithmCodeLength = 789;
static const JSC::Intrinsic s_transformStreamInternalsTransformStreamDefaultSinkCloseAlgorithmCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInternalsTransformStreamDefaultSinkCloseAlgorithmCode = "(function (f){\"use strict\";const _=@getByIdDirectPrivate(f,\"readable\"),q=@getByIdDirectPrivate(f,\"controller\"),j=@getByIdDirectPrivate(_,\"readableStreamController\"),k=@getByIdDirectPrivate(q,\"flushAlgorithm\");@assert(k!==@undefined);const u=@getByIdDirectPrivate(q,\"flushAlgorithm\").@call();@transformStreamDefaultControllerClearAlgorithms(q);const I=@newPromiseCapability(@Promise);return u.@then(()=>{if(@getByIdDirectPrivate(_,\"state\")===@streamErrored){I.@reject.@call(@undefined,@getByIdDirectPrivate(_,\"storedError\"));return}if(@readableStreamDefaultControllerCanCloseOrEnqueue(j))@readableStreamDefaultControllerClose(j);I.@resolve()},(v)=>{@transformStreamError(@getByIdDirectPrivate(q,\"stream\"),v),I.@reject.@call(@undefined,@getByIdDirectPrivate(_,\"storedError\"))}),I.@promise})\n";
+const char* const s_transformStreamInternalsTransformStreamDefaultSinkCloseAlgorithmCode = "(function (_){\"use strict\";const I=@getByIdDirectPrivate(_,\"readable\"),k=@getByIdDirectPrivate(_,\"controller\"),f=@getByIdDirectPrivate(I,\"readableStreamController\"),u=@getByIdDirectPrivate(k,\"flushAlgorithm\");@assert(u!==@undefined);const v=@getByIdDirectPrivate(k,\"flushAlgorithm\").@call();@transformStreamDefaultControllerClearAlgorithms(k);const q=@newPromiseCapability(@Promise);return v.@then(()=>{if(@getByIdDirectPrivate(I,\"state\")===@streamErrored){q.@reject.@call(@undefined,@getByIdDirectPrivate(I,\"storedError\"));return}if(@readableStreamDefaultControllerCanCloseOrEnqueue(f))@readableStreamDefaultControllerClose(f);q.@resolve()},(j)=>{@transformStreamError(@getByIdDirectPrivate(k,\"stream\"),j),q.@reject.@call(@undefined,@getByIdDirectPrivate(I,\"storedError\"))}),q.@promise})\n";
// transformStreamDefaultSourcePullAlgorithm
const JSC::ConstructAbility s_transformStreamInternalsTransformStreamDefaultSourcePullAlgorithmCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -640,7 +640,7 @@ const JSC::ConstructorKind s_processObjectInternalsBindingCodeConstructorKind =
const JSC::ImplementationVisibility s_processObjectInternalsBindingCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_processObjectInternalsBindingCodeLength = 473;
static const JSC::Intrinsic s_processObjectInternalsBindingCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_processObjectInternalsBindingCode = "(function (I){\"use strict\";if(I!==\"constants\")@throwTypeError(\"process.binding() is not supported in Bun. If that breaks something, please file an issue and include a reproducible code sample.\");var r=globalThis.Symbol.for(\"process.bindings.constants\"),l=globalThis[r];if(!l){const{constants:d}=globalThis[globalThis.Symbol.for(\"Bun.lazy\")](\"createImportMeta\",\"node:process\").require(\"node:fs\");l={fs:d,zlib:{},crypto:{},os:@Bun._Os().constants},globalThis[r]=l}return l})\n";
+const char* const s_processObjectInternalsBindingCode = "(function (d){\"use strict\";if(d!==\"constants\")@throwTypeError(\"process.binding() is not supported in Bun. If that breaks something, please file an issue and include a reproducible code sample.\");var l=globalThis.Symbol.for(\"process.bindings.constants\"),I=globalThis[l];if(!I){const{constants:r}=globalThis[globalThis.Symbol.for(\"Bun.lazy\")](\"createImportMeta\",\"node:process\").require(\"node:fs\");I={fs:r,zlib:{},crypto:{},os:@Bun._Os().constants},globalThis[l]=I}return I})\n";
// getStdioWriteStream
const JSC::ConstructAbility s_processObjectInternalsGetStdioWriteStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -648,7 +648,7 @@ const JSC::ConstructorKind s_processObjectInternalsGetStdioWriteStreamCodeConstr
const JSC::ImplementationVisibility s_processObjectInternalsGetStdioWriteStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_processObjectInternalsGetStdioWriteStreamCodeLength = 4311;
static const JSC::Intrinsic s_processObjectInternalsGetStdioWriteStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_processObjectInternalsGetStdioWriteStreamCode = "(function (Z){\"use strict\";var L=(M)=>{var G=@requireMap.get(M);if(G)return G.exports;return @internalRequire(M)},D={path:\"node:process\",require:L};function Y(M){var{Duplex:G,eos:j,destroy:z}=L(\"node:stream\"),J=class O extends G{#j;#$;#M=!0;#N=!0;#J;#z;#G;#B;#H;#K;get isTTY(){return this.#K\?\?=L(\"node:tty\").isatty(M)}get fd(){return M}constructor(B){super({readable:!0,writable:!0});this.#J=`/dev/fd/${B}`}#L(B){const H=this.#z;if(this.#z=null,H)H(B);else if(B)this.destroy(B);else if(!this.#M&&!this.#N)this.destroy()}_destroy(B,H){if(!B&&this.#z!==null){var N=class X extends Error{code;name;constructor(Q=\"The operation was aborted\",K=void 0){if(K!==void 0&&typeof K!==\"object\")throw new Error(`Invalid AbortError options:\\n\\n${JSON.stringify(K,null,2)}`);super(Q,K);this.code=\"ABORT_ERR\",this.name=\"AbortError\"}};B=new N}if(this.#G=null,this.#B=null,this.#z===null)H(B);else{if(this.#z=H,this.#j)z(this.#j,B);if(this.#$)z(this.#$,B)}}_write(B,H,N){if(!this.#j){var{createWriteStream:X}=L(\"node:fs\"),Q=this.#j=X(this.#J);Q.on(\"finish\",()=>{if(this.#B){const K=this.#B;this.#B=null,K()}}),Q.on(\"drain\",()=>{if(this.#G){const K=this.#G;this.#G=null,K()}}),j(Q,(K)=>{if(this.#N=!1,K)z(Q,K);this.#L(K)})}if(Q.write(B,H))N();else this.#G=N}_final(B){this.#j&&this.#j.end(),this.#B=B}#O(){var{createReadStream:B}=L(\"node:fs\"),H=this.#$=B(this.#J);return H.on(\"readable\",()=>{if(this.#H){const N=this.#H;this.#H=null,N()}else this.read()}),H.on(\"end\",()=>{this.push(null)}),j(H,(N)=>{if(this.#M=!1,N)z(H,N);this.#L(N)}),H}_read(){var B=this.#$;if(!B)B=this.#O();while(!0){const H=B.read();if(H===null||!this.push(H))return}}};return new J(M)}var{EventEmitter:P}=L(\"node:events\");function V(M){if(!M)return!0;var G=M.toLowerCase();return G===\"utf8\"||G===\"utf-8\"||G===\"buffer\"||G===\"binary\"}var U,A=class M extends P{#j;#$;#M;#N;bytesWritten=0;setDefaultEncoding(G){if(this.#$||!V(G))return this.#G(),this.#$.setDefaultEncoding(G)}#J(){switch(this.#j){case 1:{var G=@Bun.stdout.writer({highWaterMark:0});return G.unref(),G}case 2:{var G=@Bun.stderr.writer({highWaterMark:0});return G.unref(),G}default:throw new Error(\"Unsupported writer\")}}#z(){return this.#M\?\?=this.#J()}constructor(G){super();this.#j=G}get fd(){return this.#j}get isTTY(){return this.#N\?\?=L(\"node:tty\").isatty(this.#j)}cursorTo(G,j,z){return(U\?\?=L(\"readline\")).cursorTo(this,G,j,z)}moveCursor(G,j,z){return(U\?\?=L(\"readline\")).moveCursor(this,G,j,z)}clearLine(G,j){return(U\?\?=L(\"readline\")).clearLine(this,G,j)}clearScreenDown(G){return(U\?\?=L(\"readline\")).clearScreenDown(this,G)}ref(){this.#z().ref()}unref(){this.#z().unref()}on(G,j){if(G===\"close\"||G===\"finish\")return this.#G(),this.#$.on(G,j);if(G===\"drain\")return super.on(\"drain\",j);if(G===\"error\")return super.on(\"error\",j);return super.on(G,j)}get _writableState(){return this.#G(),this.#$._writableState}get _readableState(){return this.#G(),this.#$._readableState}pipe(G){return this.#G(),this.#$.pipe(G)}unpipe(G){return this.#G(),this.#$.unpipe(G)}#G(){if(this.#$)return;this.#$=Y(this.#j);const G=this.eventNames();for(let j of G)this.#$.on(j,(...z)=>{this.emit(j,...z)})}#B(G){var j=this.#z();const z=j.write(G);this.bytesWritten+=z;const J=j.flush(!1);return!!(z||J)}#H(G,j){if(!V(j))return this.#G(),this.#$.write(G,j);return this.#B(G)}#K(G,j){if(j)this.emit(\"error\",j);try{G(j\?j:null)}catch(z){this.emit(\"error\",z)}}#L(G,j,z){if(!V(j))return this.#G(),this.#$.write(G,j,z);var J=this.#z();const O=J.write(G),B=J.flush(!0);if(B\?.then)return B.then(()=>{this.#K(z),this.emit(\"drain\")},(H)=>this.#K(z,H)),!1;return queueMicrotask(()=>{this.#K(z)}),!!(O||B)}write(G,j,z){const J=this._write(G,j,z);if(J)this.emit(\"drain\");return J}get hasColors(){return @Bun.tty[this.#j].hasColors}_write(G,j,z){var J=this.#$;if(J)return J.write(G,j,z);switch(arguments.length){case 0:{var O=new Error(\"Invalid arguments\");throw O.code=\"ERR_INVALID_ARG_TYPE\",O}case 1:return this.#B(G);case 2:if(typeof j===\"function\")return this.#L(G,\"\",j);else if(typeof j===\"string\")return this.#H(G,j);default:{if(typeof j!==\"undefined\"&&typeof j!==\"string\"||typeof z!==\"undefined\"&&typeof z!==\"function\"){var O=new Error(\"Invalid arguments\");throw O.code=\"ERR_INVALID_ARG_TYPE\",O}if(typeof z===\"undefined\")return this.#H(G,j);return this.#L(G,j,z)}}}destroy(){return this}end(){return this}};return new A(Z)})\n";
+const char* const s_processObjectInternalsGetStdioWriteStreamCode = "(function (z){\"use strict\";var G=(U)=>{var V=@requireMap.get(U);if(V)return V.exports;return @internalRequire(U)},J={path:\"node:process\",require:G};function K(U){var{Duplex:V,eos:X,destroy:j}=G(\"node:stream\"),B=class Z extends V{#$;#G;#j=!0;#z=!0;#B;#H;#J;#K;#L;#M;get isTTY(){return this.#M\?\?=G(\"node:tty\").isatty(U)}get fd(){return U}constructor(Y){super({readable:!0,writable:!0});this.#B=`/dev/fd/${Y}`}#N(Y){const P=this.#H;if(this.#H=null,P)P(Y);else if(Y)this.destroy(Y);else if(!this.#j&&!this.#z)this.destroy()}_destroy(Y,P){if(!Y&&this.#H!==null){var A=class D extends Error{code;name;constructor(H=\"The operation was aborted\",N=void 0){if(N!==void 0&&typeof N!==\"object\")throw new Error(`Invalid AbortError options:\\n\\n${JSON.stringify(N,null,2)}`);super(H,N);this.code=\"ABORT_ERR\",this.name=\"AbortError\"}};Y=new A}if(this.#J=null,this.#K=null,this.#H===null)P(Y);else{if(this.#H=P,this.#$)j(this.#$,Y);if(this.#G)j(this.#G,Y)}}_write(Y,P,A){if(!this.#$){var{createWriteStream:D}=G(\"node:fs\"),H=this.#$=D(this.#B);H.on(\"finish\",()=>{if(this.#K){const N=this.#K;this.#K=null,N()}}),H.on(\"drain\",()=>{if(this.#J){const N=this.#J;this.#J=null,N()}}),X(H,(N)=>{if(this.#z=!1,N)j(H,N);this.#N(N)})}if(H.write(Y,P))A();else this.#J=A}_final(Y){this.#$&&this.#$.end(),this.#K=Y}#O(){var{createReadStream:Y}=G(\"node:fs\"),P=this.#G=Y(this.#B);return P.on(\"readable\",()=>{if(this.#L){const A=this.#L;this.#L=null,A()}else this.read()}),P.on(\"end\",()=>{this.push(null)}),X(P,(A)=>{if(this.#j=!1,A)j(P,A);this.#N(A)}),P}_read(){var Y=this.#G;if(!Y)Y=this.#O();while(!0){const P=Y.read();if(P===null||!this.push(P))return}}};return new B(U)}var{EventEmitter:L}=G(\"node:events\");function O(U){if(!U)return!0;var V=U.toLowerCase();return V===\"utf8\"||V===\"utf-8\"||V===\"buffer\"||V===\"binary\"}var M,Q=class U extends L{#$;#G;#j;#z;bytesWritten=0;setDefaultEncoding(V){if(this.#G||!O(V))return this.#J(),this.#G.setDefaultEncoding(V)}#B(){switch(this.#$){case 1:{var V=@Bun.stdout.writer({highWaterMark:0});return V.unref(),V}case 2:{var V=@Bun.stderr.writer({highWaterMark:0});return V.unref(),V}default:throw new Error(\"Unsupported writer\")}}#H(){return this.#j\?\?=this.#B()}constructor(V){super();this.#$=V}get fd(){return this.#$}get isTTY(){return this.#z\?\?=G(\"node:tty\").isatty(this.#$)}cursorTo(V,X,j){return(M\?\?=G(\"readline\")).cursorTo(this,V,X,j)}moveCursor(V,X,j){return(M\?\?=G(\"readline\")).moveCursor(this,V,X,j)}clearLine(V,X){return(M\?\?=G(\"readline\")).clearLine(this,V,X)}clearScreenDown(V){return(M\?\?=G(\"readline\")).clearScreenDown(this,V)}ref(){this.#H().ref()}unref(){this.#H().unref()}on(V,X){if(V===\"close\"||V===\"finish\")return this.#J(),this.#G.on(V,X);if(V===\"drain\")return super.on(\"drain\",X);if(V===\"error\")return super.on(\"error\",X);return super.on(V,X)}get _writableState(){return this.#J(),this.#G._writableState}get _readableState(){return this.#J(),this.#G._readableState}pipe(V){return this.#J(),this.#G.pipe(V)}unpipe(V){return this.#J(),this.#G.unpipe(V)}#J(){if(this.#G)return;this.#G=K(this.#$);const V=this.eventNames();for(let X of V)this.#G.on(X,(...j)=>{this.emit(X,...j)})}#K(V){var X=this.#H();const j=X.write(V);this.bytesWritten+=j;const B=X.flush(!1);return!!(j||B)}#L(V,X){if(!O(X))return this.#J(),this.#G.write(V,X);return this.#K(V)}#M(V,X){if(X)this.emit(\"error\",X);try{V(X\?X:null)}catch(j){this.emit(\"error\",j)}}#N(V,X,j){if(!O(X))return this.#J(),this.#G.write(V,X,j);var B=this.#H();const Z=B.write(V),Y=B.flush(!0);if(Y\?.then)return Y.then(()=>{this.#M(j),this.emit(\"drain\")},(P)=>this.#M(j,P)),!1;return queueMicrotask(()=>{this.#M(j)}),!!(Z||Y)}write(V,X,j){const B=this._write(V,X,j);if(B)this.emit(\"drain\");return B}get hasColors(){return @Bun.tty[this.#$].hasColors}_write(V,X,j){var B=this.#G;if(B)return B.write(V,X,j);switch(arguments.length){case 0:{var Z=new Error(\"Invalid arguments\");throw Z.code=\"ERR_INVALID_ARG_TYPE\",Z}case 1:return this.#K(V);case 2:if(typeof X===\"function\")return this.#N(V,\"\",X);else if(typeof X===\"string\")return this.#L(V,X);default:{if(typeof X!==\"undefined\"&&typeof X!==\"string\"||typeof j!==\"undefined\"&&typeof j!==\"function\"){var Z=new Error(\"Invalid arguments\");throw Z.code=\"ERR_INVALID_ARG_TYPE\",Z}if(typeof j===\"undefined\")return this.#L(V,X);return this.#N(V,X,j)}}}destroy(){return this}end(){return this}};return new Q(z)})\n";
// getStdinStream
const JSC::ConstructAbility s_processObjectInternalsGetStdinStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -656,7 +656,7 @@ const JSC::ConstructorKind s_processObjectInternalsGetStdinStreamCodeConstructor
const JSC::ImplementationVisibility s_processObjectInternalsGetStdinStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_processObjectInternalsGetStdinStreamCodeLength = 1861;
static const JSC::Intrinsic s_processObjectInternalsGetStdinStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_processObjectInternalsGetStdinStreamCode = "(function (K){\"use strict\";var H=(I)=>{var N=@requireMap.get(I);if(N)return N.exports;return @internalRequire(I)},T={path:\"node:process\",require:H},{Duplex:M,eos:P,destroy:L}=H(\"node:stream\"),Q=class I extends M{#J;#j;#$;#G=!0;#H=!1;#K=!0;#z;#N;#B;get isTTY(){return H(\"tty\").isatty(K)}get fd(){return K}constructor(){super({readable:!0,writable:!0})}#I(N){const j=this.#N;if(this.#N=null,j)j(N);else if(N)this.destroy(N);else if(!this.#G&&!this.#K)this.destroy()}_destroy(N,j){if(!N&&this.#N!==null){var z=class B extends Error{constructor(G=\"The operation was aborted\",J=void 0){if(J!==void 0&&typeof J!==\"object\")throw new Error(`Invalid AbortError options:\\n\\n${JSON.stringify(J,null,2)}`);super(G,J);this.code=\"ABORT_ERR\",this.name=\"AbortError\"}};N=new z}if(this.#N===null)j(N);else if(this.#N=j,this.#$)L(this.#$,N)}setRawMode(N){}on(N,j){if(N===\"readable\")this.ref(),this.#H=!0;return super.on(N,j)}pause(){return this.unref(),super.pause()}resume(){return this.ref(),super.resume()}ref(){this.#J\?\?=@Bun.stdin.stream().getReader(),this.#j\?\?=setInterval(()=>{},1<<30)}unref(){if(this.#j)clearInterval(this.#j),this.#j=null}async#L(){try{var N,j;const z=this.#J.readMany();if(!z\?.then)({done:N,value:j}=z);else({done:N,value:j}=await z);if(!N){this.push(j[0]);const B=j.length;for(let G=1;G<B;G++)this.push(j[G])}else this.push(null),this.pause(),this.#G=!1,this.#I()}catch(z){this.#G=!1,this.#I(z)}}_read(N){if(this.#H)this.unref(),this.#H=!1;this.#L()}#M(){var{createWriteStream:N}=H(\"node:fs\"),j=this.#$=N(\"/dev/fd/0\");return j.on(\"finish\",()=>{if(this.#z){const z=this.#z;this.#z=null,z()}}),j.on(\"drain\",()=>{if(this.#B){const z=this.#B;this.#B=null,z()}}),P(j,(z)=>{if(this.#K=!1,z)L(j,z);this.#I(z)}),j}_write(N,j,z){var B=this.#$;if(!B)B=this.#M();if(B.write(N,j))z();else this.#B=z}_final(N){this.#$.end(),this.#z=(...j)=>N(...j)}};return new Q})\n";
+const char* const s_processObjectInternalsGetStdinStreamCode = "(function (N){\"use strict\";var j=(J)=>{var K=@requireMap.get(J);if(K)return K.exports;return @internalRequire(J)},z={path:\"node:process\",require:j},{Duplex:B,eos:G,destroy:H}=j(\"node:stream\"),I=class J extends B{#$;#N;#j;#z=!0;#B=!1;#G=!0;#H;#I;#J;get isTTY(){return j(\"tty\").isatty(N)}get fd(){return N}constructor(){super({readable:!0,writable:!0})}#K(K){const L=this.#I;if(this.#I=null,L)L(K);else if(K)this.destroy(K);else if(!this.#z&&!this.#G)this.destroy()}_destroy(K,L){if(!K&&this.#I!==null){var M=class P extends Error{constructor(Q=\"The operation was aborted\",T=void 0){if(T!==void 0&&typeof T!==\"object\")throw new Error(`Invalid AbortError options:\\n\\n${JSON.stringify(T,null,2)}`);super(Q,T);this.code=\"ABORT_ERR\",this.name=\"AbortError\"}};K=new M}if(this.#I===null)L(K);else if(this.#I=L,this.#j)H(this.#j,K)}setRawMode(K){}on(K,L){if(K===\"readable\")this.ref(),this.#B=!0;return super.on(K,L)}pause(){return this.unref(),super.pause()}resume(){return this.ref(),super.resume()}ref(){this.#$\?\?=@Bun.stdin.stream().getReader(),this.#N\?\?=setInterval(()=>{},1<<30)}unref(){if(this.#N)clearInterval(this.#N),this.#N=null}async#L(){try{var K,L;const M=this.#$.readMany();if(!M\?.then)({done:K,value:L}=M);else({done:K,value:L}=await M);if(!K){this.push(L[0]);const P=L.length;for(let Q=1;Q<P;Q++)this.push(L[Q])}else this.push(null),this.pause(),this.#z=!1,this.#K()}catch(M){this.#z=!1,this.#K(M)}}_read(K){if(this.#B)this.unref(),this.#B=!1;this.#L()}#M(){var{createWriteStream:K}=j(\"node:fs\"),L=this.#j=K(\"/dev/fd/0\");return L.on(\"finish\",()=>{if(this.#H){const M=this.#H;this.#H=null,M()}}),L.on(\"drain\",()=>{if(this.#J){const M=this.#J;this.#J=null,M()}}),G(L,(M)=>{if(this.#G=!1,M)H(L,M);this.#K(M)}),L}_write(K,L,M){var P=this.#j;if(!P)P=this.#M();if(P.write(K,L))M();else this.#J=M}_final(K){this.#j.end(),this.#H=(...L)=>K(...L)}};return new I})\n";
#define DEFINE_BUILTIN_GENERATOR(codeName, functionName, overriddenName, argumentCount) \
JSC::FunctionExecutable* codeName##Generator(JSC::VM& vm) \
@@ -674,7 +674,7 @@ const JSC::ConstructorKind s_transformStreamInitializeTransformStreamCodeConstru
const JSC::ImplementationVisibility s_transformStreamInitializeTransformStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamInitializeTransformStreamCodeLength = 1304;
static const JSC::Intrinsic s_transformStreamInitializeTransformStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamInitializeTransformStreamCode = "(function (){\"use strict\";let _=arguments[0];if(@isObject(_)&&@getByIdDirectPrivate(_,\"TransformStream\"))return this;let j=arguments[1],q=arguments[2];if(_===@undefined)_=null;if(q===@undefined)q={};if(j===@undefined)j={};let u={};if(_!==null){if(\"start\"in _){if(u.start=_.start,typeof u.start!==\"function\")@throwTypeError(\"transformer.start should be a function\")}if(\"transform\"in _){if(u.transform=_.transform,typeof u.transform!==\"function\")@throwTypeError(\"transformer.transform should be a function\")}if(\"flush\"in _){if(u.flush=_.flush,typeof u.flush!==\"function\")@throwTypeError(\"transformer.flush should be a function\")}if(\"readableType\"in _)@throwRangeError(\"TransformStream transformer has a readableType\");if(\"writableType\"in _)@throwRangeError(\"TransformStream transformer has a writableType\")}const x=@extractHighWaterMark(q,0),B=@extractSizeAlgorithm(q),E=@extractHighWaterMark(j,1),F=@extractSizeAlgorithm(j),v=@newPromiseCapability(@Promise);if(@initializeTransformStream(this,v.@promise,E,F,x,B),@setUpTransformStreamDefaultControllerFromTransformer(this,_,u),(\"start\"in u)){const G=@getByIdDirectPrivate(this,\"controller\");(()=>@promiseInvokeOrNoopMethodNoCatch(_,u.start,[G]))().@then(()=>{v.@resolve.@call()},(I)=>{v.@reject.@call(@undefined,I)})}else v.@resolve.@call();return this})\n";
+const char* const s_transformStreamInitializeTransformStreamCode = "(function (){\"use strict\";let j=arguments[0];if(@isObject(j)&&@getByIdDirectPrivate(j,\"TransformStream\"))return this;let q=arguments[1],v=arguments[2];if(j===@undefined)j=null;if(v===@undefined)v={};if(q===@undefined)q={};let x={};if(j!==null){if(\"start\"in j){if(x.start=j.start,typeof x.start!==\"function\")@throwTypeError(\"transformer.start should be a function\")}if(\"transform\"in j){if(x.transform=j.transform,typeof x.transform!==\"function\")@throwTypeError(\"transformer.transform should be a function\")}if(\"flush\"in j){if(x.flush=j.flush,typeof x.flush!==\"function\")@throwTypeError(\"transformer.flush should be a function\")}if(\"readableType\"in j)@throwRangeError(\"TransformStream transformer has a readableType\");if(\"writableType\"in j)@throwRangeError(\"TransformStream transformer has a writableType\")}const B=@extractHighWaterMark(v,0),E=@extractSizeAlgorithm(v),F=@extractHighWaterMark(q,1),G=@extractSizeAlgorithm(q),I=@newPromiseCapability(@Promise);if(@initializeTransformStream(this,I.@promise,F,G,B,E),@setUpTransformStreamDefaultControllerFromTransformer(this,j,x),(\"start\"in x)){const J=@getByIdDirectPrivate(this,\"controller\");(()=>@promiseInvokeOrNoopMethodNoCatch(j,x.start,[J]))().@then(()=>{I.@resolve.@call()},(u)=>{I.@reject.@call(@undefined,u)})}else I.@resolve.@call();return this})\n";
// readable
const JSC::ConstructAbility s_transformStreamReadableCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -716,7 +716,7 @@ const JSC::ConstructorKind s_moduleRequireCodeConstructorKind = JSC::Constructor
const JSC::ImplementationVisibility s_moduleRequireCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_moduleRequireCodeLength = 1035;
static const JSC::Intrinsic s_moduleRequireCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_moduleRequireCode = "(function (_){\"use strict\";const b=@requireMap.@get(_)||@requireMap.@get(_=@resolveSync(_,this.path,!1));if(b)return @evaluateCommonJSModule(b),b.exports;if(_.endsWith(\".json\")||_.endsWith(\".toml\")||_.endsWith(\".node\"))return @internalRequire(_);let S=@Loader.registry.@get(_);if(S\?.evaluated&&(S.state\?\?0)>=@ModuleReady){const M=S.module,f=@Loader.getModuleNamespaceObject(M),r=f\?.[@commonJSSymbol]===0||f\?.default\?.[@commonJSSymbol]===0\?f.default:f.__esModule\?f:Object.create(f,{__esModule:{value:!0}});return @requireMap.@set(_,@createCommonJSModule(_,r,!0)),r}const L=@createCommonJSModule(_,{},!1);@requireMap.@set(_,L);var h=this.@require(_,L);if(h===-1){try{h=@requireESM(_)}catch(M){throw @requireMap.@delete(_),M}if(S=@Loader.registry.@get(_),S\?.evaluated&&(S.state\?\?0)>=@ModuleReady){const M=@Loader.getModuleNamespaceObject(S.module);return L.exports=M\?.[@commonJSSymbol]===0||M\?.default\?.[@commonJSSymbol]===0\?M.default:M.__esModule\?M:Object.create(M,{__esModule:{value:!0}})}}return @evaluateCommonJSModule(L),L.exports})\n";
+const char* const s_moduleRequireCode = "(function (_){\"use strict\";const M=@requireMap.@get(_)||@requireMap.@get(_=@resolveSync(_,this.path,!1));if(M)return @evaluateCommonJSModule(M),M.exports;if(_.endsWith(\".json\")||_.endsWith(\".toml\")||_.endsWith(\".node\"))return @internalRequire(_);let S=@Loader.registry.@get(_);if(S\?.evaluated&&(S.state\?\?0)>=@ModuleReady){const b=S.module,h=@Loader.getModuleNamespaceObject(b),r=h\?.[@commonJSSymbol]===0||h\?.default\?.[@commonJSSymbol]===0\?h.default:h.__esModule\?h:Object.create(h,{__esModule:{value:!0}});return @requireMap.@set(_,@createCommonJSModule(_,r,!0)),r}const f=@createCommonJSModule(_,{},!1);@requireMap.@set(_,f);var L=this.@require(_,f);if(L===-1){try{L=@requireESM(_)}catch(b){throw @requireMap.@delete(_),b}if(S=@Loader.registry.@get(_),S\?.evaluated&&(S.state\?\?0)>=@ModuleReady){const b=@Loader.getModuleNamespaceObject(S.module);return f.exports=b\?.[@commonJSSymbol]===0||b\?.default\?.[@commonJSSymbol]===0\?b.default:b.__esModule\?b:Object.create(b,{__esModule:{value:!0}})}}return @evaluateCommonJSModule(f),f.exports})\n";
// requireResolve
const JSC::ConstructAbility s_moduleRequireResolveCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -830,7 +830,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeReadIntLECodeConstructorKind = JSC
const JSC::ImplementationVisibility s_jsBufferPrototypeReadIntLECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeReadIntLECodeLength = 528;
static const JSC::Intrinsic s_jsBufferPrototypeReadIntLECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeReadIntLECode = "(function (d,u){\"use strict\";const r=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(u){case 1:return r.getInt8(d);case 2:return r.getInt16(d,!0);case 3:{const _=r.getUint16(d,!0)+r.getUint8(d+2)*65536;return _|(_&8388608)*510}case 4:return r.getInt32(d,!0);case 5:{const _=r.getUint8(d+4);return(_|(_&128)*33554430)*4294967296+r.getUint32(d,!0)}case 6:{const _=r.getUint16(d+4,!0);return(_|(_&32768)*131070)*4294967296+r.getUint32(d,!0)}}@throwRangeError(\"byteLength must be >= 1 and <= 6\")})\n";
+const char* const s_jsBufferPrototypeReadIntLECode = "(function (d,r){\"use strict\";const _=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(r){case 1:return _.getInt8(d);case 2:return _.getInt16(d,!0);case 3:{const u=_.getUint16(d,!0)+_.getUint8(d+2)*65536;return u|(u&8388608)*510}case 4:return _.getInt32(d,!0);case 5:{const u=_.getUint8(d+4);return(u|(u&128)*33554430)*4294967296+_.getUint32(d,!0)}case 6:{const u=_.getUint16(d+4,!0);return(u|(u&32768)*131070)*4294967296+_.getUint32(d,!0)}}@throwRangeError(\"byteLength must be >= 1 and <= 6\")})\n";
// readIntBE
const JSC::ConstructAbility s_jsBufferPrototypeReadIntBECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -838,7 +838,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeReadIntBECodeConstructorKind = JSC
const JSC::ImplementationVisibility s_jsBufferPrototypeReadIntBECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeReadIntBECodeLength = 528;
static const JSC::Intrinsic s_jsBufferPrototypeReadIntBECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeReadIntBECode = "(function (r,c){\"use strict\";const d=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(c){case 1:return d.getInt8(r);case 2:return d.getInt16(r,!1);case 3:{const u=d.getUint16(r+1,!1)+d.getUint8(r)*65536;return u|(u&8388608)*510}case 4:return d.getInt32(r,!1);case 5:{const u=d.getUint8(r);return(u|(u&128)*33554430)*4294967296+d.getUint32(r+1,!1)}case 6:{const u=d.getUint16(r,!1);return(u|(u&32768)*131070)*4294967296+d.getUint32(r+2,!1)}}@throwRangeError(\"byteLength must be >= 1 and <= 6\")})\n";
+const char* const s_jsBufferPrototypeReadIntBECode = "(function (r,d){\"use strict\";const u=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(d){case 1:return u.getInt8(r);case 2:return u.getInt16(r,!1);case 3:{const c=u.getUint16(r+1,!1)+u.getUint8(r)*65536;return c|(c&8388608)*510}case 4:return u.getInt32(r,!1);case 5:{const c=u.getUint8(r);return(c|(c&128)*33554430)*4294967296+u.getUint32(r+1,!1)}case 6:{const c=u.getUint16(r,!1);return(c|(c&32768)*131070)*4294967296+u.getUint32(r+2,!1)}}@throwRangeError(\"byteLength must be >= 1 and <= 6\")})\n";
// readUIntLE
const JSC::ConstructAbility s_jsBufferPrototypeReadUIntLECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -846,7 +846,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeReadUIntLECodeConstructorKind = JS
const JSC::ImplementationVisibility s_jsBufferPrototypeReadUIntLECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeReadUIntLECodeLength = 445;
static const JSC::Intrinsic s_jsBufferPrototypeReadUIntLECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeReadUIntLECode = "(function (a,r){\"use strict\";const d=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(r){case 1:return d.getUint8(a);case 2:return d.getUint16(a,!0);case 3:return d.getUint16(a,!0)+d.getUint8(a+2)*65536;case 4:return d.getUint32(a,!0);case 5:return d.getUint8(a+4)*4294967296+d.getUint32(a,!0);case 6:return d.getUint16(a+4,!0)*4294967296+d.getUint32(a,!0)}@throwRangeError(\"byteLength must be >= 1 and <= 6\")})\n";
+const char* const s_jsBufferPrototypeReadUIntLECode = "(function (a,d){\"use strict\";const r=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(d){case 1:return r.getUint8(a);case 2:return r.getUint16(a,!0);case 3:return r.getUint16(a,!0)+r.getUint8(a+2)*65536;case 4:return r.getUint32(a,!0);case 5:return r.getUint8(a+4)*4294967296+r.getUint32(a,!0);case 6:return r.getUint16(a+4,!0)*4294967296+r.getUint32(a,!0)}@throwRangeError(\"byteLength must be >= 1 and <= 6\")})\n";
// readUIntBE
const JSC::ConstructAbility s_jsBufferPrototypeReadUIntBECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -854,7 +854,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeReadUIntBECodeConstructorKind = JS
const JSC::ImplementationVisibility s_jsBufferPrototypeReadUIntBECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeReadUIntBECodeLength = 504;
static const JSC::Intrinsic s_jsBufferPrototypeReadUIntBECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeReadUIntBECode = "(function (d,p){\"use strict\";const r=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(p){case 1:return r.getUint8(d);case 2:return r.getUint16(d,!1);case 3:return r.getUint16(d+1,!1)+r.getUint8(d)*65536;case 4:return r.getUint32(d,!1);case 5:{const c=r.getUint8(d);return(c|(c&128)*33554430)*4294967296+r.getUint32(d+1,!1)}case 6:{const c=r.getUint16(d,!1);return(c|(c&32768)*131070)*4294967296+r.getUint32(d+2,!1)}}@throwRangeError(\"byteLength must be >= 1 and <= 6\")})\n";
+const char* const s_jsBufferPrototypeReadUIntBECode = "(function (d,r){\"use strict\";const c=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(r){case 1:return c.getUint8(d);case 2:return c.getUint16(d,!1);case 3:return c.getUint16(d+1,!1)+c.getUint8(d)*65536;case 4:return c.getUint32(d,!1);case 5:{const p=c.getUint8(d);return(p|(p&128)*33554430)*4294967296+c.getUint32(d+1,!1)}case 6:{const p=c.getUint16(d,!1);return(p|(p&32768)*131070)*4294967296+c.getUint32(d+2,!1)}}@throwRangeError(\"byteLength must be >= 1 and <= 6\")})\n";
// readFloatLE
const JSC::ConstructAbility s_jsBufferPrototypeReadFloatLECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -926,7 +926,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteInt8CodeConstructorKind = JSC
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteInt8CodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteInt8CodeLength = 131;
static const JSC::Intrinsic s_jsBufferPrototypeWriteInt8CodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteInt8Code = "(function (r,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt8(d,r),d+1})\n";
+const char* const s_jsBufferPrototypeWriteInt8Code = "(function (d,r){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt8(r,d),r+1})\n";
// writeUInt8
const JSC::ConstructAbility s_jsBufferPrototypeWriteUInt8CodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -934,7 +934,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteUInt8CodeConstructorKind = JS
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteUInt8CodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteUInt8CodeLength = 132;
static const JSC::Intrinsic s_jsBufferPrototypeWriteUInt8CodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteUInt8Code = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint8(c,d),c+1})\n";
+const char* const s_jsBufferPrototypeWriteUInt8Code = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint8(d,c),d+1})\n";
// writeInt16LE
const JSC::ConstructAbility s_jsBufferPrototypeWriteInt16LECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -942,7 +942,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteInt16LECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteInt16LECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteInt16LECodeLength = 135;
static const JSC::Intrinsic s_jsBufferPrototypeWriteInt16LECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteInt16LECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt16(c,d,!0),c+2})\n";
+const char* const s_jsBufferPrototypeWriteInt16LECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt16(d,c,!0),d+2})\n";
// writeInt16BE
const JSC::ConstructAbility s_jsBufferPrototypeWriteInt16BECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -950,7 +950,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteInt16BECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteInt16BECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteInt16BECodeLength = 135;
static const JSC::Intrinsic s_jsBufferPrototypeWriteInt16BECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteInt16BECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt16(c,d,!1),c+2})\n";
+const char* const s_jsBufferPrototypeWriteInt16BECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt16(d,c,!1),d+2})\n";
// writeUInt16LE
const JSC::ConstructAbility s_jsBufferPrototypeWriteUInt16LECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -958,7 +958,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteUInt16LECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteUInt16LECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteUInt16LECodeLength = 136;
static const JSC::Intrinsic s_jsBufferPrototypeWriteUInt16LECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteUInt16LECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint16(c,d,!0),c+2})\n";
+const char* const s_jsBufferPrototypeWriteUInt16LECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint16(d,c,!0),d+2})\n";
// writeUInt16BE
const JSC::ConstructAbility s_jsBufferPrototypeWriteUInt16BECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -966,7 +966,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteUInt16BECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteUInt16BECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteUInt16BECodeLength = 136;
static const JSC::Intrinsic s_jsBufferPrototypeWriteUInt16BECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteUInt16BECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint16(c,d,!1),c+2})\n";
+const char* const s_jsBufferPrototypeWriteUInt16BECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint16(d,c,!1),d+2})\n";
// writeInt32LE
const JSC::ConstructAbility s_jsBufferPrototypeWriteInt32LECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -974,7 +974,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteInt32LECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteInt32LECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteInt32LECodeLength = 135;
static const JSC::Intrinsic s_jsBufferPrototypeWriteInt32LECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteInt32LECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt32(c,d,!0),c+4})\n";
+const char* const s_jsBufferPrototypeWriteInt32LECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt32(d,c,!0),d+4})\n";
// writeInt32BE
const JSC::ConstructAbility s_jsBufferPrototypeWriteInt32BECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -982,7 +982,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteInt32BECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteInt32BECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteInt32BECodeLength = 135;
static const JSC::Intrinsic s_jsBufferPrototypeWriteInt32BECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteInt32BECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt32(c,d,!1),c+4})\n";
+const char* const s_jsBufferPrototypeWriteInt32BECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setInt32(d,c,!1),d+4})\n";
// writeUInt32LE
const JSC::ConstructAbility s_jsBufferPrototypeWriteUInt32LECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -990,7 +990,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteUInt32LECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteUInt32LECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteUInt32LECodeLength = 136;
static const JSC::Intrinsic s_jsBufferPrototypeWriteUInt32LECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteUInt32LECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint32(c,d,!0),c+4})\n";
+const char* const s_jsBufferPrototypeWriteUInt32LECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint32(d,c,!0),d+4})\n";
// writeUInt32BE
const JSC::ConstructAbility s_jsBufferPrototypeWriteUInt32BECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -998,7 +998,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteUInt32BECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteUInt32BECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteUInt32BECodeLength = 136;
static const JSC::Intrinsic s_jsBufferPrototypeWriteUInt32BECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteUInt32BECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint32(c,d,!1),c+4})\n";
+const char* const s_jsBufferPrototypeWriteUInt32BECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setUint32(d,c,!1),d+4})\n";
// writeIntLE
const JSC::ConstructAbility s_jsBufferPrototypeWriteIntLECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1006,7 +1006,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteIntLECodeConstructorKind = JS
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteIntLECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteIntLECodeLength = 573;
static const JSC::Intrinsic s_jsBufferPrototypeWriteIntLECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteIntLECode = "(function (r,d,j){\"use strict\";const c=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(j){case 1:{c.setInt8(d,r);break}case 2:{c.setInt16(d,r,!0);break}case 3:{c.setUint16(d,r&65535,!0),c.setInt8(d+2,Math.floor(r*0.0000152587890625));break}case 4:{c.setInt32(d,r,!0);break}case 5:{c.setUint32(d,r|0,!0),c.setInt8(d+4,Math.floor(r*0.00000000023283064365386964));break}case 6:{c.setUint32(d,r|0,!0),c.setInt16(d+4,Math.floor(r*0.00000000023283064365386964),!0);break}default:@throwRangeError(\"byteLength must be >= 1 and <= 6\")}return d+j})\n";
+const char* const s_jsBufferPrototypeWriteIntLECode = "(function (d,r,c){\"use strict\";const j=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(c){case 1:{j.setInt8(r,d);break}case 2:{j.setInt16(r,d,!0);break}case 3:{j.setUint16(r,d&65535,!0),j.setInt8(r+2,Math.floor(d*0.0000152587890625));break}case 4:{j.setInt32(r,d,!0);break}case 5:{j.setUint32(r,d|0,!0),j.setInt8(r+4,Math.floor(d*0.00000000023283064365386964));break}case 6:{j.setUint32(r,d|0,!0),j.setInt16(r+4,Math.floor(d*0.00000000023283064365386964),!0);break}default:@throwRangeError(\"byteLength must be >= 1 and <= 6\")}return r+c})\n";
// writeIntBE
const JSC::ConstructAbility s_jsBufferPrototypeWriteIntBECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1014,7 +1014,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteIntBECodeConstructorKind = JS
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteIntBECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteIntBECodeLength = 573;
static const JSC::Intrinsic s_jsBufferPrototypeWriteIntBECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteIntBECode = "(function (r,d,c){\"use strict\";const E=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(c){case 1:{E.setInt8(d,r);break}case 2:{E.setInt16(d,r,!1);break}case 3:{E.setUint16(d+1,r&65535,!1),E.setInt8(d,Math.floor(r*0.0000152587890625));break}case 4:{E.setInt32(d,r,!1);break}case 5:{E.setUint32(d+1,r|0,!1),E.setInt8(d,Math.floor(r*0.00000000023283064365386964));break}case 6:{E.setUint32(d+2,r|0,!1),E.setInt16(d,Math.floor(r*0.00000000023283064365386964),!1);break}default:@throwRangeError(\"byteLength must be >= 1 and <= 6\")}return d+c})\n";
+const char* const s_jsBufferPrototypeWriteIntBECode = "(function (d,r,E){\"use strict\";const c=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(E){case 1:{c.setInt8(r,d);break}case 2:{c.setInt16(r,d,!1);break}case 3:{c.setUint16(r+1,d&65535,!1),c.setInt8(r,Math.floor(d*0.0000152587890625));break}case 4:{c.setInt32(r,d,!1);break}case 5:{c.setUint32(r+1,d|0,!1),c.setInt8(r,Math.floor(d*0.00000000023283064365386964));break}case 6:{c.setUint32(r+2,d|0,!1),c.setInt16(r,Math.floor(d*0.00000000023283064365386964),!1);break}default:@throwRangeError(\"byteLength must be >= 1 and <= 6\")}return r+E})\n";
// writeUIntLE
const JSC::ConstructAbility s_jsBufferPrototypeWriteUIntLECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1022,7 +1022,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteUIntLECodeConstructorKind = J
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteUIntLECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteUIntLECodeLength = 579;
static const JSC::Intrinsic s_jsBufferPrototypeWriteUIntLECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteUIntLECode = "(function (r,d,c){\"use strict\";const E=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(c){case 1:{E.setUint8(d,r);break}case 2:{E.setUint16(d,r,!0);break}case 3:{E.setUint16(d,r&65535,!0),E.setUint8(d+2,Math.floor(r*0.0000152587890625));break}case 4:{E.setUint32(d,r,!0);break}case 5:{E.setUint32(d,r|0,!0),E.setUint8(d+4,Math.floor(r*0.00000000023283064365386964));break}case 6:{E.setUint32(d,r|0,!0),E.setUint16(d+4,Math.floor(r*0.00000000023283064365386964),!0);break}default:@throwRangeError(\"byteLength must be >= 1 and <= 6\")}return d+c})\n";
+const char* const s_jsBufferPrototypeWriteUIntLECode = "(function (d,r,E){\"use strict\";const c=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(E){case 1:{c.setUint8(r,d);break}case 2:{c.setUint16(r,d,!0);break}case 3:{c.setUint16(r,d&65535,!0),c.setUint8(r+2,Math.floor(d*0.0000152587890625));break}case 4:{c.setUint32(r,d,!0);break}case 5:{c.setUint32(r,d|0,!0),c.setUint8(r+4,Math.floor(d*0.00000000023283064365386964));break}case 6:{c.setUint32(r,d|0,!0),c.setUint16(r+4,Math.floor(d*0.00000000023283064365386964),!0);break}default:@throwRangeError(\"byteLength must be >= 1 and <= 6\")}return r+E})\n";
// writeUIntBE
const JSC::ConstructAbility s_jsBufferPrototypeWriteUIntBECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1030,7 +1030,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteUIntBECodeConstructorKind = J
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteUIntBECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteUIntBECodeLength = 579;
static const JSC::Intrinsic s_jsBufferPrototypeWriteUIntBECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteUIntBECode = "(function (r,d,_){\"use strict\";const p=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(_){case 1:{p.setUint8(d,r);break}case 2:{p.setUint16(d,r,!1);break}case 3:{p.setUint16(d+1,r&65535,!1),p.setUint8(d,Math.floor(r*0.0000152587890625));break}case 4:{p.setUint32(d,r,!1);break}case 5:{p.setUint32(d+1,r|0,!1),p.setUint8(d,Math.floor(r*0.00000000023283064365386964));break}case 6:{p.setUint32(d+2,r|0,!1),p.setUint16(d,Math.floor(r*0.00000000023283064365386964),!1);break}default:@throwRangeError(\"byteLength must be >= 1 and <= 6\")}return d+_})\n";
+const char* const s_jsBufferPrototypeWriteUIntBECode = "(function (d,r,p){\"use strict\";const _=this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength);switch(p){case 1:{_.setUint8(r,d);break}case 2:{_.setUint16(r,d,!1);break}case 3:{_.setUint16(r+1,d&65535,!1),_.setUint8(r,Math.floor(d*0.0000152587890625));break}case 4:{_.setUint32(r,d,!1);break}case 5:{_.setUint32(r+1,d|0,!1),_.setUint8(r,Math.floor(d*0.00000000023283064365386964));break}case 6:{_.setUint32(r+2,d|0,!1),_.setUint16(r,Math.floor(d*0.00000000023283064365386964),!1);break}default:@throwRangeError(\"byteLength must be >= 1 and <= 6\")}return r+p})\n";
// writeFloatLE
const JSC::ConstructAbility s_jsBufferPrototypeWriteFloatLECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1038,7 +1038,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteFloatLECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteFloatLECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteFloatLECodeLength = 137;
static const JSC::Intrinsic s_jsBufferPrototypeWriteFloatLECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteFloatLECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setFloat32(c,d,!0),c+4})\n";
+const char* const s_jsBufferPrototypeWriteFloatLECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setFloat32(d,c,!0),d+4})\n";
// writeFloatBE
const JSC::ConstructAbility s_jsBufferPrototypeWriteFloatBECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1046,7 +1046,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteFloatBECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteFloatBECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteFloatBECodeLength = 137;
static const JSC::Intrinsic s_jsBufferPrototypeWriteFloatBECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteFloatBECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setFloat32(c,d,!1),c+4})\n";
+const char* const s_jsBufferPrototypeWriteFloatBECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setFloat32(d,c,!1),d+4})\n";
// writeDoubleLE
const JSC::ConstructAbility s_jsBufferPrototypeWriteDoubleLECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1054,7 +1054,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteDoubleLECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteDoubleLECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteDoubleLECodeLength = 137;
static const JSC::Intrinsic s_jsBufferPrototypeWriteDoubleLECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteDoubleLECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setFloat64(c,d,!0),c+8})\n";
+const char* const s_jsBufferPrototypeWriteDoubleLECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setFloat64(d,c,!0),d+8})\n";
// writeDoubleBE
const JSC::ConstructAbility s_jsBufferPrototypeWriteDoubleBECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1062,7 +1062,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteDoubleBECodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteDoubleBECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteDoubleBECodeLength = 137;
static const JSC::Intrinsic s_jsBufferPrototypeWriteDoubleBECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteDoubleBECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setFloat64(c,d,!1),c+8})\n";
+const char* const s_jsBufferPrototypeWriteDoubleBECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setFloat64(d,c,!1),d+8})\n";
// writeBigInt64LE
const JSC::ConstructAbility s_jsBufferPrototypeWriteBigInt64LECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1070,7 +1070,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteBigInt64LECodeConstructorKind
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteBigInt64LECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteBigInt64LECodeLength = 138;
static const JSC::Intrinsic s_jsBufferPrototypeWriteBigInt64LECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteBigInt64LECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setBigInt64(c,d,!0),c+8})\n";
+const char* const s_jsBufferPrototypeWriteBigInt64LECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setBigInt64(d,c,!0),d+8})\n";
// writeBigInt64BE
const JSC::ConstructAbility s_jsBufferPrototypeWriteBigInt64BECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1078,7 +1078,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteBigInt64BECodeConstructorKind
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteBigInt64BECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteBigInt64BECodeLength = 138;
static const JSC::Intrinsic s_jsBufferPrototypeWriteBigInt64BECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteBigInt64BECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setBigInt64(c,d,!1),c+8})\n";
+const char* const s_jsBufferPrototypeWriteBigInt64BECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setBigInt64(d,c,!1),d+8})\n";
// writeBigUInt64LE
const JSC::ConstructAbility s_jsBufferPrototypeWriteBigUInt64LECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1086,7 +1086,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteBigUInt64LECodeConstructorKin
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteBigUInt64LECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteBigUInt64LECodeLength = 139;
static const JSC::Intrinsic s_jsBufferPrototypeWriteBigUInt64LECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteBigUInt64LECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setBigUint64(c,d,!0),c+8})\n";
+const char* const s_jsBufferPrototypeWriteBigUInt64LECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setBigUint64(d,c,!0),d+8})\n";
// writeBigUInt64BE
const JSC::ConstructAbility s_jsBufferPrototypeWriteBigUInt64BECodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1094,7 +1094,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeWriteBigUInt64BECodeConstructorKin
const JSC::ImplementationVisibility s_jsBufferPrototypeWriteBigUInt64BECodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeWriteBigUInt64BECodeLength = 139;
static const JSC::Intrinsic s_jsBufferPrototypeWriteBigUInt64BECodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeWriteBigUInt64BECode = "(function (d,c){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setBigUint64(c,d,!1),c+8})\n";
+const char* const s_jsBufferPrototypeWriteBigUInt64BECode = "(function (c,d){\"use strict\";return(this.@dataView||=new DataView(this.buffer,this.byteOffset,this.byteLength)).setBigUint64(d,c,!1),d+8})\n";
// utf8Write
const JSC::ConstructAbility s_jsBufferPrototypeUtf8WriteCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1118,7 +1118,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeUtf16leWriteCodeConstructorKind =
const JSC::ImplementationVisibility s_jsBufferPrototypeUtf16leWriteCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeUtf16leWriteCodeLength = 68;
static const JSC::Intrinsic s_jsBufferPrototypeUtf16leWriteCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeUtf16leWriteCode = "(function (d,r,a){\"use strict\";return this.write(d,r,a,\"utf16le\")})\n";
+const char* const s_jsBufferPrototypeUtf16leWriteCode = "(function (r,d,a){\"use strict\";return this.write(r,d,a,\"utf16le\")})\n";
// latin1Write
const JSC::ConstructAbility s_jsBufferPrototypeLatin1WriteCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1238,7 +1238,7 @@ const JSC::ConstructorKind s_jsBufferPrototypeSliceCodeConstructorKind = JSC::Co
const JSC::ImplementationVisibility s_jsBufferPrototypeSliceCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferPrototypeSliceCodeLength = 260;
static const JSC::Intrinsic s_jsBufferPrototypeSliceCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferPrototypeSliceCode = "(function (w,m){\"use strict\";var{buffer:x,byteOffset:z,byteLength:p}=this;function q(c,k){if(c=@trunc(c),c===0||@isNaN(c))return 0;else if(c<0)return c+=k,c>0\?c:0;else return c<k\?c:k}var i=q(w,p),v=m!==@undefined\?q(m,p):p;return new @Buffer(x,z+i,v>i\?v-i:0)})\n";
+const char* const s_jsBufferPrototypeSliceCode = "(function (i,q){\"use strict\";var{buffer:c,byteOffset:v,byteLength:p}=this;function w(z,m){if(z=@trunc(z),z===0||@isNaN(z))return 0;else if(z<0)return z+=m,z>0\?z:0;else return z<m\?z:m}var k=w(i,p),x=q!==@undefined\?w(q,p):p;return new @Buffer(c,v+k,x>k\?x-k:0)})\n";
// parent
const JSC::ConstructAbility s_jsBufferPrototypeParentCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1312,7 +1312,7 @@ const JSC::ConstructorKind s_readableByteStreamControllerByobRequestCodeConstruc
const JSC::ImplementationVisibility s_readableByteStreamControllerByobRequestCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamControllerByobRequestCodeLength = 523;
static const JSC::Intrinsic s_readableByteStreamControllerByobRequestCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamControllerByobRequestCode = "(function (){\"use strict\";if(!@isReadableByteStreamController(this))throw @makeGetterTypeError(\"ReadableByteStreamController\",\"byobRequest\");var a=@getByIdDirectPrivate(this,\"byobRequest\");if(a===@undefined){var l=@getByIdDirectPrivate(this,\"pendingPullIntos\");const _=l.peek();if(_){const m=new @Uint8Array(_.buffer,_.byteOffset+_.bytesFilled,_.byteLength-_.bytesFilled);@putByIdDirectPrivate(this,\"byobRequest\",new @ReadableStreamBYOBRequest(this,m,@isReadableStream))}}return @getByIdDirectPrivate(this,\"byobRequest\")})\n";
+const char* const s_readableByteStreamControllerByobRequestCode = "(function (){\"use strict\";if(!@isReadableByteStreamController(this))throw @makeGetterTypeError(\"ReadableByteStreamController\",\"byobRequest\");var _=@getByIdDirectPrivate(this,\"byobRequest\");if(_===@undefined){var a=@getByIdDirectPrivate(this,\"pendingPullIntos\");const l=a.peek();if(l){const m=new @Uint8Array(l.buffer,l.byteOffset+l.bytesFilled,l.byteLength-l.bytesFilled);@putByIdDirectPrivate(this,\"byobRequest\",new @ReadableStreamBYOBRequest(this,m,@isReadableStream))}}return @getByIdDirectPrivate(this,\"byobRequest\")})\n";
// desiredSize
const JSC::ConstructAbility s_readableByteStreamControllerDesiredSizeCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1338,7 +1338,7 @@ const JSC::ConstructorKind s_consoleObjectAsyncIteratorCodeConstructorKind = JSC
const JSC::ImplementationVisibility s_consoleObjectAsyncIteratorCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_consoleObjectAsyncIteratorCodeLength = 577;
static const JSC::Intrinsic s_consoleObjectAsyncIteratorCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_consoleObjectAsyncIteratorCode = "(function (){\"use strict\";const D=async function*L(){var F=@Bun.stdin.stream().getReader(),G=new globalThis.TextDecoder(\"utf-8\",{fatal:!1}),z,H=@Bun.indexOfLine;try{while(!0){var A,B,w;const m=F.readMany();if(@isPromise(m))({done:A,value:B}=await m);else({done:A,value:B}=m);if(A){if(w)yield G.decode(w);return}var _;for(let J of B){if(_=J,w)_=@Buffer.concat([w,J]),w=null;var j=0,q=H(_,j);while(q!==-1)yield G.decode(_.subarray(j,q)),j=q+1,q=H(_,j);w=_.subarray(j)}}}catch(m){z=m}finally{if(F.releaseLock(),z)throw z}},K=globalThis.Symbol.asyncIterator;return this[K]=D,D()})\n";
+const char* const s_consoleObjectAsyncIteratorCode = "(function (){\"use strict\";const w=async function*_(){var G=@Bun.stdin.stream().getReader(),B=new globalThis.TextDecoder(\"utf-8\",{fatal:!1}),H,J=@Bun.indexOfLine;try{while(!0){var j,D,K;const q=G.readMany();if(@isPromise(q))({done:j,value:D}=await q);else({done:j,value:D}=q);if(j){if(K)yield B.decode(K);return}var m;for(let M of D){if(m=M,K)m=@Buffer.concat([K,M]),K=null;var L=0,F=J(m,L);while(F!==-1)yield B.decode(m.subarray(L,F)),L=F+1,F=J(m,L);K=m.subarray(L)}}}catch(q){H=q}finally{if(G.releaseLock(),H)throw H}},z=globalThis.Symbol.asyncIterator;return this[z]=w,w()})\n";
// write
const JSC::ConstructAbility s_consoleObjectWriteCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1346,7 +1346,7 @@ const JSC::ConstructorKind s_consoleObjectWriteCodeConstructorKind = JSC::Constr
const JSC::ImplementationVisibility s_consoleObjectWriteCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_consoleObjectWriteCodeLength = 310;
static const JSC::Intrinsic s_consoleObjectWriteCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_consoleObjectWriteCode = "(function (_){\"use strict\";var a=@getByIdDirectPrivate(this,\"writer\");if(!a){var b=@toLength(_\?.length\?\?0);a=@Bun.stdout.writer({highWaterMark:b>65536\?b:65536}),@putByIdDirectPrivate(this,\"writer\",a)}var c=a.write(_);const f=@argumentCount();for(var d=1;d<f;d++)c+=a.write(@argument(d));return a.flush(!0),c})\n";
+const char* const s_consoleObjectWriteCode = "(function (d){\"use strict\";var _=@getByIdDirectPrivate(this,\"writer\");if(!_){var b=@toLength(d\?.length\?\?0);_=@Bun.stdout.writer({highWaterMark:b>65536\?b:65536}),@putByIdDirectPrivate(this,\"writer\",_)}var c=_.write(d);const f=@argumentCount();for(var a=1;a<f;a++)c+=_.write(@argument(a));return _.flush(!0),c})\n";
#define DEFINE_BUILTIN_GENERATOR(codeName, functionName, overriddenName, argumentCount) \
JSC::FunctionExecutable* codeName##Generator(JSC::VM& vm) \
@@ -1364,7 +1364,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamReaderGenericI
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamReaderGenericInitializeCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamReaderGenericInitializeCodeLength = 585;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamReaderGenericInitializeCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamReaderGenericInitializeCode = "(function (_,i){\"use strict\";if(@putByIdDirectPrivate(_,\"ownerReadableStream\",i),@putByIdDirectPrivate(i,\"reader\",_),@getByIdDirectPrivate(i,\"state\")===@streamReadable)@putByIdDirectPrivate(_,\"closedPromiseCapability\",@newPromiseCapability(@Promise));else if(@getByIdDirectPrivate(i,\"state\")===@streamClosed)@putByIdDirectPrivate(_,\"closedPromiseCapability\",{@promise:@Promise.@resolve()});else @assert(@getByIdDirectPrivate(i,\"state\")===@streamErrored),@putByIdDirectPrivate(_,\"closedPromiseCapability\",{@promise:@newHandledRejectedPromise(@getByIdDirectPrivate(i,\"storedError\"))})})\n";
+const char* const s_readableStreamInternalsReadableStreamReaderGenericInitializeCode = "(function (i,_){\"use strict\";if(@putByIdDirectPrivate(i,\"ownerReadableStream\",_),@putByIdDirectPrivate(_,\"reader\",i),@getByIdDirectPrivate(_,\"state\")===@streamReadable)@putByIdDirectPrivate(i,\"closedPromiseCapability\",@newPromiseCapability(@Promise));else if(@getByIdDirectPrivate(_,\"state\")===@streamClosed)@putByIdDirectPrivate(i,\"closedPromiseCapability\",{@promise:@Promise.@resolve()});else @assert(@getByIdDirectPrivate(_,\"state\")===@streamErrored),@putByIdDirectPrivate(i,\"closedPromiseCapability\",{@promise:@newHandledRejectedPromise(@getByIdDirectPrivate(_,\"storedError\"))})})\n";
// privateInitializeReadableStreamDefaultController
const JSC::ConstructAbility s_readableStreamInternalsPrivateInitializeReadableStreamDefaultControllerCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1380,7 +1380,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamDefaultControl
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamDefaultControllerErrorCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamDefaultControllerErrorCodeLength = 223;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamDefaultControllerErrorCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamDefaultControllerErrorCode = "(function (i,d){\"use strict\";const u=@getByIdDirectPrivate(i,\"controlledReadableStream\");if(@getByIdDirectPrivate(u,\"state\")!==@streamReadable)return;@putByIdDirectPrivate(i,\"queue\",@newQueue()),@readableStreamError(u,d)})\n";
+const char* const s_readableStreamInternalsReadableStreamDefaultControllerErrorCode = "(function (i,u){\"use strict\";const d=@getByIdDirectPrivate(i,\"controlledReadableStream\");if(@getByIdDirectPrivate(d,\"state\")!==@streamReadable)return;@putByIdDirectPrivate(i,\"queue\",@newQueue()),@readableStreamError(d,u)})\n";
// readableStreamPipeTo
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamPipeToCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1388,7 +1388,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamPipeToCodeCons
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamPipeToCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamPipeToCodeLength = 427;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamPipeToCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamPipeToCode = "(function (g,c){\"use strict\";@assert(@isReadableStream(g));const h=new @ReadableStreamDefaultReader(g);@getByIdDirectPrivate(h,\"closedPromiseCapability\").@promise.@then(()=>{},(_)=>{c.error(_)});function y(){@readableStreamDefaultReaderRead(h).@then(function(_){if(_.done){c.close();return}try{c.enqueue(_.value)}catch(S){c.error(\"ReadableStream chunk enqueueing in the sink failed\");return}y()},function(_){c.error(_)})}y()})\n";
+const char* const s_readableStreamInternalsReadableStreamPipeToCode = "(function (_,h){\"use strict\";@assert(@isReadableStream(_));const y=new @ReadableStreamDefaultReader(_);@getByIdDirectPrivate(y,\"closedPromiseCapability\").@promise.@then(()=>{},(c)=>{h.error(c)});function S(){@readableStreamDefaultReaderRead(y).@then(function(c){if(c.done){h.close();return}try{h.enqueue(c.value)}catch(g){h.error(\"ReadableStream chunk enqueueing in the sink failed\");return}S()},function(c){h.error(c)})}S()})\n";
// acquireReadableStreamDefaultReader
const JSC::ConstructAbility s_readableStreamInternalsAcquireReadableStreamDefaultReaderCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1404,7 +1404,7 @@ const JSC::ConstructorKind s_readableStreamInternalsSetupReadableStreamDefaultCo
const JSC::ImplementationVisibility s_readableStreamInternalsSetupReadableStreamDefaultControllerCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsSetupReadableStreamDefaultControllerCodeLength = 523;
static const JSC::Intrinsic s_readableStreamInternalsSetupReadableStreamDefaultControllerCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsSetupReadableStreamDefaultControllerCode = "(function (b,f,j,q,D,v,w){\"use strict\";const _=new @ReadableStreamDefaultController(b,f,j,q,@isReadableStream),x=()=>@promiseInvokeOrNoopMethod(f,v,[_]),B=(C)=>@promiseInvokeOrNoopMethod(f,w,[C]);@putByIdDirectPrivate(_,\"pullAlgorithm\",x),@putByIdDirectPrivate(_,\"cancelAlgorithm\",B),@putByIdDirectPrivate(_,\"pull\",@readableStreamDefaultControllerPull),@putByIdDirectPrivate(_,\"cancel\",@readableStreamDefaultControllerCancel),@putByIdDirectPrivate(b,\"readableStreamController\",_),@readableStreamDefaultControllerStart(_)})\n";
+const char* const s_readableStreamInternalsSetupReadableStreamDefaultControllerCode = "(function (b,v,_,w,f,x,j){\"use strict\";const B=new @ReadableStreamDefaultController(b,v,_,w,@isReadableStream),C=()=>@promiseInvokeOrNoopMethod(v,x,[B]),q=(D)=>@promiseInvokeOrNoopMethod(v,j,[D]);@putByIdDirectPrivate(B,\"pullAlgorithm\",C),@putByIdDirectPrivate(B,\"cancelAlgorithm\",q),@putByIdDirectPrivate(B,\"pull\",@readableStreamDefaultControllerPull),@putByIdDirectPrivate(B,\"cancel\",@readableStreamDefaultControllerCancel),@putByIdDirectPrivate(b,\"readableStreamController\",B),@readableStreamDefaultControllerStart(B)})\n";
// createReadableStreamController
const JSC::ConstructAbility s_readableStreamInternalsCreateReadableStreamControllerCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1412,7 +1412,7 @@ const JSC::ConstructorKind s_readableStreamInternalsCreateReadableStreamControll
const JSC::ImplementationVisibility s_readableStreamInternalsCreateReadableStreamControllerCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsCreateReadableStreamControllerCodeLength = 671;
static const JSC::Intrinsic s_readableStreamInternalsCreateReadableStreamControllerCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsCreateReadableStreamControllerCode = "(function (w,v,f){\"use strict\";const A=v.type,C=@toString(A);if(C===\"bytes\"){if(f.highWaterMark===@undefined)f.highWaterMark=0;if(f.size!==@undefined)@throwRangeError(\"Strategy for a ReadableByteStreamController cannot have a size\");@putByIdDirectPrivate(w,\"readableStreamController\",new @ReadableByteStreamController(w,v,f.highWaterMark,@isReadableStream))}else if(C===\"direct\"){var b=f\?.highWaterMark;@initializeArrayBufferStream.@call(w,v,b)}else if(A===@undefined){if(f.highWaterMark===@undefined)f.highWaterMark=1;@setupReadableStreamDefaultController(w,v,f.size,f.highWaterMark,v.start,v.pull,v.cancel)}else @throwRangeError(\"Invalid type for underlying source\")})\n";
+const char* const s_readableStreamInternalsCreateReadableStreamControllerCode = "(function (f,v,w){\"use strict\";const A=v.type,C=@toString(A);if(C===\"bytes\"){if(w.highWaterMark===@undefined)w.highWaterMark=0;if(w.size!==@undefined)@throwRangeError(\"Strategy for a ReadableByteStreamController cannot have a size\");@putByIdDirectPrivate(f,\"readableStreamController\",new @ReadableByteStreamController(f,v,w.highWaterMark,@isReadableStream))}else if(C===\"direct\"){var b=w\?.highWaterMark;@initializeArrayBufferStream.@call(f,v,b)}else if(A===@undefined){if(w.highWaterMark===@undefined)w.highWaterMark=1;@setupReadableStreamDefaultController(f,v,w.size,w.highWaterMark,v.start,v.pull,v.cancel)}else @throwRangeError(\"Invalid type for underlying source\")})\n";
// readableStreamDefaultControllerStart
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamDefaultControllerStartCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1428,7 +1428,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamPipeToWritable
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamPipeToWritableStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamPipeToWritableStreamCodeLength = 1631;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamPipeToWritableStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamPipeToWritableStreamCode = "(function (f,E,z,B,F,D){\"use strict\";if(@assert(@isReadableStream(f)),@assert(@isWritableStream(E)),@assert(!@isReadableStreamLocked(f)),@assert(!@isWritableStreamLocked(E)),@assert(D===@undefined||@isAbortSignal(D)),@getByIdDirectPrivate(f,\"underlyingByteSource\")!==@undefined)return @Promise.@reject(\"Piping to a readable bytestream is not supported\");let _={source:f,destination:E,preventAbort:B,preventCancel:F,preventClose:z,signal:D};if(_.reader=@acquireReadableStreamDefaultReader(f),_.writer=@acquireWritableStreamDefaultWriter(E),@putByIdDirectPrivate(f,\"disturbed\",!0),_.finalized=!1,_.shuttingDown=!1,_.promiseCapability=@newPromiseCapability(@Promise),_.pendingReadPromiseCapability=@newPromiseCapability(@Promise),_.pendingReadPromiseCapability.@resolve.@call(),_.pendingWritePromise=@Promise.@resolve(),D!==@undefined){const G=(T)=>{if(_.finalized)return;@pipeToShutdownWithAction(_,()=>{const H=!_.preventAbort&&@getByIdDirectPrivate(_.destination,\"state\")===\"writable\"\?@writableStreamAbort(_.destination,T):@Promise.@resolve(),I=!_.preventCancel&&@getByIdDirectPrivate(_.source,\"state\")===@streamReadable\?@readableStreamCancel(_.source,T):@Promise.@resolve();let k=@newPromiseCapability(@Promise),q=!0,w=()=>{if(q){q=!1;return}k.@resolve.@call()},x=(J)=>{k.@reject.@call(@undefined,J)};return H.@then(w,x),I.@then(w,x),k.@promise},T)};if(@whenSignalAborted(D,G))return _.promiseCapability.@promise}return @pipeToErrorsMustBePropagatedForward(_),@pipeToErrorsMustBePropagatedBackward(_),@pipeToClosingMustBePropagatedForward(_),@pipeToClosingMustBePropagatedBackward(_),@pipeToLoop(_),_.promiseCapability.@promise})\n";
+const char* const s_readableStreamInternalsReadableStreamPipeToWritableStreamCode = "(function (_,f,D,E,T,k){\"use strict\";if(@assert(@isReadableStream(_)),@assert(@isWritableStream(f)),@assert(!@isReadableStreamLocked(_)),@assert(!@isWritableStreamLocked(f)),@assert(k===@undefined||@isAbortSignal(k)),@getByIdDirectPrivate(_,\"underlyingByteSource\")!==@undefined)return @Promise.@reject(\"Piping to a readable bytestream is not supported\");let q={source:_,destination:f,preventAbort:E,preventCancel:T,preventClose:D,signal:k};if(q.reader=@acquireReadableStreamDefaultReader(_),q.writer=@acquireWritableStreamDefaultWriter(f),@putByIdDirectPrivate(_,\"disturbed\",!0),q.finalized=!1,q.shuttingDown=!1,q.promiseCapability=@newPromiseCapability(@Promise),q.pendingReadPromiseCapability=@newPromiseCapability(@Promise),q.pendingReadPromiseCapability.@resolve.@call(),q.pendingWritePromise=@Promise.@resolve(),k!==@undefined){const w=(x)=>{if(q.finalized)return;@pipeToShutdownWithAction(q,()=>{const B=!q.preventAbort&&@getByIdDirectPrivate(q.destination,\"state\")===\"writable\"\?@writableStreamAbort(q.destination,x):@Promise.@resolve(),G=!q.preventCancel&&@getByIdDirectPrivate(q.source,\"state\")===@streamReadable\?@readableStreamCancel(q.source,x):@Promise.@resolve();let H=@newPromiseCapability(@Promise),I=!0,J=()=>{if(I){I=!1;return}H.@resolve.@call()},K=(L)=>{H.@reject.@call(@undefined,L)};return B.@then(J,K),G.@then(J,K),H.@promise},x)};if(@whenSignalAborted(k,w))return q.promiseCapability.@promise}return @pipeToErrorsMustBePropagatedForward(q),@pipeToErrorsMustBePropagatedBackward(q),@pipeToClosingMustBePropagatedForward(q),@pipeToClosingMustBePropagatedBackward(q),@pipeToLoop(q),q.promiseCapability.@promise})\n";
// pipeToLoop
const JSC::ConstructAbility s_readableStreamInternalsPipeToLoopCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1452,7 +1452,7 @@ const JSC::ConstructorKind s_readableStreamInternalsPipeToErrorsMustBePropagated
const JSC::ImplementationVisibility s_readableStreamInternalsPipeToErrorsMustBePropagatedForwardCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsPipeToErrorsMustBePropagatedForwardCodeLength = 438;
static const JSC::Intrinsic s_readableStreamInternalsPipeToErrorsMustBePropagatedForwardCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsPipeToErrorsMustBePropagatedForwardCode = "(function (_){\"use strict\";const d=()=>{_.pendingReadPromiseCapability.@resolve.@call(@undefined,!1);const b=@getByIdDirectPrivate(_.source,\"storedError\");if(!_.preventAbort){@pipeToShutdownWithAction(_,()=>@writableStreamAbort(_.destination,b),b);return}@pipeToShutdown(_,b)};if(@getByIdDirectPrivate(_.source,\"state\")===@streamErrored){d();return}@getByIdDirectPrivate(_.reader,\"closedPromiseCapability\").@promise.@then(@undefined,d)})\n";
+const char* const s_readableStreamInternalsPipeToErrorsMustBePropagatedForwardCode = "(function (_){\"use strict\";const b=()=>{_.pendingReadPromiseCapability.@resolve.@call(@undefined,!1);const d=@getByIdDirectPrivate(_.source,\"storedError\");if(!_.preventAbort){@pipeToShutdownWithAction(_,()=>@writableStreamAbort(_.destination,d),d);return}@pipeToShutdown(_,d)};if(@getByIdDirectPrivate(_.source,\"state\")===@streamErrored){b();return}@getByIdDirectPrivate(_.reader,\"closedPromiseCapability\").@promise.@then(@undefined,b)})\n";
// pipeToErrorsMustBePropagatedBackward
const JSC::ConstructAbility s_readableStreamInternalsPipeToErrorsMustBePropagatedBackwardCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1460,7 +1460,7 @@ const JSC::ConstructorKind s_readableStreamInternalsPipeToErrorsMustBePropagated
const JSC::ImplementationVisibility s_readableStreamInternalsPipeToErrorsMustBePropagatedBackwardCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsPipeToErrorsMustBePropagatedBackwardCodeLength = 369;
static const JSC::Intrinsic s_readableStreamInternalsPipeToErrorsMustBePropagatedBackwardCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsPipeToErrorsMustBePropagatedBackwardCode = "(function (m){\"use strict\";const y=()=>{const h=@getByIdDirectPrivate(m.destination,\"storedError\");if(!m.preventCancel){@pipeToShutdownWithAction(m,()=>@readableStreamCancel(m.source,h),h);return}@pipeToShutdown(m,h)};if(@getByIdDirectPrivate(m.destination,\"state\")===\"errored\"){y();return}@getByIdDirectPrivate(m.writer,\"closedPromise\").@promise.@then(@undefined,y)})\n";
+const char* const s_readableStreamInternalsPipeToErrorsMustBePropagatedBackwardCode = "(function (m){\"use strict\";const h=()=>{const y=@getByIdDirectPrivate(m.destination,\"storedError\");if(!m.preventCancel){@pipeToShutdownWithAction(m,()=>@readableStreamCancel(m.source,y),y);return}@pipeToShutdown(m,y)};if(@getByIdDirectPrivate(m.destination,\"state\")===\"errored\"){h();return}@getByIdDirectPrivate(m.writer,\"closedPromise\").@promise.@then(@undefined,h)})\n";
// pipeToClosingMustBePropagatedForward
const JSC::ConstructAbility s_readableStreamInternalsPipeToClosingMustBePropagatedForwardCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1484,7 +1484,7 @@ const JSC::ConstructorKind s_readableStreamInternalsPipeToShutdownWithActionCode
const JSC::ImplementationVisibility s_readableStreamInternalsPipeToShutdownWithActionCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsPipeToShutdownWithActionCodeLength = 458;
static const JSC::Intrinsic s_readableStreamInternalsPipeToShutdownWithActionCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsPipeToShutdownWithActionCode = "(function (_,d){\"use strict\";if(_.shuttingDown)return;_.shuttingDown=!0;const g=arguments.length>2,h=arguments[2],m=()=>{d().@then(()=>{if(g)@pipeToFinalize(_,h);else @pipeToFinalize(_)},(j)=>{@pipeToFinalize(_,j)})};if(@getByIdDirectPrivate(_.destination,\"state\")===\"writable\"&&!@writableStreamCloseQueuedOrInFlight(_.destination)){_.pendingReadPromiseCapability.@promise.@then(()=>{_.pendingWritePromise.@then(m,m)},(b)=>@pipeToFinalize(_,b));return}m()})\n";
+const char* const s_readableStreamInternalsPipeToShutdownWithActionCode = "(function (_,m){\"use strict\";if(_.shuttingDown)return;_.shuttingDown=!0;const b=arguments.length>2,d=arguments[2],g=()=>{m().@then(()=>{if(b)@pipeToFinalize(_,d);else @pipeToFinalize(_)},(j)=>{@pipeToFinalize(_,j)})};if(@getByIdDirectPrivate(_.destination,\"state\")===\"writable\"&&!@writableStreamCloseQueuedOrInFlight(_.destination)){_.pendingReadPromiseCapability.@promise.@then(()=>{_.pendingWritePromise.@then(g,g)},(h)=>@pipeToFinalize(_,h));return}g()})\n";
// pipeToShutdown
const JSC::ConstructAbility s_readableStreamInternalsPipeToShutdownCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1492,7 +1492,7 @@ const JSC::ConstructorKind s_readableStreamInternalsPipeToShutdownCodeConstructo
const JSC::ImplementationVisibility s_readableStreamInternalsPipeToShutdownCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsPipeToShutdownCodeLength = 411;
static const JSC::Intrinsic s_readableStreamInternalsPipeToShutdownCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsPipeToShutdownCode = "(function (_){\"use strict\";if(_.shuttingDown)return;_.shuttingDown=!0;const m=arguments.length>1,u=arguments[1],d=()=>{if(m)@pipeToFinalize(_,u);else @pipeToFinalize(_)};if(@getByIdDirectPrivate(_.destination,\"state\")===\"writable\"&&!@writableStreamCloseQueuedOrInFlight(_.destination)){_.pendingReadPromiseCapability.@promise.@then(()=>{_.pendingWritePromise.@then(d,d)},(I)=>@pipeToFinalize(_,I));return}d()})\n";
+const char* const s_readableStreamInternalsPipeToShutdownCode = "(function (_){\"use strict\";if(_.shuttingDown)return;_.shuttingDown=!0;const d=arguments.length>1,m=arguments[1],u=()=>{if(d)@pipeToFinalize(_,m);else @pipeToFinalize(_)};if(@getByIdDirectPrivate(_.destination,\"state\")===\"writable\"&&!@writableStreamCloseQueuedOrInFlight(_.destination)){_.pendingReadPromiseCapability.@promise.@then(()=>{_.pendingWritePromise.@then(u,u)},(I)=>@pipeToFinalize(_,I));return}u()})\n";
// pipeToFinalize
const JSC::ConstructAbility s_readableStreamInternalsPipeToFinalizeCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1508,7 +1508,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamTeeCodeConstru
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamTeeCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamTeeCodeLength = 1104;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamTeeCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamTeeCode = "(function (_,q){\"use strict\";@assert(@isReadableStream(_)),@assert(typeof q===\"boolean\");var v=@getByIdDirectPrivate(_,\"start\");if(v)@putByIdDirectPrivate(_,\"start\",@undefined),v();const w=new @ReadableStreamDefaultReader(_),i={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:@undefined,reason2:@undefined};i.cancelPromiseCapability=@newPromiseCapability(@Promise);const x=@readableStreamTeePullFunction(i,w,q),f={};@putByIdDirectPrivate(f,\"pull\",x),@putByIdDirectPrivate(f,\"cancel\",@readableStreamTeeBranch1CancelFunction(i,_));const g={};@putByIdDirectPrivate(g,\"pull\",x),@putByIdDirectPrivate(g,\"cancel\",@readableStreamTeeBranch2CancelFunction(i,_));const j=new @ReadableStream(f),k=new @ReadableStream(g);return @getByIdDirectPrivate(w,\"closedPromiseCapability\").@promise.@then(@undefined,function(y){if(i.closedOrErrored)return;if(@readableStreamDefaultControllerError(j.@readableStreamController,y),@readableStreamDefaultControllerError(k.@readableStreamController,y),i.closedOrErrored=!0,!i.canceled1||!i.canceled2)i.cancelPromiseCapability.@resolve.@call()}),i.branch1=j,i.branch2=k,[j,k]})\n";
+const char* const s_readableStreamInternalsReadableStreamTeeCode = "(function (_,f){\"use strict\";@assert(@isReadableStream(_)),@assert(typeof f===\"boolean\");var g=@getByIdDirectPrivate(_,\"start\");if(g)@putByIdDirectPrivate(_,\"start\",@undefined),g();const j=new @ReadableStreamDefaultReader(_),k={closedOrErrored:!1,canceled1:!1,canceled2:!1,reason1:@undefined,reason2:@undefined};k.cancelPromiseCapability=@newPromiseCapability(@Promise);const q=@readableStreamTeePullFunction(k,j,f),v={};@putByIdDirectPrivate(v,\"pull\",q),@putByIdDirectPrivate(v,\"cancel\",@readableStreamTeeBranch1CancelFunction(k,_));const w={};@putByIdDirectPrivate(w,\"pull\",q),@putByIdDirectPrivate(w,\"cancel\",@readableStreamTeeBranch2CancelFunction(k,_));const x=new @ReadableStream(v),y=new @ReadableStream(w);return @getByIdDirectPrivate(j,\"closedPromiseCapability\").@promise.@then(@undefined,function(i){if(k.closedOrErrored)return;if(@readableStreamDefaultControllerError(x.@readableStreamController,i),@readableStreamDefaultControllerError(y.@readableStreamController,i),k.closedOrErrored=!0,!k.canceled1||!k.canceled2)k.cancelPromiseCapability.@resolve.@call()}),k.branch1=x,k.branch2=y,[x,y]})\n";
// readableStreamTeePullFunction
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamTeePullFunctionCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1516,7 +1516,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamTeePullFunctio
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamTeePullFunctionCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamTeePullFunctionCodeLength = 764;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamTeePullFunctionCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamTeePullFunctionCode = "(function (i,f,m){\"use strict\";return function(){@Promise.prototype.@then.@call(@readableStreamDefaultReaderRead(f),function(_){if(@assert(@isObject(_)),@assert(typeof _.done===\"boolean\"),_.done&&!i.closedOrErrored){if(!i.canceled1)@readableStreamDefaultControllerClose(i.branch1.@readableStreamController);if(!i.canceled2)@readableStreamDefaultControllerClose(i.branch2.@readableStreamController);if(i.closedOrErrored=!0,!i.canceled1||!i.canceled2)i.cancelPromiseCapability.@resolve.@call()}if(i.closedOrErrored)return;if(!i.canceled1)@readableStreamDefaultControllerEnqueue(i.branch1.@readableStreamController,_.value);if(!i.canceled2)@readableStreamDefaultControllerEnqueue(i.branch2.@readableStreamController,m\?@structuredCloneForStream(_.value):_.value)})}})\n";
+const char* const s_readableStreamInternalsReadableStreamTeePullFunctionCode = "(function (i,_,f){\"use strict\";return function(){@Promise.prototype.@then.@call(@readableStreamDefaultReaderRead(_),function(m){if(@assert(@isObject(m)),@assert(typeof m.done===\"boolean\"),m.done&&!i.closedOrErrored){if(!i.canceled1)@readableStreamDefaultControllerClose(i.branch1.@readableStreamController);if(!i.canceled2)@readableStreamDefaultControllerClose(i.branch2.@readableStreamController);if(i.closedOrErrored=!0,!i.canceled1||!i.canceled2)i.cancelPromiseCapability.@resolve.@call()}if(i.closedOrErrored)return;if(!i.canceled1)@readableStreamDefaultControllerEnqueue(i.branch1.@readableStreamController,m.value);if(!i.canceled2)@readableStreamDefaultControllerEnqueue(i.branch2.@readableStreamController,f\?@structuredCloneForStream(m.value):m.value)})}})\n";
// readableStreamTeeBranch1CancelFunction
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamTeeBranch1CancelFunctionCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1564,7 +1564,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadDirectStreamCodeConstruc
const JSC::ImplementationVisibility s_readableStreamInternalsReadDirectStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadDirectStreamCodeLength = 900;
static const JSC::Intrinsic s_readableStreamInternalsReadDirectStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadDirectStreamCode = "(function (j,q,_){\"use strict\";@putByIdDirectPrivate(j,\"underlyingSource\",@undefined),@putByIdDirectPrivate(j,\"start\",@undefined);function w(f,v){if(v&&_\?.cancel){try{var A=_.cancel(v);@markPromiseAsHandled(A)}catch(B){}_=@undefined}if(f){if(@putByIdDirectPrivate(f,\"readableStreamController\",@undefined),@putByIdDirectPrivate(f,\"reader\",@undefined),v)@putByIdDirectPrivate(f,\"state\",@streamErrored),@putByIdDirectPrivate(f,\"storedError\",v);else @putByIdDirectPrivate(f,\"state\",@streamClosed);f=@undefined}}if(!_.pull){w();return}if(!@isCallable(_.pull)){w(),@throwTypeError(\"pull is not a function\");return}@putByIdDirectPrivate(j,\"readableStreamController\",q);const x=@getByIdDirectPrivate(j,\"highWaterMark\");q.start({highWaterMark:!x||x<64\?64:x}),@startDirectStream.@call(q,j,_.pull,w),@putByIdDirectPrivate(j,\"reader\",{});var z=_.pull(q);if(q=@undefined,z&&@isPromise(z))return z.@then(()=>{})})\n";
+const char* const s_readableStreamInternalsReadDirectStreamCode = "(function (_,x,f){\"use strict\";@putByIdDirectPrivate(_,\"underlyingSource\",@undefined),@putByIdDirectPrivate(_,\"start\",@undefined);function j(v,A){if(A&&f\?.cancel){try{var w=f.cancel(A);@markPromiseAsHandled(w)}catch(B){}f=@undefined}if(v){if(@putByIdDirectPrivate(v,\"readableStreamController\",@undefined),@putByIdDirectPrivate(v,\"reader\",@undefined),A)@putByIdDirectPrivate(v,\"state\",@streamErrored),@putByIdDirectPrivate(v,\"storedError\",A);else @putByIdDirectPrivate(v,\"state\",@streamClosed);v=@undefined}}if(!f.pull){j();return}if(!@isCallable(f.pull)){j(),@throwTypeError(\"pull is not a function\");return}@putByIdDirectPrivate(_,\"readableStreamController\",x);const q=@getByIdDirectPrivate(_,\"highWaterMark\");x.start({highWaterMark:!q||q<64\?64:q}),@startDirectStream.@call(x,_,f.pull,j),@putByIdDirectPrivate(_,\"reader\",{});var z=f.pull(x);if(x=@undefined,z&&@isPromise(z))return z.@then(()=>{})})\n";
// assignToStream
const JSC::ConstructAbility s_readableStreamInternalsAssignToStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1580,7 +1580,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadStreamIntoSinkCodeConstr
const JSC::ImplementationVisibility s_readableStreamInternalsReadStreamIntoSinkCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadStreamIntoSinkCodeLength = 1395;
static const JSC::Intrinsic s_readableStreamInternalsReadStreamIntoSinkCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadStreamIntoSinkCode = "(async function (_,c,E){\"use strict\";var x=!1,B=!1;try{var I=_.getReader(),f=I.readMany();if(f&&@isPromise(f))f=await f;if(f.done)return x=!0,c.end();var K=f.value.length;const q=@getByIdDirectPrivate(_,\"highWaterMark\");if(E)@startDirectStream.@call(c,_,@undefined,()=>!B&&@markPromiseAsHandled(_.cancel()));c.start({highWaterMark:q||0});for(var D=0,F=f.value,G=f.value.length;D<G;D++)c.write(F[D]);var A=@getByIdDirectPrivate(_,\"state\");if(A===@streamClosed)return x=!0,c.end();while(!0){var{value:H,done:J}=await I.read();if(J)return x=!0,c.end();c.write(H)}}catch(q){B=!0;try{I=@undefined;const z=_.cancel(q);@markPromiseAsHandled(z)}catch(z){}if(c&&!x){x=!0;try{c.close(q)}catch(z){throw new globalThis.AggregateError([q,z])}}throw q}finally{if(I){try{I.releaseLock()}catch(z){}I=@undefined}c=@undefined;var A=@getByIdDirectPrivate(_,\"state\");if(_){var P=@getByIdDirectPrivate(_,\"readableStreamController\");if(P){if(@getByIdDirectPrivate(P,\"underlyingSource\"))@putByIdDirectPrivate(P,\"underlyingSource\",@undefined);if(@getByIdDirectPrivate(P,\"controlledReadableStream\"))@putByIdDirectPrivate(P,\"controlledReadableStream\",@undefined);if(@putByIdDirectPrivate(_,\"readableStreamController\",null),@getByIdDirectPrivate(_,\"underlyingSource\"))@putByIdDirectPrivate(_,\"underlyingSource\",@undefined);P=@undefined}if(!B&&A!==@streamClosed&&A!==@streamErrored)@readableStreamClose(_);_=@undefined}}})\n";
+const char* const s_readableStreamInternalsReadStreamIntoSinkCode = "(async function (c,F,f){\"use strict\";var I=!1,D=!1;try{var E=c.getReader(),G=E.readMany();if(G&&@isPromise(G))G=await G;if(G.done)return I=!0,F.end();var H=G.value.length;const x=@getByIdDirectPrivate(c,\"highWaterMark\");if(f)@startDirectStream.@call(F,c,@undefined,()=>!D&&@markPromiseAsHandled(c.cancel()));F.start({highWaterMark:x||0});for(var J=0,P=G.value,z=G.value.length;J<z;J++)F.write(P[J]);var _=@getByIdDirectPrivate(c,\"state\");if(_===@streamClosed)return I=!0,F.end();while(!0){var{value:q,done:A}=await E.read();if(A)return I=!0,F.end();F.write(q)}}catch(x){D=!0;try{E=@undefined;const K=c.cancel(x);@markPromiseAsHandled(K)}catch(K){}if(F&&!I){I=!0;try{F.close(x)}catch(K){throw new globalThis.AggregateError([x,K])}}throw x}finally{if(E){try{E.releaseLock()}catch(K){}E=@undefined}F=@undefined;var _=@getByIdDirectPrivate(c,\"state\");if(c){var B=@getByIdDirectPrivate(c,\"readableStreamController\");if(B){if(@getByIdDirectPrivate(B,\"underlyingSource\"))@putByIdDirectPrivate(B,\"underlyingSource\",@undefined);if(@getByIdDirectPrivate(B,\"controlledReadableStream\"))@putByIdDirectPrivate(B,\"controlledReadableStream\",@undefined);if(@putByIdDirectPrivate(c,\"readableStreamController\",null),@getByIdDirectPrivate(c,\"underlyingSource\"))@putByIdDirectPrivate(c,\"underlyingSource\",@undefined);B=@undefined}if(!D&&_!==@streamClosed&&_!==@streamErrored)@readableStreamClose(c);c=@undefined}}})\n";
// handleDirectStreamError
const JSC::ConstructAbility s_readableStreamInternalsHandleDirectStreamErrorCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1588,7 +1588,7 @@ const JSC::ConstructorKind s_readableStreamInternalsHandleDirectStreamErrorCodeC
const JSC::ImplementationVisibility s_readableStreamInternalsHandleDirectStreamErrorCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsHandleDirectStreamErrorCodeLength = 496;
static const JSC::Intrinsic s_readableStreamInternalsHandleDirectStreamErrorCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsHandleDirectStreamErrorCode = "(function (u){\"use strict\";var i=this,_=i.@sink;if(_){@putByIdDirectPrivate(i,\"sink\",@undefined);try{_.close(u)}catch(a){}}if(this.error=this.flush=this.write=this.close=this.end=@onReadableStreamDirectControllerClosed,typeof this.@underlyingSource.close===\"function\")try{this.@underlyingSource.close.@call(this.@underlyingSource,u)}catch(a){}try{var h=i._pendingRead;if(h)i._pendingRead=@undefined,@rejectPromise(h,u)}catch(a){}var R=i.@controlledReadableStream;if(R)@readableStreamError(R,u)})\n";
+const char* const s_readableStreamInternalsHandleDirectStreamErrorCode = "(function (i){\"use strict\";var u=this,h=u.@sink;if(h){@putByIdDirectPrivate(u,\"sink\",@undefined);try{h.close(i)}catch(R){}}if(this.error=this.flush=this.write=this.close=this.end=@onReadableStreamDirectControllerClosed,typeof this.@underlyingSource.close===\"function\")try{this.@underlyingSource.close.@call(this.@underlyingSource,i)}catch(R){}try{var _=u._pendingRead;if(_)u._pendingRead=@undefined,@rejectPromise(_,i)}catch(R){}var a=u.@controlledReadableStream;if(a)@readableStreamError(a,i)})\n";
// handleDirectStreamErrorReject
const JSC::ConstructAbility s_readableStreamInternalsHandleDirectStreamErrorRejectCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1604,7 +1604,7 @@ const JSC::ConstructorKind s_readableStreamInternalsOnPullDirectStreamCodeConstr
const JSC::ImplementationVisibility s_readableStreamInternalsOnPullDirectStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsOnPullDirectStreamCodeLength = 785;
static const JSC::Intrinsic s_readableStreamInternalsOnPullDirectStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsOnPullDirectStreamCode = "(function (g){\"use strict\";var i=g.@controlledReadableStream;if(!i||@getByIdDirectPrivate(i,\"state\")!==@streamReadable)return;if(g._deferClose===-1)return;g._deferClose=-1,g._deferFlush=-1;var _,b;try{var y=g.@underlyingSource.pull(g);if(y&&@isPromise(y)){if(g._handleError===@undefined)g._handleError=@handleDirectStreamErrorReject.bind(g);@Promise.prototype.catch.@call(y,g._handleError)}}catch(k){return @handleDirectStreamErrorReject.@call(g,k)}finally{_=g._deferClose,b=g._deferFlush,g._deferFlush=g._deferClose=0}var h;if(g._pendingRead===@undefined)g._pendingRead=h=@newPromise();else h=@readableStreamAddReadRequest(i);if(_===1){var j=g._deferCloseReason;return g._deferCloseReason=@undefined,@onCloseDirectStream.@call(g,j),h}if(b===1)@onFlushDirectStream.@call(g);return h})\n";
+const char* const s_readableStreamInternalsOnPullDirectStreamCode = "(function (g){\"use strict\";var h=g.@controlledReadableStream;if(!h||@getByIdDirectPrivate(h,\"state\")!==@streamReadable)return;if(g._deferClose===-1)return;g._deferClose=-1,g._deferFlush=-1;var i,y;try{var _=g.@underlyingSource.pull(g);if(_&&@isPromise(_)){if(g._handleError===@undefined)g._handleError=@handleDirectStreamErrorReject.bind(g);@Promise.prototype.catch.@call(_,g._handleError)}}catch(k){return @handleDirectStreamErrorReject.@call(g,k)}finally{i=g._deferClose,y=g._deferFlush,g._deferFlush=g._deferClose=0}var b;if(g._pendingRead===@undefined)g._pendingRead=b=@newPromise();else b=@readableStreamAddReadRequest(h);if(i===1){var j=g._deferCloseReason;return g._deferCloseReason=@undefined,@onCloseDirectStream.@call(g,j),b}if(y===1)@onFlushDirectStream.@call(g);return b})\n";
// noopDoneFunction
const JSC::ConstructAbility s_readableStreamInternalsNoopDoneFunctionCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1628,7 +1628,7 @@ const JSC::ConstructorKind s_readableStreamInternalsOnCloseDirectStreamCodeConst
const JSC::ImplementationVisibility s_readableStreamInternalsOnCloseDirectStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsOnCloseDirectStreamCodeLength = 1460;
static const JSC::Intrinsic s_readableStreamInternalsOnCloseDirectStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsOnCloseDirectStreamCode = "(function (S){\"use strict\";var c=this.@controlledReadableStream;if(!c||@getByIdDirectPrivate(c,\"state\")!==@streamReadable)return;if(this._deferClose!==0){this._deferClose=1,this._deferCloseReason=S;return}if(@putByIdDirectPrivate(c,\"state\",@streamClosing),typeof this.@underlyingSource.close===\"function\")try{this.@underlyingSource.close.@call(this.@underlyingSource,S)}catch(b){}var v;try{v=this.@sink.end(),@putByIdDirectPrivate(this,\"sink\",@undefined)}catch(b){if(this._pendingRead){var y=this._pendingRead;this._pendingRead=@undefined,@rejectPromise(y,b)}@readableStreamError(c,b);return}this.error=this.flush=this.write=this.close=this.end=@onReadableStreamDirectControllerClosed;var B=@getByIdDirectPrivate(c,\"reader\");if(B&&@isReadableStreamDefaultReader(B)){var C=this._pendingRead;if(C&&@isPromise(C)&&v\?.byteLength){this._pendingRead=@undefined,@fulfillPromise(C,{value:v,done:!1}),@readableStreamClose(c);return}}if(v\?.byteLength){var j=@getByIdDirectPrivate(B,\"readRequests\");if(j\?.isNotEmpty()){@readableStreamFulfillReadRequest(c,v,!1),@readableStreamClose(c);return}@putByIdDirectPrivate(c,\"state\",@streamReadable),this.@pull=()=>{var b=@createFulfilledPromise({value:v,done:!1});return v=@undefined,@readableStreamClose(c),c=@undefined,b}}else if(this._pendingRead){var y=this._pendingRead;this._pendingRead=@undefined,@putByIdDirectPrivate(this,\"pull\",@noopDoneFunction),@fulfillPromise(y,{value:@undefined,done:!0})}@readableStreamClose(c)})\n";
+const char* const s_readableStreamInternalsOnCloseDirectStreamCode = "(function (c){\"use strict\";var b=this.@controlledReadableStream;if(!b||@getByIdDirectPrivate(b,\"state\")!==@streamReadable)return;if(this._deferClose!==0){this._deferClose=1,this._deferCloseReason=c;return}if(@putByIdDirectPrivate(b,\"state\",@streamClosing),typeof this.@underlyingSource.close===\"function\")try{this.@underlyingSource.close.@call(this.@underlyingSource,c)}catch(j){}var v;try{v=this.@sink.end(),@putByIdDirectPrivate(this,\"sink\",@undefined)}catch(j){if(this._pendingRead){var y=this._pendingRead;this._pendingRead=@undefined,@rejectPromise(y,j)}@readableStreamError(b,j);return}this.error=this.flush=this.write=this.close=this.end=@onReadableStreamDirectControllerClosed;var B=@getByIdDirectPrivate(b,\"reader\");if(B&&@isReadableStreamDefaultReader(B)){var C=this._pendingRead;if(C&&@isPromise(C)&&v\?.byteLength){this._pendingRead=@undefined,@fulfillPromise(C,{value:v,done:!1}),@readableStreamClose(b);return}}if(v\?.byteLength){var S=@getByIdDirectPrivate(B,\"readRequests\");if(S\?.isNotEmpty()){@readableStreamFulfillReadRequest(b,v,!1),@readableStreamClose(b);return}@putByIdDirectPrivate(b,\"state\",@streamReadable),this.@pull=()=>{var j=@createFulfilledPromise({value:v,done:!1});return v=@undefined,@readableStreamClose(b),b=@undefined,j}}else if(this._pendingRead){var y=this._pendingRead;this._pendingRead=@undefined,@putByIdDirectPrivate(this,\"pull\",@noopDoneFunction),@fulfillPromise(y,{value:@undefined,done:!0})}@readableStreamClose(b)})\n";
// onFlushDirectStream
const JSC::ConstructAbility s_readableStreamInternalsOnFlushDirectStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1636,7 +1636,7 @@ const JSC::ConstructorKind s_readableStreamInternalsOnFlushDirectStreamCodeConst
const JSC::ImplementationVisibility s_readableStreamInternalsOnFlushDirectStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsOnFlushDirectStreamCodeLength = 591;
static const JSC::Intrinsic s_readableStreamInternalsOnFlushDirectStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsOnFlushDirectStreamCode = "(function (){\"use strict\";var B=this.@controlledReadableStream,i=@getByIdDirectPrivate(B,\"reader\");if(!i||!@isReadableStreamDefaultReader(i))return;var b=this._pendingRead;if(this._pendingRead=@undefined,b&&@isPromise(b)){var c=this.@sink.flush();if(c\?.byteLength)this._pendingRead=@getByIdDirectPrivate(B,\"readRequests\")\?.shift(),@fulfillPromise(b,{value:c,done:!1});else this._pendingRead=b}else if(@getByIdDirectPrivate(B,\"readRequests\")\?.isNotEmpty()){var c=this.@sink.flush();if(c\?.byteLength)@readableStreamFulfillReadRequest(B,c,!1)}else if(this._deferFlush===-1)this._deferFlush=1})\n";
+const char* const s_readableStreamInternalsOnFlushDirectStreamCode = "(function (){\"use strict\";var c=this.@controlledReadableStream,B=@getByIdDirectPrivate(c,\"reader\");if(!B||!@isReadableStreamDefaultReader(B))return;var b=this._pendingRead;if(this._pendingRead=@undefined,b&&@isPromise(b)){var i=this.@sink.flush();if(i\?.byteLength)this._pendingRead=@getByIdDirectPrivate(c,\"readRequests\")\?.shift(),@fulfillPromise(b,{value:i,done:!1});else this._pendingRead=b}else if(@getByIdDirectPrivate(c,\"readRequests\")\?.isNotEmpty()){var i=this.@sink.flush();if(i\?.byteLength)@readableStreamFulfillReadRequest(c,i,!1)}else if(this._deferFlush===-1)this._deferFlush=1})\n";
// createTextStream
const JSC::ConstructAbility s_readableStreamInternalsCreateTextStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1644,7 +1644,7 @@ const JSC::ConstructorKind s_readableStreamInternalsCreateTextStreamCodeConstruc
const JSC::ImplementationVisibility s_readableStreamInternalsCreateTextStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsCreateTextStreamCodeLength = 984;
static const JSC::Intrinsic s_readableStreamInternalsCreateTextStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsCreateTextStreamCode = "(function (G){\"use strict\";var q,v=[],x=!1,z=!1,j=\"\",C=@toLength(0),F=@newPromiseCapability(@Promise),A=!1;return q={start(){},write(_){if(typeof _===\"string\"){var w=@toLength(_.length);if(w>0)j+=_,x=!0,C+=w;return w}if(!_||!(@ArrayBuffer.@isView(_)||_ instanceof @ArrayBuffer))@throwTypeError(\"Expected text, ArrayBuffer or ArrayBufferView\");const E=@toLength(_.byteLength);if(E>0)if(z=!0,j.length>0)@arrayPush(v,j,_),j=\"\";else @arrayPush(v,_);return C+=E,E},flush(){return 0},end(){if(A)return\"\";return q.fulfill()},fulfill(){A=!0;const _=q.finishInternal();return @fulfillPromise(F.@promise,_),_},finishInternal(){if(!x&&!z)return\"\";if(x&&!z)return j;if(z&&!x)return new globalThis.TextDecoder().decode(@Bun.concatArrayBuffers(v));var _=new @Bun.ArrayBufferSink;_.start({highWaterMark:C,asUint8Array:!0});for(let w of v)_.write(w);if(v.length=0,j.length>0)_.write(j),j=\"\";return new globalThis.TextDecoder().decode(_.end())},close(){try{if(!A)A=!0,q.fulfill()}catch(_){}}},[q,F]})\n";
+const char* const s_readableStreamInternalsCreateTextStreamCode = "(function (v){\"use strict\";var _,w=[],A=!1,C=!1,j=\"\",x=@toLength(0),E=@newPromiseCapability(@Promise),F=!1;return _={start(){},write(q){if(typeof q===\"string\"){var z=@toLength(q.length);if(z>0)j+=q,A=!0,x+=z;return z}if(!q||!(@ArrayBuffer.@isView(q)||q instanceof @ArrayBuffer))@throwTypeError(\"Expected text, ArrayBuffer or ArrayBufferView\");const G=@toLength(q.byteLength);if(G>0)if(C=!0,j.length>0)@arrayPush(w,j,q),j=\"\";else @arrayPush(w,q);return x+=G,G},flush(){return 0},end(){if(F)return\"\";return _.fulfill()},fulfill(){F=!0;const q=_.finishInternal();return @fulfillPromise(E.@promise,q),q},finishInternal(){if(!A&&!C)return\"\";if(A&&!C)return j;if(C&&!A)return new globalThis.TextDecoder().decode(@Bun.concatArrayBuffers(w));var q=new @Bun.ArrayBufferSink;q.start({highWaterMark:x,asUint8Array:!0});for(let z of w)q.write(z);if(w.length=0,j.length>0)q.write(j),j=\"\";return new globalThis.TextDecoder().decode(q.end())},close(){try{if(!F)F=!0,_.fulfill()}catch(q){}}},[_,E]})\n";
// initializeTextStream
const JSC::ConstructAbility s_readableStreamInternalsInitializeTextStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1652,7 +1652,7 @@ const JSC::ConstructorKind s_readableStreamInternalsInitializeTextStreamCodeCons
const JSC::ImplementationVisibility s_readableStreamInternalsInitializeTextStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsInitializeTextStreamCodeLength = 578;
static const JSC::Intrinsic s_readableStreamInternalsInitializeTextStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsInitializeTextStreamCode = "(function (m,p){\"use strict\";var[_,b]=@createTextStream(p),f={@underlyingSource:m,@pull:@onPullDirectStream,@controlledReadableStream:this,@sink:_,close:@onCloseDirectStream,write:_.write,error:@handleDirectStreamError,end:@onCloseDirectStream,@close:@onCloseDirectStream,flush:@onFlushDirectStream,_pendingRead:@undefined,_deferClose:0,_deferFlush:0,_deferCloseReason:@undefined,_handleError:@undefined};return @putByIdDirectPrivate(this,\"readableStreamController\",f),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"start\",@undefined),b})\n";
+const char* const s_readableStreamInternalsInitializeTextStreamCode = "(function (_,m){\"use strict\";var[p,b]=@createTextStream(m),f={@underlyingSource:_,@pull:@onPullDirectStream,@controlledReadableStream:this,@sink:p,close:@onCloseDirectStream,write:p.write,error:@handleDirectStreamError,end:@onCloseDirectStream,@close:@onCloseDirectStream,flush:@onFlushDirectStream,_pendingRead:@undefined,_deferClose:0,_deferFlush:0,_deferCloseReason:@undefined,_handleError:@undefined};return @putByIdDirectPrivate(this,\"readableStreamController\",f),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"start\",@undefined),b})\n";
// initializeArrayStream
const JSC::ConstructAbility s_readableStreamInternalsInitializeArrayStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1660,7 +1660,7 @@ const JSC::ConstructorKind s_readableStreamInternalsInitializeArrayStreamCodeCon
const JSC::ImplementationVisibility s_readableStreamInternalsInitializeArrayStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsInitializeArrayStreamCodeLength = 797;
static const JSC::Intrinsic s_readableStreamInternalsInitializeArrayStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsInitializeArrayStreamCode = "(function (m,v){\"use strict\";var _=[],b=@newPromiseCapability(@Promise),t=!1;function d(){return t=!0,b.@resolve.@call(@undefined,_),_}var j={start(){},write(p){return @arrayPush(_,p),p.byteLength||p.length},flush(){return 0},end(){if(t)return[];return d()},close(){if(!t)d()}},q={@underlyingSource:m,@pull:@onPullDirectStream,@controlledReadableStream:this,@sink:j,close:@onCloseDirectStream,write:j.write,error:@handleDirectStreamError,end:@onCloseDirectStream,@close:@onCloseDirectStream,flush:@onFlushDirectStream,_pendingRead:@undefined,_deferClose:0,_deferFlush:0,_deferCloseReason:@undefined,_handleError:@undefined};return @putByIdDirectPrivate(this,\"readableStreamController\",q),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"start\",@undefined),b})\n";
+const char* const s_readableStreamInternalsInitializeArrayStreamCode = "(function (t,_){\"use strict\";var p=[],b=@newPromiseCapability(@Promise),d=!1;function m(){return d=!0,b.@resolve.@call(@undefined,p),p}var j={start(){},write(v){return @arrayPush(p,v),v.byteLength||v.length},flush(){return 0},end(){if(d)return[];return m()},close(){if(!d)m()}},q={@underlyingSource:t,@pull:@onPullDirectStream,@controlledReadableStream:this,@sink:j,close:@onCloseDirectStream,write:j.write,error:@handleDirectStreamError,end:@onCloseDirectStream,@close:@onCloseDirectStream,flush:@onFlushDirectStream,_pendingRead:@undefined,_deferClose:0,_deferFlush:0,_deferCloseReason:@undefined,_handleError:@undefined};return @putByIdDirectPrivate(this,\"readableStreamController\",q),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"start\",@undefined),b})\n";
// initializeArrayBufferStream
const JSC::ConstructAbility s_readableStreamInternalsInitializeArrayBufferStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1668,7 +1668,7 @@ const JSC::ConstructorKind s_readableStreamInternalsInitializeArrayBufferStreamC
const JSC::ImplementationVisibility s_readableStreamInternalsInitializeArrayBufferStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsInitializeArrayBufferStreamCodeLength = 690;
static const JSC::Intrinsic s_readableStreamInternalsInitializeArrayBufferStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsInitializeArrayBufferStreamCode = "(function (w,m){\"use strict\";var D=m&&typeof m===\"number\"\?{highWaterMark:m,stream:!0,asUint8Array:!0}:{stream:!0,asUint8Array:!0},_=new @Bun.ArrayBufferSink;_.start(D);var b={@underlyingSource:w,@pull:@onPullDirectStream,@controlledReadableStream:this,@sink:_,close:@onCloseDirectStream,write:_.write.bind(_),error:@handleDirectStreamError,end:@onCloseDirectStream,@close:@onCloseDirectStream,flush:@onFlushDirectStream,_pendingRead:@undefined,_deferClose:0,_deferFlush:0,_deferCloseReason:@undefined,_handleError:@undefined};@putByIdDirectPrivate(this,\"readableStreamController\",b),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"start\",@undefined)})\n";
+const char* const s_readableStreamInternalsInitializeArrayBufferStreamCode = "(function (_,m){\"use strict\";var w=m&&typeof m===\"number\"\?{highWaterMark:m,stream:!0,asUint8Array:!0}:{stream:!0,asUint8Array:!0},D=new @Bun.ArrayBufferSink;D.start(w);var b={@underlyingSource:_,@pull:@onPullDirectStream,@controlledReadableStream:this,@sink:D,close:@onCloseDirectStream,write:D.write.bind(D),error:@handleDirectStreamError,end:@onCloseDirectStream,@close:@onCloseDirectStream,flush:@onFlushDirectStream,_pendingRead:@undefined,_deferClose:0,_deferFlush:0,_deferCloseReason:@undefined,_handleError:@undefined};@putByIdDirectPrivate(this,\"readableStreamController\",b),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"start\",@undefined)})\n";
// readableStreamError
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamErrorCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1676,7 +1676,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamErrorCodeConst
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamErrorCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamErrorCodeLength = 840;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamErrorCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamErrorCode = "(function (c,f){\"use strict\";@assert(@isReadableStream(c)),@assert(@getByIdDirectPrivate(c,\"state\")===@streamReadable),@putByIdDirectPrivate(c,\"state\",@streamErrored),@putByIdDirectPrivate(c,\"storedError\",f);const _=@getByIdDirectPrivate(c,\"reader\");if(!_)return;if(@isReadableStreamDefaultReader(_)){const n=@getByIdDirectPrivate(_,\"readRequests\");@putByIdDirectPrivate(_,\"readRequests\",@createFIFO());for(var i=n.shift();i;i=n.shift())@rejectPromise(i,f)}else{@assert(@isReadableStreamBYOBReader(_));const n=@getByIdDirectPrivate(_,\"readIntoRequests\");@putByIdDirectPrivate(_,\"readIntoRequests\",@createFIFO());for(var i=n.shift();i;i=n.shift())@rejectPromise(i,f)}@getByIdDirectPrivate(_,\"closedPromiseCapability\").@reject.@call(@undefined,f);const h=@getByIdDirectPrivate(_,\"closedPromiseCapability\").@promise;@markPromiseAsHandled(h)})\n";
+const char* const s_readableStreamInternalsReadableStreamErrorCode = "(function (i,c){\"use strict\";@assert(@isReadableStream(i)),@assert(@getByIdDirectPrivate(i,\"state\")===@streamReadable),@putByIdDirectPrivate(i,\"state\",@streamErrored),@putByIdDirectPrivate(i,\"storedError\",c);const n=@getByIdDirectPrivate(i,\"reader\");if(!n)return;if(@isReadableStreamDefaultReader(n)){const _=@getByIdDirectPrivate(n,\"readRequests\");@putByIdDirectPrivate(n,\"readRequests\",@createFIFO());for(var f=_.shift();f;f=_.shift())@rejectPromise(f,c)}else{@assert(@isReadableStreamBYOBReader(n));const _=@getByIdDirectPrivate(n,\"readIntoRequests\");@putByIdDirectPrivate(n,\"readIntoRequests\",@createFIFO());for(var f=_.shift();f;f=_.shift())@rejectPromise(f,c)}@getByIdDirectPrivate(n,\"closedPromiseCapability\").@reject.@call(@undefined,c);const h=@getByIdDirectPrivate(n,\"closedPromiseCapability\").@promise;@markPromiseAsHandled(h)})\n";
// readableStreamDefaultControllerShouldCallPull
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamDefaultControllerShouldCallPullCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1708,7 +1708,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamDefaultControl
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamDefaultControllerGetDesiredSizeCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamDefaultControllerGetDesiredSizeCodeLength = 283;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamDefaultControllerGetDesiredSizeCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamDefaultControllerGetDesiredSizeCode = "(function (i){\"use strict\";const g=@getByIdDirectPrivate(i,\"controlledReadableStream\"),d=@getByIdDirectPrivate(g,\"state\");if(d===@streamErrored)return null;if(d===@streamClosed)return 0;return @getByIdDirectPrivate(i,\"strategy\").highWaterMark-@getByIdDirectPrivate(i,\"queue\").size})\n";
+const char* const s_readableStreamInternalsReadableStreamDefaultControllerGetDesiredSizeCode = "(function (i){\"use strict\";const d=@getByIdDirectPrivate(i,\"controlledReadableStream\"),g=@getByIdDirectPrivate(d,\"state\");if(g===@streamErrored)return null;if(g===@streamClosed)return 0;return @getByIdDirectPrivate(i,\"strategy\").highWaterMark-@getByIdDirectPrivate(i,\"queue\").size})\n";
// readableStreamReaderGenericCancel
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamReaderGenericCancelCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1716,7 +1716,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamReaderGenericC
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamReaderGenericCancelCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamReaderGenericCancelCodeLength = 133;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamReaderGenericCancelCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamReaderGenericCancelCode = "(function (h,i){\"use strict\";const c=@getByIdDirectPrivate(h,\"ownerReadableStream\");return @assert(!!c),@readableStreamCancel(c,i)})\n";
+const char* const s_readableStreamInternalsReadableStreamReaderGenericCancelCode = "(function (c,h){\"use strict\";const i=@getByIdDirectPrivate(c,\"ownerReadableStream\");return @assert(!!i),@readableStreamCancel(i,h)})\n";
// readableStreamCancel
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamCancelCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1724,7 +1724,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamCancelCodeCons
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamCancelCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamCancelCodeLength = 509;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamCancelCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamCancelCode = "(function (i,d){\"use strict\";@putByIdDirectPrivate(i,\"disturbed\",!0);const h=@getByIdDirectPrivate(i,\"state\");if(h===@streamClosed)return @Promise.@resolve();if(h===@streamErrored)return @Promise.@reject(@getByIdDirectPrivate(i,\"storedError\"));@readableStreamClose(i);var _=@getByIdDirectPrivate(i,\"readableStreamController\"),p=_.@cancel;if(p)return p(_,d).@then(function(){});var u=_.close;if(u)return @Promise.@resolve(_.close(d));@throwTypeError(\"ReadableStreamController has no cancel or close method\")})\n";
+const char* const s_readableStreamInternalsReadableStreamCancelCode = "(function (_,d){\"use strict\";@putByIdDirectPrivate(_,\"disturbed\",!0);const h=@getByIdDirectPrivate(_,\"state\");if(h===@streamClosed)return @Promise.@resolve();if(h===@streamErrored)return @Promise.@reject(@getByIdDirectPrivate(_,\"storedError\"));@readableStreamClose(_);var p=@getByIdDirectPrivate(_,\"readableStreamController\"),u=p.@cancel;if(u)return u(p,d).@then(function(){});var i=p.close;if(i)return @Promise.@resolve(p.close(d));@throwTypeError(\"ReadableStreamController has no cancel or close method\")})\n";
// readableStreamDefaultControllerCancel
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamDefaultControllerCancelCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1740,7 +1740,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamDefaultControl
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamDefaultControllerPullCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamDefaultControllerPullCodeLength = 519;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamDefaultControllerPullCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamDefaultControllerPullCode = "(function (a){\"use strict\";var _=@getByIdDirectPrivate(a,\"queue\");if(_.content.isNotEmpty()){const f=@dequeueValue(_);if(@getByIdDirectPrivate(a,\"closeRequested\")&&_.content.isEmpty())@readableStreamClose(@getByIdDirectPrivate(a,\"controlledReadableStream\"));else @readableStreamDefaultControllerCallPullIfNeeded(a);return @createFulfilledPromise({value:f,done:!1})}const d=@readableStreamAddReadRequest(@getByIdDirectPrivate(a,\"controlledReadableStream\"));return @readableStreamDefaultControllerCallPullIfNeeded(a),d})\n";
+const char* const s_readableStreamInternalsReadableStreamDefaultControllerPullCode = "(function (a){\"use strict\";var d=@getByIdDirectPrivate(a,\"queue\");if(d.content.isNotEmpty()){const _=@dequeueValue(d);if(@getByIdDirectPrivate(a,\"closeRequested\")&&d.content.isEmpty())@readableStreamClose(@getByIdDirectPrivate(a,\"controlledReadableStream\"));else @readableStreamDefaultControllerCallPullIfNeeded(a);return @createFulfilledPromise({value:_,done:!1})}const f=@readableStreamAddReadRequest(@getByIdDirectPrivate(a,\"controlledReadableStream\"));return @readableStreamDefaultControllerCallPullIfNeeded(a),f})\n";
// readableStreamDefaultControllerClose
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamDefaultControllerCloseCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1756,7 +1756,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamCloseCodeConst
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamCloseCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamCloseCodeLength = 617;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamCloseCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamCloseCode = "(function (_){\"use strict\";if(@assert(@getByIdDirectPrivate(_,\"state\")===@streamReadable),@putByIdDirectPrivate(_,\"state\",@streamClosed),!@getByIdDirectPrivate(_,\"reader\"))return;if(@isReadableStreamDefaultReader(@getByIdDirectPrivate(_,\"reader\"))){const i=@getByIdDirectPrivate(@getByIdDirectPrivate(_,\"reader\"),\"readRequests\");if(i.isNotEmpty()){@putByIdDirectPrivate(@getByIdDirectPrivate(_,\"reader\"),\"readRequests\",@createFIFO());for(var d=i.shift();d;d=i.shift())@fulfillPromise(d,{value:@undefined,done:!0})}}@getByIdDirectPrivate(@getByIdDirectPrivate(_,\"reader\"),\"closedPromiseCapability\").@resolve.@call()})\n";
+const char* const s_readableStreamInternalsReadableStreamCloseCode = "(function (_){\"use strict\";if(@assert(@getByIdDirectPrivate(_,\"state\")===@streamReadable),@putByIdDirectPrivate(_,\"state\",@streamClosed),!@getByIdDirectPrivate(_,\"reader\"))return;if(@isReadableStreamDefaultReader(@getByIdDirectPrivate(_,\"reader\"))){const d=@getByIdDirectPrivate(@getByIdDirectPrivate(_,\"reader\"),\"readRequests\");if(d.isNotEmpty()){@putByIdDirectPrivate(@getByIdDirectPrivate(_,\"reader\"),\"readRequests\",@createFIFO());for(var i=d.shift();i;i=d.shift())@fulfillPromise(i,{value:@undefined,done:!0})}}@getByIdDirectPrivate(@getByIdDirectPrivate(_,\"reader\"),\"closedPromiseCapability\").@resolve.@call()})\n";
// readableStreamFulfillReadRequest
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamFulfillReadRequestCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1764,7 +1764,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamFulfillReadReq
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamFulfillReadRequestCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamFulfillReadRequestCodeLength = 157;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamFulfillReadRequestCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamFulfillReadRequestCode = "(function (i,p,y){\"use strict\";const _=@getByIdDirectPrivate(@getByIdDirectPrivate(i,\"reader\"),\"readRequests\").shift();@fulfillPromise(_,{value:p,done:y})})\n";
+const char* const s_readableStreamInternalsReadableStreamFulfillReadRequestCode = "(function (p,y,_){\"use strict\";const i=@getByIdDirectPrivate(@getByIdDirectPrivate(p,\"reader\"),\"readRequests\").shift();@fulfillPromise(i,{value:y,done:_})})\n";
// readableStreamDefaultControllerEnqueue
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamDefaultControllerEnqueueCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1772,7 +1772,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamDefaultControl
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamDefaultControllerEnqueueCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamDefaultControllerEnqueueCodeLength = 659;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamDefaultControllerEnqueueCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamDefaultControllerEnqueueCode = "(function (_,D){\"use strict\";const E=@getByIdDirectPrivate(_,\"controlledReadableStream\");if(@assert(@readableStreamDefaultControllerCanCloseOrEnqueue(_)),@isReadableStreamLocked(E)&&@getByIdDirectPrivate(@getByIdDirectPrivate(E,\"reader\"),\"readRequests\")\?.isNotEmpty()){@readableStreamFulfillReadRequest(E,D,!1),@readableStreamDefaultControllerCallPullIfNeeded(_);return}try{let d=1;if(@getByIdDirectPrivate(_,\"strategy\").size!==@undefined)d=@getByIdDirectPrivate(_,\"strategy\").size(D);@enqueueValueWithSize(@getByIdDirectPrivate(_,\"queue\"),D,d)}catch(d){throw @readableStreamDefaultControllerError(_,d),d}@readableStreamDefaultControllerCallPullIfNeeded(_)})\n";
+const char* const s_readableStreamInternalsReadableStreamDefaultControllerEnqueueCode = "(function (_,d){\"use strict\";const D=@getByIdDirectPrivate(_,\"controlledReadableStream\");if(@assert(@readableStreamDefaultControllerCanCloseOrEnqueue(_)),@isReadableStreamLocked(D)&&@getByIdDirectPrivate(@getByIdDirectPrivate(D,\"reader\"),\"readRequests\")\?.isNotEmpty()){@readableStreamFulfillReadRequest(D,d,!1),@readableStreamDefaultControllerCallPullIfNeeded(_);return}try{let E=1;if(@getByIdDirectPrivate(_,\"strategy\").size!==@undefined)E=@getByIdDirectPrivate(_,\"strategy\").size(d);@enqueueValueWithSize(@getByIdDirectPrivate(_,\"queue\"),d,E)}catch(E){throw @readableStreamDefaultControllerError(_,E),E}@readableStreamDefaultControllerCallPullIfNeeded(_)})\n";
// readableStreamDefaultReaderRead
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamDefaultReaderReadCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1780,7 +1780,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamDefaultReaderR
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamDefaultReaderReadCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamDefaultReaderReadCodeLength = 491;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamDefaultReaderReadCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamDefaultReaderReadCode = "(function (y){\"use strict\";const i=@getByIdDirectPrivate(y,\"ownerReadableStream\");@assert(!!i);const n=@getByIdDirectPrivate(i,\"state\");if(@putByIdDirectPrivate(i,\"disturbed\",!0),n===@streamClosed)return @createFulfilledPromise({value:@undefined,done:!0});if(n===@streamErrored)return @Promise.@reject(@getByIdDirectPrivate(i,\"storedError\"));return @assert(n===@streamReadable),@getByIdDirectPrivate(i,\"readableStreamController\").@pull(@getByIdDirectPrivate(i,\"readableStreamController\"))})\n";
+const char* const s_readableStreamInternalsReadableStreamDefaultReaderReadCode = "(function (i){\"use strict\";const n=@getByIdDirectPrivate(i,\"ownerReadableStream\");@assert(!!n);const y=@getByIdDirectPrivate(n,\"state\");if(@putByIdDirectPrivate(n,\"disturbed\",!0),y===@streamClosed)return @createFulfilledPromise({value:@undefined,done:!0});if(y===@streamErrored)return @Promise.@reject(@getByIdDirectPrivate(n,\"storedError\"));return @assert(y===@streamReadable),@getByIdDirectPrivate(n,\"readableStreamController\").@pull(@getByIdDirectPrivate(n,\"readableStreamController\"))})\n";
// readableStreamAddReadRequest
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamAddReadRequestCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1820,7 +1820,7 @@ const JSC::ConstructorKind s_readableStreamInternalsLazyLoadStreamCodeConstructo
const JSC::ImplementationVisibility s_readableStreamInternalsLazyLoadStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsLazyLoadStreamCodeLength = 1589;
static const JSC::Intrinsic s_readableStreamInternalsLazyLoadStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsLazyLoadStreamCode = "(function (J,P){\"use strict\";var G=@getByIdDirectPrivate(J,\"bunNativeType\"),B=@getByIdDirectPrivate(J,\"bunNativePtr\"),x=@lazyStreamPrototypeMap.@get(G);if(x===@undefined){let q=function(m){var{c:b,v:f}=this;this.c=@undefined,this.v=@undefined,I(m,b,f)},N=function(m){try{m.close()}catch(b){globalThis.reportError(b)}},O=function(m,b,f,j){j[0]=!1;var y;try{y=Q(m,f,j)}catch(Y){return b.error(Y)}return I(y,b,f)};var z=q,A=N,p=O,[Q,U,W,Z,D,K,X]=@lazyLoad(G),H=[!1],I;I=function m(b,f,j){if(b&&@isPromise(b))return b.then(q.bind({c:f,v:j}),(y)=>f.error(y));else if(typeof b===\"number\")if(j&&j.byteLength===b&&j.buffer===f.byobRequest\?.view\?.buffer)f.byobRequest.respondWithNewView(j);else f.byobRequest.respond(b);else if(b.constructor===@Uint8Array)f.enqueue(b);if(H[0]||b===!1)@enqueueJob(N,f),H[0]=!1};const F=D\?new FinalizationRegistry(D):null;x=class m{constructor(b,f,j){if(this.#f=b,this.#b={},this.pull=this.#j.bind(this),this.cancel=this.#m.bind(this),this.autoAllocateChunkSize=f,j!==@undefined)this.start=(y)=>{y.enqueue(j)};if(F)F.register(this,b,this.#b)}#b;pull;cancel;start;#f;type=\"bytes\";autoAllocateChunkSize=0;static startSync=U;#j(b){var f=this.#f;if(!f){b.close();return}O(f,b,b.byobRequest.view,H)}#m(b){var f=this.#f;F&&F.unregister(this.#b),K&&K(f,!1),W(f,b)}static deinit=D;static drain=X},@lazyStreamPrototypeMap.@set(G,x)}const L=x.startSync(B,P);var E;const{drain:M,deinit:_}=x;if(M)E=M(B);if(L===0){if(D&&B&&@enqueueJob(D,B),(E\?.byteLength\?\?0)>0)return{start(q){q.enqueue(E),q.close()},type:\"bytes\"};return{start(q){q.close()},type:\"bytes\"}}return new x(B,L,E)})\n";
+const char* const s_readableStreamInternalsLazyLoadStreamCode = "(function (P,F){\"use strict\";var L=@getByIdDirectPrivate(P,\"bunNativeType\"),G=@getByIdDirectPrivate(P,\"bunNativePtr\"),H=@lazyStreamPrototypeMap.@get(L);if(H===@undefined){let j=function(B){var{c:p,v:z}=this;this.c=@undefined,this.v=@undefined,W(B,p,z)},Z=function(B){try{B.close()}catch(p){globalThis.reportError(p)}},_=function(B,p,z,A){A[0]=!1;var D;try{D=b(B,z,A)}catch(E){return p.error(E)}return W(D,p,z)};var f=j,O=Z,m=_,[b,I,M,q,J,N,Q]=@lazyLoad(L),U=[!1],W;W=function B(p,z,A){if(p&&@isPromise(p))return p.then(j.bind({c:z,v:A}),(D)=>z.error(D));else if(typeof p===\"number\")if(A&&A.byteLength===p&&A.buffer===z.byobRequest\?.view\?.buffer)z.byobRequest.respondWithNewView(A);else z.byobRequest.respond(p);else if(p.constructor===@Uint8Array)z.enqueue(p);if(U[0]||p===!1)@enqueueJob(Z,z),U[0]=!1};const y=J\?new FinalizationRegistry(J):null;H=class B{constructor(p,z,A){if(this.#f=p,this.#b={},this.pull=this.#j.bind(this),this.cancel=this.#m.bind(this),this.autoAllocateChunkSize=z,A!==@undefined)this.start=(D)=>{D.enqueue(A)};if(y)y.register(this,p,this.#b)}#b;pull;cancel;start;#f;type=\"bytes\";autoAllocateChunkSize=0;static startSync=I;#j(p){var z=this.#f;if(!z){p.close();return}_(z,p,p.byobRequest.view,U)}#m(p){var z=this.#f;y&&y.unregister(this.#b),N&&N(z,!1),M(z,p)}static deinit=J;static drain=Q},@lazyStreamPrototypeMap.@set(L,H)}const X=H.startSync(G,F);var Y;const{drain:x,deinit:K}=H;if(x)Y=x(G);if(X===0){if(J&&G&&@enqueueJob(J,G),(Y\?.byteLength\?\?0)>0)return{start(j){j.enqueue(Y),j.close()},type:\"bytes\"};return{start(j){j.close()},type:\"bytes\"}}return new H(G,X,Y)})\n";
// readableStreamIntoArray
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamIntoArrayCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1828,7 +1828,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamIntoArrayCodeC
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamIntoArrayCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamIntoArrayCodeLength = 247;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamIntoArrayCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamIntoArrayCode = "(function (q){\"use strict\";var b=q.getReader(),f=b.readMany();async function g(j){if(j.done)return[];var _=j.value||[];while(!0){var p=await b.read();if(p.done)break;_=_.concat(p.value)}return _}if(f&&@isPromise(f))return f.@then(g);return g(f)})\n";
+const char* const s_readableStreamInternalsReadableStreamIntoArrayCode = "(function (_){\"use strict\";var b=_.getReader(),g=b.readMany();async function j(p){if(p.done)return[];var f=p.value||[];while(!0){var q=await b.read();if(q.done)break;f=f.concat(q.value)}return f}if(g&&@isPromise(g))return g.@then(j);return j(g)})\n";
// readableStreamIntoText
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamIntoTextCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1836,7 +1836,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamIntoTextCodeCo
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamIntoTextCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamIntoTextCodeLength = 214;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamIntoTextCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamIntoTextCode = "(function (_){\"use strict\";const[h,d]=@createTextStream(@getByIdDirectPrivate(_,\"highWaterMark\")),i=@readStreamIntoSink(_,h,!1);if(i&&@isPromise(i))return @Promise.@resolve(i).@then(d.@promise);return d.@promise})\n";
+const char* const s_readableStreamInternalsReadableStreamIntoTextCode = "(function (i){\"use strict\";const[_,d]=@createTextStream(@getByIdDirectPrivate(i,\"highWaterMark\")),h=@readStreamIntoSink(i,_,!1);if(h&&@isPromise(h))return @Promise.@resolve(h).@then(d.@promise);return d.@promise})\n";
// readableStreamToArrayBufferDirect
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamToArrayBufferDirectCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1844,7 +1844,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamToArrayBufferD
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamToArrayBufferDirectCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamToArrayBufferDirectCodeLength = 727;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamToArrayBufferDirectCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamToArrayBufferDirectCode = "(function (O,A){\"use strict\";var j=new @Bun.ArrayBufferSink;@putByIdDirectPrivate(O,\"underlyingSource\",@undefined);var B=@getByIdDirectPrivate(O,\"highWaterMark\");j.start(B\?{highWaterMark:B}:{});var w=@newPromiseCapability(@Promise),q=!1,x=A.pull,v=A.close,z={start(){},close(_){if(!q){if(q=!0,v)v();@fulfillPromise(w.@promise,j.end())}},end(){if(!q){if(q=!0,v)v();@fulfillPromise(w.@promise,j.end())}},flush(){return 0},write:j.write.bind(j)},C=!1;try{const _=x(z);if(_&&@isObject(_)&&@isPromise(_))return async function(D,F,G){while(!q)await G(D);return await F}(z,promise,x);return w.@promise}catch(_){return C=!0,@readableStreamError(O,_),@Promise.@reject(_)}finally{if(!C&&O)@readableStreamClose(O);z=v=j=x=O=@undefined}})\n";
+const char* const s_readableStreamInternalsReadableStreamToArrayBufferDirectCode = "(function (O,_){\"use strict\";var q=new @Bun.ArrayBufferSink;@putByIdDirectPrivate(O,\"underlyingSource\",@undefined);var v=@getByIdDirectPrivate(O,\"highWaterMark\");q.start(v\?{highWaterMark:v}:{});var w=@newPromiseCapability(@Promise),A=!1,z=_.pull,B=_.close,C={start(){},close(F){if(!A){if(A=!0,B)B();@fulfillPromise(w.@promise,q.end())}},end(){if(!A){if(A=!0,B)B();@fulfillPromise(w.@promise,q.end())}},flush(){return 0},write:q.write.bind(q)},D=!1;try{const F=z(C);if(F&&@isObject(F)&&@isPromise(F))return async function(G,j,x){while(!A)await x(G);return await j}(C,promise,z);return w.@promise}catch(F){return D=!0,@readableStreamError(O,F),@Promise.@reject(F)}finally{if(!D&&O)@readableStreamClose(O);C=B=q=z=O=@undefined}})\n";
// readableStreamToTextDirect
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamToTextDirectCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1852,7 +1852,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamToTextDirectCo
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamToTextDirectCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamToTextDirectCodeLength = 278;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamToTextDirectCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamToTextDirectCode = "(async function (_,h){\"use strict\";const j=@initializeTextStream.@call(_,h,@undefined);var f=_.getReader();while(@getByIdDirectPrivate(_,\"state\")===@streamReadable){var k=await f.read();if(k.done)break}try{f.releaseLock()}catch(p){}return f=@undefined,_=@undefined,j.@promise})\n";
+const char* const s_readableStreamInternalsReadableStreamToTextDirectCode = "(async function (f,h){\"use strict\";const j=@initializeTextStream.@call(f,h,@undefined);var k=f.getReader();while(@getByIdDirectPrivate(f,\"state\")===@streamReadable){var p=await k.read();if(p.done)break}try{k.releaseLock()}catch(_){}return k=@undefined,f=@undefined,j.@promise})\n";
// readableStreamToArrayDirect
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamToArrayDirectCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1860,7 +1860,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamToArrayDirectC
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamToArrayDirectCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamToArrayDirectCodeLength = 354;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamToArrayDirectCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamToArrayDirectCode = "(async function (f,j){\"use strict\";const p=@initializeArrayStream.@call(f,j,@undefined);j=@undefined;var _=f.getReader();try{while(@getByIdDirectPrivate(f,\"state\")===@streamReadable){var q=await _.read();if(q.done)break}try{_.releaseLock()}catch(k){}return _=@undefined,@Promise.@resolve(p.@promise)}catch(k){throw k}finally{f=@undefined,_=@undefined}})\n";
+const char* const s_readableStreamInternalsReadableStreamToArrayDirectCode = "(async function (_,j){\"use strict\";const k=@initializeArrayStream.@call(_,j,@undefined);j=@undefined;var p=_.getReader();try{while(@getByIdDirectPrivate(_,\"state\")===@streamReadable){var q=await p.read();if(q.done)break}try{p.releaseLock()}catch(f){}return p=@undefined,@Promise.@resolve(k.@promise)}catch(f){throw f}finally{_=@undefined,p=@undefined}})\n";
// readableStreamDefineLazyIterators
const JSC::ConstructAbility s_readableStreamInternalsReadableStreamDefineLazyIteratorsCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1868,7 +1868,7 @@ const JSC::ConstructorKind s_readableStreamInternalsReadableStreamDefineLazyIter
const JSC::ImplementationVisibility s_readableStreamInternalsReadableStreamDefineLazyIteratorsCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInternalsReadableStreamDefineLazyIteratorsCodeLength = 516;
static const JSC::Intrinsic s_readableStreamInternalsReadableStreamDefineLazyIteratorsCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInternalsReadableStreamDefineLazyIteratorsCode = "(function (i){\"use strict\";var B=globalThis.Symbol.asyncIterator,w=async function*x(k,G){var z=k.getReader(),g;try{while(!0){var j,q;const h=z.readMany();if(@isPromise(h))({done:j,value:q}=await h);else({done:j,value:q}=h);if(j)return;yield*q}}catch(h){g=h}finally{if(z.releaseLock(),!G)k.cancel(g);if(g)throw g}},D=function x(){return w(this,!1)},F=function x({preventCancel:k=!1}={preventCancel:!1}){return w(this,k)};return @Object.@defineProperty(i,B,{value:D}),@Object.@defineProperty(i,\"values\",{value:F}),i})\n";
+const char* const s_readableStreamInternalsReadableStreamDefineLazyIteratorsCode = "(function (k){\"use strict\";var B=globalThis.Symbol.asyncIterator,g=async function*z(D,F){var G=D.getReader(),j;try{while(!0){var x,h;const q=G.readMany();if(@isPromise(q))({done:x,value:h}=await q);else({done:x,value:h}=q);if(x)return;yield*h}}catch(q){j=q}finally{if(G.releaseLock(),!F)D.cancel(j);if(j)throw j}},i=function z(){return g(this,!1)},w=function z({preventCancel:D=!1}={preventCancel:!1}){return g(this,D)};return @Object.@defineProperty(k,B,{value:i}),@Object.@defineProperty(k,\"values\",{value:w}),k})\n";
#define DEFINE_BUILTIN_GENERATOR(codeName, functionName, overriddenName, argumentCount) \
JSC::FunctionExecutable* codeName##Generator(JSC::VM& vm) \
@@ -1894,7 +1894,7 @@ const JSC::ConstructorKind s_transformStreamDefaultControllerDesiredSizeCodeCons
const JSC::ImplementationVisibility s_transformStreamDefaultControllerDesiredSizeCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_transformStreamDefaultControllerDesiredSizeCodeLength = 339;
static const JSC::Intrinsic s_transformStreamDefaultControllerDesiredSizeCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_transformStreamDefaultControllerDesiredSizeCode = "(function (){\"use strict\";if(!@isTransformStreamDefaultController(this))throw @makeThisTypeError(\"TransformStreamDefaultController\",\"enqueue\");const _=@getByIdDirectPrivate(this,\"stream\"),u=@getByIdDirectPrivate(_,\"readable\"),i=@getByIdDirectPrivate(u,\"readableStreamController\");return @readableStreamDefaultControllerGetDesiredSize(i)})\n";
+const char* const s_transformStreamDefaultControllerDesiredSizeCode = "(function (){\"use strict\";if(!@isTransformStreamDefaultController(this))throw @makeThisTypeError(\"TransformStreamDefaultController\",\"enqueue\");const _=@getByIdDirectPrivate(this,\"stream\"),i=@getByIdDirectPrivate(_,\"readable\"),u=@getByIdDirectPrivate(i,\"readableStreamController\");return @readableStreamDefaultControllerGetDesiredSize(u)})\n";
// enqueue
const JSC::ConstructAbility s_transformStreamDefaultControllerEnqueueCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -1986,7 +1986,7 @@ const JSC::ConstructorKind s_jsBufferConstructorFromCodeConstructorKind = JSC::C
const JSC::ImplementationVisibility s_jsBufferConstructorFromCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_jsBufferConstructorFromCodeLength = 1107;
static const JSC::Intrinsic s_jsBufferConstructorFromCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_jsBufferConstructorFromCode = "(function (n){\"use strict\";if(@isUndefinedOrNull(n))@throwTypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object.\");if(typeof n===\"string\"||typeof n===\"object\"&&(@isTypedArrayView(n)||n instanceof @ArrayBuffer||n instanceof SharedArrayBuffer||n instanceof String))switch(@argumentCount()){case 1:return new @Buffer(n);case 2:return new @Buffer(n,@argument(1));default:return new @Buffer(n,@argument(1),@argument(2))}var d=@toObject(n,\"The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object.\");if(!@isJSArray(d)){const u=@tryGetByIdWithWellKnownSymbol(n,\"toPrimitive\");if(u){const f=u.@call(n,\"string\");if(typeof f===\"string\")switch(@argumentCount()){case 1:return new @Buffer(f);case 2:return new @Buffer(f,@argument(1));default:return new @Buffer(f,@argument(1),@argument(2))}}if(!(\"length\"in d)||@isCallable(d))@throwTypeError(\"The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object.\")}return new @Buffer(@Uint8Array.from(d).buffer)})\n";
+const char* const s_jsBufferConstructorFromCode = "(function (n){\"use strict\";if(@isUndefinedOrNull(n))@throwTypeError(\"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object.\");if(typeof n===\"string\"||typeof n===\"object\"&&(@isTypedArrayView(n)||n instanceof @ArrayBuffer||n instanceof SharedArrayBuffer||n instanceof String))switch(@argumentCount()){case 1:return new @Buffer(n);case 2:return new @Buffer(n,@argument(1));default:return new @Buffer(n,@argument(1),@argument(2))}var d=@toObject(n,\"The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object.\");if(!@isJSArray(d)){const f=@tryGetByIdWithWellKnownSymbol(n,\"toPrimitive\");if(f){const u=f.@call(n,\"string\");if(typeof u===\"string\")switch(@argumentCount()){case 1:return new @Buffer(u);case 2:return new @Buffer(u,@argument(1));default:return new @Buffer(u,@argument(1),@argument(2))}}if(!(\"length\"in d)||@isCallable(d))@throwTypeError(\"The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object.\")}return new @Buffer(@Uint8Array.from(d).buffer)})\n";
// isBuffer
const JSC::ConstructAbility s_jsBufferConstructorIsBufferCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2028,7 +2028,7 @@ const JSC::ConstructorKind s_readableStreamDefaultReaderReadManyCodeConstructorK
const JSC::ImplementationVisibility s_readableStreamDefaultReaderReadManyCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamDefaultReaderReadManyCodeLength = 2598;
static const JSC::Intrinsic s_readableStreamDefaultReaderReadManyCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamDefaultReaderReadManyCode = "(function (){\"use strict\";if(!@isReadableStreamDefaultReader(this))@throwTypeError(\"ReadableStreamDefaultReader.readMany() should not be called directly\");const j=@getByIdDirectPrivate(this,\"ownerReadableStream\");if(!j)@throwTypeError(\"readMany() called on a reader owned by no readable stream\");const I=@getByIdDirectPrivate(j,\"state\");if(@putByIdDirectPrivate(j,\"disturbed\",!0),I===@streamClosed)return{value:[],size:0,done:!0};else if(I===@streamErrored)throw @getByIdDirectPrivate(j,\"storedError\");var B=@getByIdDirectPrivate(j,\"readableStreamController\"),F=@getByIdDirectPrivate(B,\"queue\");if(!F)return B.@pull(B).@then(function({done:_,value:w}){return _\?{done:!0,value:[],size:0}:{value:[w],size:1,done:!1}});const N=F.content;var Q=F.size,x=N.toArray(!1),C=x.length;if(C>0){var D=@newArrayWithSize(C);if(@isReadableByteStreamController(B)){{const _=x[0];if(!(@ArrayBuffer.@isView(_)||_ instanceof @ArrayBuffer))@putByValDirect(D,0,new @Uint8Array(_.buffer,_.byteOffset,_.byteLength));else @putByValDirect(D,0,_)}for(var d=1;d<C;d++){const _=x[d];if(!(@ArrayBuffer.@isView(_)||_ instanceof @ArrayBuffer))@putByValDirect(D,d,new @Uint8Array(_.buffer,_.byteOffset,_.byteLength));else @putByValDirect(D,d,_)}}else{@putByValDirect(D,0,x[0].value);for(var d=1;d<C;d++)@putByValDirect(D,d,x[d].value)}if(@resetQueue(@getByIdDirectPrivate(B,\"queue\")),@getByIdDirectPrivate(B,\"closeRequested\"))@readableStreamClose(@getByIdDirectPrivate(B,\"controlledReadableStream\"));else if(@isReadableStreamDefaultController(B))@readableStreamDefaultControllerCallPullIfNeeded(B);else if(@isReadableByteStreamController(B))@readableByteStreamControllerCallPullIfNeeded(B);return{value:D,size:Q,done:!1}}var J=(_)=>{if(_.done)return{value:[],size:0,done:!0};var w=@getByIdDirectPrivate(j,\"readableStreamController\"),G=@getByIdDirectPrivate(w,\"queue\"),k=[_.value].concat(G.content.toArray(!1)),K=k.length;if(@isReadableByteStreamController(w))for(var A=0;A<K;A++){const H=k[A];if(!(@ArrayBuffer.@isView(H)||H instanceof @ArrayBuffer)){const{buffer:T,byteOffset:U,byteLength:W}=H;@putByValDirect(k,A,new @Uint8Array(T,U,W))}}else for(var A=1;A<K;A++)@putByValDirect(k,A,k[A].value);var S=G.size;if(@resetQueue(G),@getByIdDirectPrivate(w,\"closeRequested\"))@readableStreamClose(@getByIdDirectPrivate(w,\"controlledReadableStream\"));else if(@isReadableStreamDefaultController(w))@readableStreamDefaultControllerCallPullIfNeeded(w);else if(@isReadableByteStreamController(w))@readableByteStreamControllerCallPullIfNeeded(w);return{value:k,size:S,done:!1}},E=B.@pull(B);if(E&&@isPromise(E))return E.@then(J);return J(E)})\n";
+const char* const s_readableStreamDefaultReaderReadManyCode = "(function (){\"use strict\";if(!@isReadableStreamDefaultReader(this))@throwTypeError(\"ReadableStreamDefaultReader.readMany() should not be called directly\");const S=@getByIdDirectPrivate(this,\"ownerReadableStream\");if(!S)@throwTypeError(\"readMany() called on a reader owned by no readable stream\");const k=@getByIdDirectPrivate(S,\"state\");if(@putByIdDirectPrivate(S,\"disturbed\",!0),k===@streamClosed)return{value:[],size:0,done:!0};else if(k===@streamErrored)throw @getByIdDirectPrivate(S,\"storedError\");var G=@getByIdDirectPrivate(S,\"readableStreamController\"),x=@getByIdDirectPrivate(G,\"queue\");if(!x)return G.@pull(G).@then(function({done:K,value:B}){return K\?{done:!0,value:[],size:0}:{value:[B],size:1,done:!1}});const C=x.content;var _=x.size,E=C.toArray(!1),I=E.length;if(I>0){var D=@newArrayWithSize(I);if(@isReadableByteStreamController(G)){{const K=E[0];if(!(@ArrayBuffer.@isView(K)||K instanceof @ArrayBuffer))@putByValDirect(D,0,new @Uint8Array(K.buffer,K.byteOffset,K.byteLength));else @putByValDirect(D,0,K)}for(var J=1;J<I;J++){const K=E[J];if(!(@ArrayBuffer.@isView(K)||K instanceof @ArrayBuffer))@putByValDirect(D,J,new @Uint8Array(K.buffer,K.byteOffset,K.byteLength));else @putByValDirect(D,J,K)}}else{@putByValDirect(D,0,E[0].value);for(var J=1;J<I;J++)@putByValDirect(D,J,E[J].value)}if(@resetQueue(@getByIdDirectPrivate(G,\"queue\")),@getByIdDirectPrivate(G,\"closeRequested\"))@readableStreamClose(@getByIdDirectPrivate(G,\"controlledReadableStream\"));else if(@isReadableStreamDefaultController(G))@readableStreamDefaultControllerCallPullIfNeeded(G);else if(@isReadableByteStreamController(G))@readableByteStreamControllerCallPullIfNeeded(G);return{value:D,size:_,done:!1}}var T=(K)=>{if(K.done)return{value:[],size:0,done:!0};var B=@getByIdDirectPrivate(S,\"readableStreamController\"),F=@getByIdDirectPrivate(B,\"queue\"),N=[K.value].concat(F.content.toArray(!1)),j=N.length;if(@isReadableByteStreamController(B))for(var H=0;H<j;H++){const d=N[H];if(!(@ArrayBuffer.@isView(d)||d instanceof @ArrayBuffer)){const{buffer:Q,byteOffset:w,byteLength:W}=d;@putByValDirect(N,H,new @Uint8Array(Q,w,W))}}else for(var H=1;H<j;H++)@putByValDirect(N,H,N[H].value);var A=F.size;if(@resetQueue(F),@getByIdDirectPrivate(B,\"closeRequested\"))@readableStreamClose(@getByIdDirectPrivate(B,\"controlledReadableStream\"));else if(@isReadableStreamDefaultController(B))@readableStreamDefaultControllerCallPullIfNeeded(B);else if(@isReadableByteStreamController(B))@readableByteStreamControllerCallPullIfNeeded(B);return{value:N,size:A,done:!1}},U=G.@pull(G);if(U&&@isPromise(U))return U.@then(T);return T(U)})\n";
// read
const JSC::ConstructAbility s_readableStreamDefaultReaderReadCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2078,7 +2078,7 @@ const JSC::ConstructorKind s_streamInternalsShieldingPromiseResolveCodeConstruct
const JSC::ImplementationVisibility s_streamInternalsShieldingPromiseResolveCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_streamInternalsShieldingPromiseResolveCodeLength = 124;
static const JSC::Intrinsic s_streamInternalsShieldingPromiseResolveCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsShieldingPromiseResolveCode = "(function (a){\"use strict\";const _=@Promise.@resolve(a);if(_.@then===@undefined)_.@then=@Promise.prototype.@then;return _})\n";
+const char* const s_streamInternalsShieldingPromiseResolveCode = "(function (_){\"use strict\";const a=@Promise.@resolve(_);if(a.@then===@undefined)a.@then=@Promise.prototype.@then;return a})\n";
// promiseInvokeOrNoopMethodNoCatch
const JSC::ConstructAbility s_streamInternalsPromiseInvokeOrNoopMethodNoCatchCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2086,7 +2086,7 @@ const JSC::ConstructorKind s_streamInternalsPromiseInvokeOrNoopMethodNoCatchCode
const JSC::ImplementationVisibility s_streamInternalsPromiseInvokeOrNoopMethodNoCatchCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_streamInternalsPromiseInvokeOrNoopMethodNoCatchCodeLength = 125;
static const JSC::Intrinsic s_streamInternalsPromiseInvokeOrNoopMethodNoCatchCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsPromiseInvokeOrNoopMethodNoCatchCode = "(function (l,i,n){\"use strict\";if(i===@undefined)return @Promise.@resolve();return @shieldingPromiseResolve(i.@apply(l,n))})\n";
+const char* const s_streamInternalsPromiseInvokeOrNoopMethodNoCatchCode = "(function (i,l,n){\"use strict\";if(l===@undefined)return @Promise.@resolve();return @shieldingPromiseResolve(l.@apply(i,n))})\n";
// promiseInvokeOrNoopNoCatch
const JSC::ConstructAbility s_streamInternalsPromiseInvokeOrNoopNoCatchCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2110,7 +2110,7 @@ const JSC::ConstructorKind s_streamInternalsPromiseInvokeOrNoopCodeConstructorKi
const JSC::ImplementationVisibility s_streamInternalsPromiseInvokeOrNoopCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_streamInternalsPromiseInvokeOrNoopCodeLength = 116;
static const JSC::Intrinsic s_streamInternalsPromiseInvokeOrNoopCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsPromiseInvokeOrNoopCode = "(function (n,d,l){\"use strict\";try{return @promiseInvokeOrNoopNoCatch(n,d,l)}catch(m){return @Promise.@reject(m)}})\n";
+const char* const s_streamInternalsPromiseInvokeOrNoopCode = "(function (n,m,d){\"use strict\";try{return @promiseInvokeOrNoopNoCatch(n,m,d)}catch(l){return @Promise.@reject(l)}})\n";
// promiseInvokeOrFallbackOrNoop
const JSC::ConstructAbility s_streamInternalsPromiseInvokeOrFallbackOrNoopCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2118,7 +2118,7 @@ const JSC::ConstructorKind s_streamInternalsPromiseInvokeOrFallbackOrNoopCodeCon
const JSC::ImplementationVisibility s_streamInternalsPromiseInvokeOrFallbackOrNoopCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_streamInternalsPromiseInvokeOrFallbackOrNoopCodeLength = 198;
static const JSC::Intrinsic s_streamInternalsPromiseInvokeOrFallbackOrNoopCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsPromiseInvokeOrFallbackOrNoopCode = "(function (_,l,p,u,v){\"use strict\";try{const n=_[l];if(n===@undefined)return @promiseInvokeOrNoopNoCatch(_,u,v);return @shieldingPromiseResolve(n.@apply(_,p))}catch(n){return @Promise.@reject(n)}})\n";
+const char* const s_streamInternalsPromiseInvokeOrFallbackOrNoopCode = "(function (n,_,l,p,u){\"use strict\";try{const v=n[_];if(v===@undefined)return @promiseInvokeOrNoopNoCatch(n,p,u);return @shieldingPromiseResolve(v.@apply(n,l))}catch(v){return @Promise.@reject(v)}})\n";
// validateAndNormalizeQueuingStrategy
const JSC::ConstructAbility s_streamInternalsValidateAndNormalizeQueuingStrategyCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2126,7 +2126,7 @@ const JSC::ConstructorKind s_streamInternalsValidateAndNormalizeQueuingStrategyC
const JSC::ImplementationVisibility s_streamInternalsValidateAndNormalizeQueuingStrategyCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_streamInternalsValidateAndNormalizeQueuingStrategyCodeLength = 263;
static const JSC::Intrinsic s_streamInternalsValidateAndNormalizeQueuingStrategyCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsValidateAndNormalizeQueuingStrategyCode = "(function (d,l){\"use strict\";if(d!==@undefined&&typeof d!==\"function\")@throwTypeError(\"size parameter must be a function\");const f=@toNumber(l);if(@isNaN(f)||f<0)@throwRangeError(\"highWaterMark value is negative or not a number\");return{size:d,highWaterMark:f}})\n";
+const char* const s_streamInternalsValidateAndNormalizeQueuingStrategyCode = "(function (d,f){\"use strict\";if(d!==@undefined&&typeof d!==\"function\")@throwTypeError(\"size parameter must be a function\");const l=@toNumber(f);if(@isNaN(l)||l<0)@throwRangeError(\"highWaterMark value is negative or not a number\");return{size:d,highWaterMark:l}})\n";
// createFIFO
const JSC::ConstructAbility s_streamInternalsCreateFIFOCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2134,7 +2134,7 @@ const JSC::ConstructorKind s_streamInternalsCreateFIFOCodeConstructorKind = JSC:
const JSC::ImplementationVisibility s_streamInternalsCreateFIFOCodeImplementationVisibility = JSC::ImplementationVisibility::Private;
const int s_streamInternalsCreateFIFOCodeLength = 1473;
static const JSC::Intrinsic s_streamInternalsCreateFIFOCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsCreateFIFOCode = "(function (){\"use strict\";var E=@Array.prototype.slice;class A{constructor(){this._head=0,this._tail=0,this._capacityMask=3,this._list=@newArrayWithSize(4)}_head;_tail;_capacityMask;_list;size(){if(this._head===this._tail)return 0;if(this._head<this._tail)return this._tail-this._head;else return this._capacityMask+1-(this._head-this._tail)}isEmpty(){return this.size()==0}isNotEmpty(){return this.size()>0}shift(){var{_head:g,_tail:b,_list:x,_capacityMask:M}=this;if(g===b)return @undefined;var w=x[g];if(@putByValDirect(x,g,@undefined),g=this._head=g+1&M,g<2&&b>1e4&&b<=x.length>>>2)this._shrinkArray();return w}peek(){if(this._head===this._tail)return @undefined;return this._list[this._head]}push(g){var b=this._tail;if(@putByValDirect(this._list,b,g),this._tail=b+1&this._capacityMask,this._tail===this._head)this._growArray()}toArray(g){var b=this._list,x=@toLength(b.length);if(g||this._head>this._tail){var M=@toLength(this._head),w=@toLength(this._tail),F=@toLength(x-M+w),z=@newArrayWithSize(F),B=0;for(var v=M;v<x;v++)@putByValDirect(z,B++,b[v]);for(var v=0;v<w;v++)@putByValDirect(z,B++,b[v]);return z}else return E.@call(b,this._head,this._tail)}clear(){this._head=0,this._tail=0,this._list.fill(@undefined)}_growArray(){if(this._head)this._list=this.toArray(!0),this._head=0;this._tail=@toLength(this._list.length),this._list.length<<=1,this._capacityMask=this._capacityMask<<1|1}_shrinkArray(){this._list.length>>>=1,this._capacityMask>>>=1}}return new A})\n";
+const char* const s_streamInternalsCreateFIFOCode = "(function (){\"use strict\";var b=@Array.prototype.slice;class w{constructor(){this._head=0,this._tail=0,this._capacityMask=3,this._list=@newArrayWithSize(4)}_head;_tail;_capacityMask;_list;size(){if(this._head===this._tail)return 0;if(this._head<this._tail)return this._tail-this._head;else return this._capacityMask+1-(this._head-this._tail)}isEmpty(){return this.size()==0}isNotEmpty(){return this.size()>0}shift(){var{_head:x,_tail:g,_list:M,_capacityMask:z}=this;if(x===g)return @undefined;var A=M[x];if(@putByValDirect(M,x,@undefined),x=this._head=x+1&z,x<2&&g>1e4&&g<=M.length>>>2)this._shrinkArray();return A}peek(){if(this._head===this._tail)return @undefined;return this._list[this._head]}push(x){var g=this._tail;if(@putByValDirect(this._list,g,x),this._tail=g+1&this._capacityMask,this._tail===this._head)this._growArray()}toArray(x){var g=this._list,M=@toLength(g.length);if(x||this._head>this._tail){var z=@toLength(this._head),A=@toLength(this._tail),B=@toLength(M-z+A),E=@newArrayWithSize(B),v=0;for(var F=z;F<M;F++)@putByValDirect(E,v++,g[F]);for(var F=0;F<A;F++)@putByValDirect(E,v++,g[F]);return E}else return b.@call(g,this._head,this._tail)}clear(){this._head=0,this._tail=0,this._list.fill(@undefined)}_growArray(){if(this._head)this._list=this.toArray(!0),this._head=0;this._tail=@toLength(this._list.length),this._list.length<<=1,this._capacityMask=this._capacityMask<<1|1}_shrinkArray(){this._list.length>>>=1,this._capacityMask>>>=1}}return new w})\n";
// newQueue
const JSC::ConstructAbility s_streamInternalsNewQueueCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2158,7 +2158,7 @@ const JSC::ConstructorKind s_streamInternalsEnqueueValueWithSizeCodeConstructorK
const JSC::ImplementationVisibility s_streamInternalsEnqueueValueWithSizeCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_streamInternalsEnqueueValueWithSizeCodeLength = 161;
static const JSC::Intrinsic s_streamInternalsEnqueueValueWithSizeCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsEnqueueValueWithSizeCode = "(function (d,o,n){\"use strict\";if(n=@toNumber(n),!@isFinite(n)||n<0)@throwRangeError(\"size has an incorrect value\");d.content.push({value:o,size:n}),d.size+=n})\n";
+const char* const s_streamInternalsEnqueueValueWithSizeCode = "(function (n,d,o){\"use strict\";if(o=@toNumber(o),!@isFinite(o)||o<0)@throwRangeError(\"size has an incorrect value\");n.content.push({value:d,size:o}),n.size+=o})\n";
// peekQueueValue
const JSC::ConstructAbility s_streamInternalsPeekQueueValueCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2182,7 +2182,7 @@ const JSC::ConstructorKind s_streamInternalsExtractSizeAlgorithmCodeConstructorK
const JSC::ImplementationVisibility s_streamInternalsExtractSizeAlgorithmCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_streamInternalsExtractSizeAlgorithmCodeLength = 176;
static const JSC::Intrinsic s_streamInternalsExtractSizeAlgorithmCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsExtractSizeAlgorithmCode = "(function (p){\"use strict\";const d=p.size;if(d===@undefined)return()=>1;if(typeof d!==\"function\")@throwTypeError(\"strategy.size must be a function\");return(w)=>{return d(w)}})\n";
+const char* const s_streamInternalsExtractSizeAlgorithmCode = "(function (d){\"use strict\";const p=d.size;if(p===@undefined)return()=>1;if(typeof p!==\"function\")@throwTypeError(\"strategy.size must be a function\");return(w)=>{return p(w)}})\n";
// extractHighWaterMark
const JSC::ConstructAbility s_streamInternalsExtractHighWaterMarkCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2190,7 +2190,7 @@ const JSC::ConstructorKind s_streamInternalsExtractHighWaterMarkCodeConstructorK
const JSC::ImplementationVisibility s_streamInternalsExtractHighWaterMarkCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_streamInternalsExtractHighWaterMarkCodeLength = 188;
static const JSC::Intrinsic s_streamInternalsExtractHighWaterMarkCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsExtractHighWaterMarkCode = "(function (b,c){\"use strict\";const o=b.highWaterMark;if(o===@undefined)return c;if(@isNaN(o)||o<0)@throwRangeError(\"highWaterMark value is negative or not a number\");return @toNumber(o)})\n";
+const char* const s_streamInternalsExtractHighWaterMarkCode = "(function (o,b){\"use strict\";const c=o.highWaterMark;if(c===@undefined)return b;if(@isNaN(c)||c<0)@throwRangeError(\"highWaterMark value is negative or not a number\");return @toNumber(c)})\n";
// extractHighWaterMarkFromQueuingStrategyInit
const JSC::ConstructAbility s_streamInternalsExtractHighWaterMarkFromQueuingStrategyInitCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2206,7 +2206,7 @@ const JSC::ConstructorKind s_streamInternalsCreateFulfilledPromiseCodeConstructo
const JSC::ImplementationVisibility s_streamInternalsCreateFulfilledPromiseCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_streamInternalsCreateFulfilledPromiseCodeLength = 81;
static const JSC::Intrinsic s_streamInternalsCreateFulfilledPromiseCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_streamInternalsCreateFulfilledPromiseCode = "(function (n){\"use strict\";const d=@newPromise();return @fulfillPromise(d,n),d})\n";
+const char* const s_streamInternalsCreateFulfilledPromiseCode = "(function (d){\"use strict\";const n=@newPromise();return @fulfillPromise(n,d),n})\n";
// toDictionary
const JSC::ConstructAbility s_streamInternalsToDictionaryCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2232,7 +2232,7 @@ const JSC::ConstructorKind s_importMetaObjectLoadCJS2ESMCodeConstructorKind = JS
const JSC::ImplementationVisibility s_importMetaObjectLoadCJS2ESMCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_importMetaObjectLoadCJS2ESMCodeLength = 1387;
static const JSC::Intrinsic s_importMetaObjectLoadCJS2ESMCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_importMetaObjectLoadCJS2ESMCode = "(function (B){\"use strict\";var D=@Loader,H=@createFIFO(),_=B;while(_){var w=D.registry.@get(_);if((w\?.state\?\?0)<=@ModuleFetch)@fulfillModuleSync(_),w=D.registry.@get(_);var W=@getPromiseInternalField(w.fetch,@promiseFieldReactionsOrResult),x=D.parseModule(_,W),z=w.module;if(x&&@isPromise(x)){var J=@getPromiseInternalField(x,@promiseFieldReactionsOrResult),X=@getPromiseInternalField(x,@promiseFieldFlags),Q=X&@promiseStateMask;if(Q===@promiseStatePending||J&&@isPromise(J))@throwTypeError(`require() async module \"${_}\" is unsupported. use \"await import()\" instead.`);else if(Q===@promiseStateRejected){if(!J\?.message)@throwTypeError(`${J+\"\"\?J:\"An error occurred\"} occurred while parsing module \\\"${_}\\\"`);throw J}w.module=z=J}else if(x&&!z)w.module=z=x;@setStateToMax(w,@ModuleLink);var Y=z.dependenciesMap,I=D.requestedModules(z),T=@newArrayWithSize(I.length);for(var F=0,Z=I.length;F<Z;++F){var G=I[F],U=G[0]===\"/\"\?G:D.resolve(G,_),L=D.ensureRegistered(U);if(L.state<@ModuleLink)H.push(U);@putByValDirect(T,F,L),Y.@set(G,L)}w.dependencies=T,w.instantiate=@Promise.resolve(w),w.satisfy=@Promise.resolve(w),_=H.shift();while(_&&(D.registry.@get(_)\?.state\?\?@ModuleFetch)>=@ModuleLink)_=H.shift()}var V=D.linkAndEvaluateModule(B,@undefined);if(V&&@isPromise(V))@throwTypeError(`require() async module \\\"${B}\\\" is unsupported. use \"await import()\" instead.`);return D.registry.@get(B)})\n";
+const char* const s_importMetaObjectLoadCJS2ESMCode = "(function (D){\"use strict\";var H=@Loader,_=@createFIFO(),I=D;while(I){var w=H.registry.@get(I);if((w\?.state\?\?0)<=@ModuleFetch)@fulfillModuleSync(I),w=H.registry.@get(I);var L=@getPromiseInternalField(w.fetch,@promiseFieldReactionsOrResult),J=H.parseModule(I,L),Q=w.module;if(J&&@isPromise(J)){var T=@getPromiseInternalField(J,@promiseFieldReactionsOrResult),x=@getPromiseInternalField(J,@promiseFieldFlags),U=x&@promiseStateMask;if(U===@promiseStatePending||T&&@isPromise(T))@throwTypeError(`require() async module \"${I}\" is unsupported. use \"await import()\" instead.`);else if(U===@promiseStateRejected){if(!T\?.message)@throwTypeError(`${T+\"\"\?T:\"An error occurred\"} occurred while parsing module \\\"${I}\\\"`);throw T}w.module=Q=T}else if(J&&!Q)w.module=Q=J;@setStateToMax(w,@ModuleLink);var V=Q.dependenciesMap,W=H.requestedModules(Q),X=@newArrayWithSize(W.length);for(var Y=0,Z=W.length;Y<Z;++Y){var z=W[Y],B=z[0]===\"/\"\?z:H.resolve(z,I),F=H.ensureRegistered(B);if(F.state<@ModuleLink)_.push(B);@putByValDirect(X,Y,F),V.@set(z,F)}w.dependencies=X,w.instantiate=@Promise.resolve(w),w.satisfy=@Promise.resolve(w),I=_.shift();while(I&&(H.registry.@get(I)\?.state\?\?@ModuleFetch)>=@ModuleLink)I=_.shift()}var G=H.linkAndEvaluateModule(D,@undefined);if(G&&@isPromise(G))@throwTypeError(`require() async module \\\"${D}\\\" is unsupported. use \"await import()\" instead.`);return H.registry.@get(D)})\n";
// requireESM
const JSC::ConstructAbility s_importMetaObjectRequireESMCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2240,7 +2240,7 @@ const JSC::ConstructorKind s_importMetaObjectRequireESMCodeConstructorKind = JSC
const JSC::ImplementationVisibility s_importMetaObjectRequireESMCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_importMetaObjectRequireESMCodeLength = 325;
static const JSC::Intrinsic s_importMetaObjectRequireESMCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_importMetaObjectRequireESMCode = "(function (c){\"use strict\";var a=@Loader.registry.@get(c);if(!a||!a.evaluated)a=@loadCJS2ESM(c);if(!a||!a.evaluated||!a.module)@throwTypeError(`require() failed to evaluate module \"${c}\". This is an internal consistentency error.`);var _=@Loader.getModuleNamespaceObject(a.module);if(_[@commonJSSymbol]===0)return;return _})\n";
+const char* const s_importMetaObjectRequireESMCode = "(function (a){\"use strict\";var c=@Loader.registry.@get(a);if(!c||!c.evaluated)c=@loadCJS2ESM(a);if(!c||!c.evaluated||!c.module)@throwTypeError(`require() failed to evaluate module \"${a}\". This is an internal consistentency error.`);var _=@Loader.getModuleNamespaceObject(c.module);if(_[@commonJSSymbol]===0)return;return _})\n";
// internalRequire
const JSC::ConstructAbility s_importMetaObjectInternalRequireCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2248,7 +2248,7 @@ const JSC::ConstructorKind s_importMetaObjectInternalRequireCodeConstructorKind
const JSC::ImplementationVisibility s_importMetaObjectInternalRequireCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_importMetaObjectInternalRequireCodeLength = 747;
static const JSC::Intrinsic s_importMetaObjectInternalRequireCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_importMetaObjectInternalRequireCode = "(function (_){\"use strict\";var n=@requireMap.@get(_);const g=_.substring(_.length-5);if(n)return n.exports;if(g===\".json\"){var j=globalThis[Symbol.for(\"_fs\")]||=@Bun.fs(),b=JSON.parse(j.readFileSync(_,\"utf8\"));return @requireMap.@set(_,@createCommonJSModule(_,b,!0)),b}else if(g===\".node\"){const k=@createCommonJSModule(_,{},!0);return process.dlopen(k,_),@requireMap.@set(_,k),k.exports}else if(g===\".toml\"){var j=globalThis[Symbol.for(\"_fs\")]||=@Bun.fs(),b=@Bun.TOML.parse(j.readFileSync(_,\"utf8\"));return @requireMap.@set(_,@createCommonJSModule(_,b,!0)),b}else{var b=@requireESM(_);const v=@requireMap.@get(_);if(v)return v.exports;var q=b\?.default;if(q\?.[@commonJSSymbol]===0)b=q;return @requireMap.@set(_,@createCommonJSModule(_,b,!0)),b}})\n";
+const char* const s_importMetaObjectInternalRequireCode = "(function (b){\"use strict\";var g=@requireMap.@get(b);const j=b.substring(b.length-5);if(g)return g.exports;if(j===\".json\"){var k=globalThis[Symbol.for(\"_fs\")]||=@Bun.fs(),n=JSON.parse(k.readFileSync(b,\"utf8\"));return @requireMap.@set(b,@createCommonJSModule(b,n,!0)),n}else if(j===\".node\"){const q=@createCommonJSModule(b,{},!0);return process.dlopen(q,b),@requireMap.@set(b,q),q.exports}else if(j===\".toml\"){var k=globalThis[Symbol.for(\"_fs\")]||=@Bun.fs(),n=@Bun.TOML.parse(k.readFileSync(b,\"utf8\"));return @requireMap.@set(b,@createCommonJSModule(b,n,!0)),n}else{var n=@requireESM(b);const v=@requireMap.@get(b);if(v)return v.exports;var _=n\?.default;if(_\?.[@commonJSSymbol]===0)n=_;return @requireMap.@set(b,@createCommonJSModule(b,n,!0)),n}})\n";
// createRequireCache
const JSC::ConstructAbility s_importMetaObjectCreateRequireCacheCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2256,7 +2256,7 @@ const JSC::ConstructorKind s_importMetaObjectCreateRequireCacheCodeConstructorKi
const JSC::ImplementationVisibility s_importMetaObjectCreateRequireCacheCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_importMetaObjectCreateRequireCacheCodeLength = 854;
static const JSC::Intrinsic s_importMetaObjectCreateRequireCacheCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_importMetaObjectCreateRequireCacheCode = "(function (){\"use strict\";var c=new Map,L={};return new Proxy(L,{get(f,_){const h=@requireMap.@get(_);if(h)return h;const t=@Loader.registry.@get(_);if(t\?.evaluated){const u=@Loader.getModuleNamespaceObject(t.module),g=u[@commonJSSymbol]===0||u.default\?.[@commonJSSymbol]\?u.default:u,b=@createCommonJSModule(_,g,!0);return @requireMap.@set(_,b),b}return L[_]},set(f,_,h){return @requireMap.@set(_,h),!0},has(f,_){return @requireMap.@has(_)||@Loader.registry.@has(_)},deleteProperty(f,_){return c.@delete(_),@requireMap.@delete(_),@Loader.registry.@delete(_),!0},ownKeys(f){var _=[...@requireMap.@keys()];const h=[...@Loader.registry.@keys()];for(let t of h)if(!_.includes(t))@arrayPush(_,t);return _},getPrototypeOf(f){return null},getOwnPropertyDescriptor(f,_){if(@requireMap.@has(_)||@Loader.registry.@has(_))return{configurable:!0,enumerable:!0}}})})\n";
+const char* const s_importMetaObjectCreateRequireCacheCode = "(function (){\"use strict\";var _=new Map,f={};return new Proxy(f,{get(h,t){const u=@requireMap.@get(t);if(u)return u;const L=@Loader.registry.@get(t);if(L\?.evaluated){const b=@Loader.getModuleNamespaceObject(L.module),c=b[@commonJSSymbol]===0||b.default\?.[@commonJSSymbol]\?b.default:b,g=@createCommonJSModule(t,c,!0);return @requireMap.@set(t,g),g}return f[t]},set(h,t,u){return @requireMap.@set(t,u),!0},has(h,t){return @requireMap.@has(t)||@Loader.registry.@has(t)},deleteProperty(h,t){return _.@delete(t),@requireMap.@delete(t),@Loader.registry.@delete(t),!0},ownKeys(h){var t=[...@requireMap.@keys()];const u=[...@Loader.registry.@keys()];for(let L of u)if(!t.includes(L))@arrayPush(t,L);return t},getPrototypeOf(h){return null},getOwnPropertyDescriptor(h,t){if(@requireMap.@has(t)||@Loader.registry.@has(t))return{configurable:!0,enumerable:!0}}})})\n";
// require
const JSC::ConstructAbility s_importMetaObjectRequireCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2440,7 +2440,7 @@ const JSC::ConstructorKind s_readableStreamInitializeReadableStreamCodeConstruct
const JSC::ImplementationVisibility s_readableStreamInitializeReadableStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamInitializeReadableStreamCodeLength = 2065;
static const JSC::Intrinsic s_readableStreamInitializeReadableStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamInitializeReadableStreamCode = "(function (_,f){\"use strict\";if(_===@undefined)_={@bunNativeType:0,@bunNativePtr:0,@lazy:!1};if(f===@undefined)f={};if(!@isObject(_))@throwTypeError(\"ReadableStream constructor takes an object as first argument\");if(f!==@undefined&&!@isObject(f))@throwTypeError(\"ReadableStream constructor takes an object as second argument, if any\");@putByIdDirectPrivate(this,\"state\",@streamReadable),@putByIdDirectPrivate(this,\"reader\",@undefined),@putByIdDirectPrivate(this,\"storedError\",@undefined),@putByIdDirectPrivate(this,\"disturbed\",!1),@putByIdDirectPrivate(this,\"readableStreamController\",null),@putByIdDirectPrivate(this,\"bunNativeType\",@getByIdDirectPrivate(_,\"bunNativeType\")\?\?0),@putByIdDirectPrivate(this,\"bunNativePtr\",@getByIdDirectPrivate(_,\"bunNativePtr\")\?\?0);const B=_.type===\"direct\",b=!!_.@lazy,I=B||b;if(@getByIdDirectPrivate(_,\"pull\")!==@undefined&&!I){const v=@getByIdDirectPrivate(f,\"size\"),m=@getByIdDirectPrivate(f,\"highWaterMark\");return @putByIdDirectPrivate(this,\"highWaterMark\",m),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@setupReadableStreamDefaultController(this,_,v,m!==@undefined\?m:1,@getByIdDirectPrivate(_,\"start\"),@getByIdDirectPrivate(_,\"pull\"),@getByIdDirectPrivate(_,\"cancel\")),this}if(B)@putByIdDirectPrivate(this,\"underlyingSource\",_),@putByIdDirectPrivate(this,\"highWaterMark\",@getByIdDirectPrivate(f,\"highWaterMark\")),@putByIdDirectPrivate(this,\"start\",()=>@createReadableStreamController(this,_,f));else if(I){const v=_.autoAllocateChunkSize;@putByIdDirectPrivate(this,\"highWaterMark\",@undefined),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"highWaterMark\",v||@getByIdDirectPrivate(f,\"highWaterMark\")),@putByIdDirectPrivate(this,\"start\",()=>{const m=@lazyLoadStream(this,v);if(m)@createReadableStreamController(this,m,f)})}else @putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"highWaterMark\",@getByIdDirectPrivate(f,\"highWaterMark\")),@putByIdDirectPrivate(this,\"start\",@undefined),@createReadableStreamController(this,_,f);return this})\n";
+const char* const s_readableStreamInitializeReadableStreamCode = "(function (f,m){\"use strict\";if(f===@undefined)f={@bunNativeType:0,@bunNativePtr:0,@lazy:!1};if(m===@undefined)m={};if(!@isObject(f))@throwTypeError(\"ReadableStream constructor takes an object as first argument\");if(m!==@undefined&&!@isObject(m))@throwTypeError(\"ReadableStream constructor takes an object as second argument, if any\");@putByIdDirectPrivate(this,\"state\",@streamReadable),@putByIdDirectPrivate(this,\"reader\",@undefined),@putByIdDirectPrivate(this,\"storedError\",@undefined),@putByIdDirectPrivate(this,\"disturbed\",!1),@putByIdDirectPrivate(this,\"readableStreamController\",null),@putByIdDirectPrivate(this,\"bunNativeType\",@getByIdDirectPrivate(f,\"bunNativeType\")\?\?0),@putByIdDirectPrivate(this,\"bunNativePtr\",@getByIdDirectPrivate(f,\"bunNativePtr\")\?\?0);const v=f.type===\"direct\",B=!!f.@lazy,I=v||B;if(@getByIdDirectPrivate(f,\"pull\")!==@undefined&&!I){const _=@getByIdDirectPrivate(m,\"size\"),b=@getByIdDirectPrivate(m,\"highWaterMark\");return @putByIdDirectPrivate(this,\"highWaterMark\",b),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@setupReadableStreamDefaultController(this,f,_,b!==@undefined\?b:1,@getByIdDirectPrivate(f,\"start\"),@getByIdDirectPrivate(f,\"pull\"),@getByIdDirectPrivate(f,\"cancel\")),this}if(v)@putByIdDirectPrivate(this,\"underlyingSource\",f),@putByIdDirectPrivate(this,\"highWaterMark\",@getByIdDirectPrivate(m,\"highWaterMark\")),@putByIdDirectPrivate(this,\"start\",()=>@createReadableStreamController(this,f,m));else if(I){const _=f.autoAllocateChunkSize;@putByIdDirectPrivate(this,\"highWaterMark\",@undefined),@putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"highWaterMark\",_||@getByIdDirectPrivate(m,\"highWaterMark\")),@putByIdDirectPrivate(this,\"start\",()=>{const b=@lazyLoadStream(this,_);if(b)@createReadableStreamController(this,b,m)})}else @putByIdDirectPrivate(this,\"underlyingSource\",@undefined),@putByIdDirectPrivate(this,\"highWaterMark\",@getByIdDirectPrivate(m,\"highWaterMark\")),@putByIdDirectPrivate(this,\"start\",@undefined),@createReadableStreamController(this,f,m);return this})\n";
// readableStreamToArray
const JSC::ConstructAbility s_readableStreamReadableStreamToArrayCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2448,7 +2448,7 @@ const JSC::ConstructorKind s_readableStreamReadableStreamToArrayCodeConstructorK
const JSC::ImplementationVisibility s_readableStreamReadableStreamToArrayCodeImplementationVisibility = JSC::ImplementationVisibility::Private;
const int s_readableStreamReadableStreamToArrayCodeLength = 173;
static const JSC::Intrinsic s_readableStreamReadableStreamToArrayCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamReadableStreamToArrayCode = "(function (_){\"use strict\";var b=@getByIdDirectPrivate(_,\"underlyingSource\");if(b!==@undefined)return @readableStreamToArrayDirect(_,b);return @readableStreamIntoArray(_)})\n";
+const char* const s_readableStreamReadableStreamToArrayCode = "(function (b){\"use strict\";var _=@getByIdDirectPrivate(b,\"underlyingSource\");if(_!==@undefined)return @readableStreamToArrayDirect(b,_);return @readableStreamIntoArray(b)})\n";
// readableStreamToText
const JSC::ConstructAbility s_readableStreamReadableStreamToTextCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2464,7 +2464,7 @@ const JSC::ConstructorKind s_readableStreamReadableStreamToArrayBufferCodeConstr
const JSC::ImplementationVisibility s_readableStreamReadableStreamToArrayBufferCodeImplementationVisibility = JSC::ImplementationVisibility::Private;
const int s_readableStreamReadableStreamToArrayBufferCodeLength = 270;
static const JSC::Intrinsic s_readableStreamReadableStreamToArrayBufferCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamReadableStreamToArrayBufferCode = "(function (_){\"use strict\";var p=@getByIdDirectPrivate(_,\"underlyingSource\");if(p!==@undefined)return @readableStreamToArrayBufferDirect(_,p);var b=@Bun.readableStreamToArray(_);if(@isPromise(b))return b.then(@Bun.concatArrayBuffers);return @Bun.concatArrayBuffers(b)})\n";
+const char* const s_readableStreamReadableStreamToArrayBufferCode = "(function (_){\"use strict\";var b=@getByIdDirectPrivate(_,\"underlyingSource\");if(b!==@undefined)return @readableStreamToArrayBufferDirect(_,b);var p=@Bun.readableStreamToArray(_);if(@isPromise(p))return p.then(@Bun.concatArrayBuffers);return @Bun.concatArrayBuffers(p)})\n";
// readableStreamToJSON
const JSC::ConstructAbility s_readableStreamReadableStreamToJSONCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2488,7 +2488,7 @@ const JSC::ConstructorKind s_readableStreamConsumeReadableStreamCodeConstructorK
const JSC::ImplementationVisibility s_readableStreamConsumeReadableStreamCodeImplementationVisibility = JSC::ImplementationVisibility::Private;
const int s_readableStreamConsumeReadableStreamCodeLength = 1603;
static const JSC::Intrinsic s_readableStreamConsumeReadableStreamCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamConsumeReadableStreamCode = "(function (G,k,x){\"use strict\";const A=globalThis.Symbol.for(\"Bun.consumeReadableStreamPrototype\");var j=globalThis[A];if(!j)j=globalThis[A]=[];var q=j[k];if(q===@undefined){var[L,H,I,J,N,B]=globalThis[globalThis.Symbol.for(\"Bun.lazy\")](k);q=class K{handleError;handleClosed;processResult;constructor(_,F){this.#_=F,this.#F=_,this.#$=!1,this.handleError=this._handleError.bind(this),this.handleClosed=this._handleClosed.bind(this),this.processResult=this._processResult.bind(this),_.closed.then(this.handleClosed,this.handleError)}_handleClosed(){if(this.#$)return;this.#$=!0;var _=this.#_;this.#_=0,J(_),B(_)}_handleError(_){if(this.#$)return;this.#$=!0;var F=this.#_;this.#_=0,H(F,_),B(F)}#_;#$=!1;#F;_handleReadMany({value:_,done:F,size:w}){if(F){this.handleClosed();return}if(this.#$)return;I(this.#_,_,F,w)}read(){if(!this.#_)return @throwTypeError(\"ReadableStreamSink is already closed\");return this.processResult(this.#F.read())}_processResult(_){if(_&&@isPromise(_)){if(@getPromiseInternalField(_,@promiseFieldFlags)&@promiseStateFulfilled){const w=@getPromiseInternalField(_,@promiseFieldReactionsOrResult);if(w)_=w}}if(_&&@isPromise(_))return _.then(this.processResult,this.handleError),null;if(_.done)return this.handleClosed(),0;else if(_.value)return _.value;else return-1}readMany(){if(!this.#_)return @throwTypeError(\"ReadableStreamSink is already closed\");return this.processResult(this.#F.readMany())}};const D=k+1;if(j.length<D)j.length=D;@putByValDirect(j,k,q)}if(@isReadableStreamLocked(x))@throwTypeError(\"Cannot start reading from a locked stream\");return new q(x.getReader(),G)})\n";
+const char* const s_readableStreamConsumeReadableStreamCode = "(function (w,x,A){\"use strict\";const B=globalThis.Symbol.for(\"Bun.consumeReadableStreamPrototype\");var j=globalThis[B];if(!j)j=globalThis[B]=[];var I=j[x];if(I===@undefined){var[k,J,K,L,G,_]=globalThis[globalThis.Symbol.for(\"Bun.lazy\")](x);I=class H{handleError;handleClosed;processResult;constructor(D,N){this.#_=N,this.#F=D,this.#$=!1,this.handleError=this._handleError.bind(this),this.handleClosed=this._handleClosed.bind(this),this.processResult=this._processResult.bind(this),D.closed.then(this.handleClosed,this.handleError)}_handleClosed(){if(this.#$)return;this.#$=!0;var D=this.#_;this.#_=0,L(D),_(D)}_handleError(D){if(this.#$)return;this.#$=!0;var N=this.#_;this.#_=0,J(N,D),_(N)}#_;#$=!1;#F;_handleReadMany({value:D,done:N,size:q}){if(N){this.handleClosed();return}if(this.#$)return;K(this.#_,D,N,q)}read(){if(!this.#_)return @throwTypeError(\"ReadableStreamSink is already closed\");return this.processResult(this.#F.read())}_processResult(D){if(D&&@isPromise(D)){if(@getPromiseInternalField(D,@promiseFieldFlags)&@promiseStateFulfilled){const q=@getPromiseInternalField(D,@promiseFieldReactionsOrResult);if(q)D=q}}if(D&&@isPromise(D))return D.then(this.processResult,this.handleError),null;if(D.done)return this.handleClosed(),0;else if(D.value)return D.value;else return-1}readMany(){if(!this.#_)return @throwTypeError(\"ReadableStreamSink is already closed\");return this.processResult(this.#F.readMany())}};const F=x+1;if(j.length<F)j.length=F;@putByValDirect(j,x,I)}if(@isReadableStreamLocked(A))@throwTypeError(\"Cannot start reading from a locked stream\");return new I(A.getReader(),w)})\n";
// createEmptyReadableStream
const JSC::ConstructAbility s_readableStreamCreateEmptyReadableStreamCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2520,7 +2520,7 @@ const JSC::ConstructorKind s_readableStreamGetReaderCodeConstructorKind = JSC::C
const JSC::ImplementationVisibility s_readableStreamGetReaderCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamGetReaderCodeLength = 470;
static const JSC::Intrinsic s_readableStreamGetReaderCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamGetReaderCode = "(function (b){\"use strict\";if(!@isReadableStream(this))throw @makeThisTypeError(\"ReadableStream\",\"getReader\");const e=@toDictionary(b,{},\"ReadableStream.getReader takes an object as first argument\").mode;if(e===@undefined){var n=@getByIdDirectPrivate(this,\"start\");if(n)@putByIdDirectPrivate(this,\"start\",@undefined),n();return new @ReadableStreamDefaultReader(this)}if(e==\"byob\")return new @ReadableStreamBYOBReader(this);@throwTypeError(\"Invalid mode is specified\")})\n";
+const char* const s_readableStreamGetReaderCode = "(function (e){\"use strict\";if(!@isReadableStream(this))throw @makeThisTypeError(\"ReadableStream\",\"getReader\");const n=@toDictionary(e,{},\"ReadableStream.getReader takes an object as first argument\").mode;if(n===@undefined){var b=@getByIdDirectPrivate(this,\"start\");if(b)@putByIdDirectPrivate(this,\"start\",@undefined),b();return new @ReadableStreamDefaultReader(this)}if(n==\"byob\")return new @ReadableStreamBYOBReader(this);@throwTypeError(\"Invalid mode is specified\")})\n";
// pipeThrough
const JSC::ConstructAbility s_readableStreamPipeThroughCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2528,7 +2528,7 @@ const JSC::ConstructorKind s_readableStreamPipeThroughCodeConstructorKind = JSC:
const JSC::ImplementationVisibility s_readableStreamPipeThroughCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamPipeThroughCodeLength = 859;
static const JSC::Intrinsic s_readableStreamPipeThroughCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamPipeThroughCode = "(function (q,_){\"use strict\";const y=q,c=y.readable;if(!@isReadableStream(c))throw @makeTypeError(\"readable should be ReadableStream\");const x=y.writable,u=@getInternalWritableStream(x);if(!@isWritableStream(u))throw @makeTypeError(\"writable should be WritableStream\");let h=!1,j=!1,k=!1,d;if(!@isUndefinedOrNull(_)){if(!@isObject(_))throw @makeTypeError(\"options must be an object\");if(j=!!_.preventAbort,k=!!_.preventCancel,h=!!_.preventClose,d=_.signal,d!==@undefined&&!@isAbortSignal(d))throw @makeTypeError(\"options.signal must be AbortSignal\")}if(!@isReadableStream(this))throw @makeThisTypeError(\"ReadableStream\",\"pipeThrough\");if(@isReadableStreamLocked(this))throw @makeTypeError(\"ReadableStream is locked\");if(@isWritableStreamLocked(u))throw @makeTypeError(\"WritableStream is locked\");return @readableStreamPipeToWritableStream(this,u,h,j,k,d),c})\n";
+const char* const s_readableStreamPipeThroughCode = "(function (_,u){\"use strict\";const d=_,y=d.readable;if(!@isReadableStream(y))throw @makeTypeError(\"readable should be ReadableStream\");const c=d.writable,h=@getInternalWritableStream(c);if(!@isWritableStream(h))throw @makeTypeError(\"writable should be WritableStream\");let j=!1,k=!1,q=!1,x;if(!@isUndefinedOrNull(u)){if(!@isObject(u))throw @makeTypeError(\"options must be an object\");if(k=!!u.preventAbort,q=!!u.preventCancel,j=!!u.preventClose,x=u.signal,x!==@undefined&&!@isAbortSignal(x))throw @makeTypeError(\"options.signal must be AbortSignal\")}if(!@isReadableStream(this))throw @makeThisTypeError(\"ReadableStream\",\"pipeThrough\");if(@isReadableStreamLocked(this))throw @makeTypeError(\"ReadableStream is locked\");if(@isWritableStreamLocked(h))throw @makeTypeError(\"WritableStream is locked\");return @readableStreamPipeToWritableStream(this,h,j,k,q,x),y})\n";
// pipeTo
const JSC::ConstructAbility s_readableStreamPipeToCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2536,7 +2536,7 @@ const JSC::ConstructorKind s_readableStreamPipeToCodeConstructorKind = JSC::Cons
const JSC::ImplementationVisibility s_readableStreamPipeToCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamPipeToCodeLength = 914;
static const JSC::Intrinsic s_readableStreamPipeToCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamPipeToCode = "(function (S){\"use strict\";if(!@isReadableStream(this))return @Promise.@reject(@makeThisTypeError(\"ReadableStream\",\"pipeTo\"));if(@isReadableStreamLocked(this))return @Promise.@reject(@makeTypeError(\"ReadableStream is locked\"));let m=@argument(1),j=!1,E=!1,R=!1,u;if(!@isUndefinedOrNull(m)){if(!@isObject(m))return @Promise.@reject(@makeTypeError(\"options must be an object\"));try{E=!!m.preventAbort,R=!!m.preventCancel,j=!!m.preventClose,u=m.signal}catch(b){return @Promise.@reject(b)}if(u!==@undefined&&!@isAbortSignal(u))return @Promise.@reject(@makeTypeError(\"options.signal must be AbortSignal\"))}const _=@getInternalWritableStream(S);if(!@isWritableStream(_))return @Promise.@reject(@makeTypeError(\"ReadableStream pipeTo requires a WritableStream\"));if(@isWritableStreamLocked(_))return @Promise.@reject(@makeTypeError(\"WritableStream is locked\"));return @readableStreamPipeToWritableStream(this,_,j,E,R,u)})\n";
+const char* const s_readableStreamPipeToCode = "(function (u){\"use strict\";if(!@isReadableStream(this))return @Promise.@reject(@makeThisTypeError(\"ReadableStream\",\"pipeTo\"));if(@isReadableStreamLocked(this))return @Promise.@reject(@makeTypeError(\"ReadableStream is locked\"));let _=@argument(1),j=!1,E=!1,R=!1,m;if(!@isUndefinedOrNull(_)){if(!@isObject(_))return @Promise.@reject(@makeTypeError(\"options must be an object\"));try{E=!!_.preventAbort,R=!!_.preventCancel,j=!!_.preventClose,m=_.signal}catch(b){return @Promise.@reject(b)}if(m!==@undefined&&!@isAbortSignal(m))return @Promise.@reject(@makeTypeError(\"options.signal must be AbortSignal\"))}const S=@getInternalWritableStream(u);if(!@isWritableStream(S))return @Promise.@reject(@makeTypeError(\"ReadableStream pipeTo requires a WritableStream\"));if(@isWritableStreamLocked(S))return @Promise.@reject(@makeTypeError(\"WritableStream is locked\"));return @readableStreamPipeToWritableStream(this,S,j,E,R,m)})\n";
// tee
const JSC::ConstructAbility s_readableStreamTeeCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2560,7 +2560,7 @@ const JSC::ConstructorKind s_readableStreamValuesCodeConstructorKind = JSC::Cons
const JSC::ImplementationVisibility s_readableStreamValuesCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableStreamValuesCodeLength = 129;
static const JSC::Intrinsic s_readableStreamValuesCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableStreamValuesCode = "(function (_){\"use strict\";var r=@ReadableStream.prototype;return @readableStreamDefineLazyIterators(r),r.values.@call(this,_)})\n";
+const char* const s_readableStreamValuesCode = "(function (r){\"use strict\";var _=@ReadableStream.prototype;return @readableStreamDefineLazyIterators(_),_.values.@call(this,r)})\n";
// lazyAsyncIterator
const JSC::ConstructAbility s_readableStreamLazyAsyncIteratorCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2636,7 +2636,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsPrivateInitializeReadabl
const JSC::ImplementationVisibility s_readableByteStreamInternalsPrivateInitializeReadableByteStreamControllerCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsPrivateInitializeReadableByteStreamControllerCodeLength = 1654;
static const JSC::Intrinsic s_readableByteStreamInternalsPrivateInitializeReadableByteStreamControllerCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsPrivateInitializeReadableByteStreamControllerCode = "(function (b,p,R){\"use strict\";if(!@isReadableStream(b))@throwTypeError(\"ReadableByteStreamController needs a ReadableStream\");if(@getByIdDirectPrivate(b,\"readableStreamController\")!==null)@throwTypeError(\"ReadableStream already has a controller\");@putByIdDirectPrivate(this,\"controlledReadableStream\",b),@putByIdDirectPrivate(this,\"underlyingByteSource\",p),@putByIdDirectPrivate(this,\"pullAgain\",!1),@putByIdDirectPrivate(this,\"pulling\",!1),@readableByteStreamControllerClearPendingPullIntos(this),@putByIdDirectPrivate(this,\"queue\",@newQueue()),@putByIdDirectPrivate(this,\"started\",0),@putByIdDirectPrivate(this,\"closeRequested\",!1);let f=@toNumber(R);if(@isNaN(f)||f<0)@throwRangeError(\"highWaterMark value is negative or not a number\");@putByIdDirectPrivate(this,\"strategyHWM\",f);let _=p.autoAllocateChunkSize;if(_!==@undefined){if(_=@toNumber(_),_<=0||_===@Infinity||_===-@Infinity)@throwRangeError(\"autoAllocateChunkSize value is negative or equal to positive or negative infinity\")}@putByIdDirectPrivate(this,\"autoAllocateChunkSize\",_),@putByIdDirectPrivate(this,\"pendingPullIntos\",@createFIFO());const v=this;return @promiseInvokeOrNoopNoCatch(@getByIdDirectPrivate(v,\"underlyingByteSource\"),\"start\",[v]).@then(()=>{@putByIdDirectPrivate(v,\"started\",1),@assert(!@getByIdDirectPrivate(v,\"pulling\")),@assert(!@getByIdDirectPrivate(v,\"pullAgain\")),@readableByteStreamControllerCallPullIfNeeded(v)},(d)=>{if(@getByIdDirectPrivate(b,\"state\")===@streamReadable)@readableByteStreamControllerError(v,d)}),@putByIdDirectPrivate(this,\"cancel\",@readableByteStreamControllerCancel),@putByIdDirectPrivate(this,\"pull\",@readableByteStreamControllerPull),this})\n";
+const char* const s_readableByteStreamInternalsPrivateInitializeReadableByteStreamControllerCode = "(function (_,v,b){\"use strict\";if(!@isReadableStream(_))@throwTypeError(\"ReadableByteStreamController needs a ReadableStream\");if(@getByIdDirectPrivate(_,\"readableStreamController\")!==null)@throwTypeError(\"ReadableStream already has a controller\");@putByIdDirectPrivate(this,\"controlledReadableStream\",_),@putByIdDirectPrivate(this,\"underlyingByteSource\",v),@putByIdDirectPrivate(this,\"pullAgain\",!1),@putByIdDirectPrivate(this,\"pulling\",!1),@readableByteStreamControllerClearPendingPullIntos(this),@putByIdDirectPrivate(this,\"queue\",@newQueue()),@putByIdDirectPrivate(this,\"started\",0),@putByIdDirectPrivate(this,\"closeRequested\",!1);let p=@toNumber(b);if(@isNaN(p)||p<0)@throwRangeError(\"highWaterMark value is negative or not a number\");@putByIdDirectPrivate(this,\"strategyHWM\",p);let R=v.autoAllocateChunkSize;if(R!==@undefined){if(R=@toNumber(R),R<=0||R===@Infinity||R===-@Infinity)@throwRangeError(\"autoAllocateChunkSize value is negative or equal to positive or negative infinity\")}@putByIdDirectPrivate(this,\"autoAllocateChunkSize\",R),@putByIdDirectPrivate(this,\"pendingPullIntos\",@createFIFO());const d=this;return @promiseInvokeOrNoopNoCatch(@getByIdDirectPrivate(d,\"underlyingByteSource\"),\"start\",[d]).@then(()=>{@putByIdDirectPrivate(d,\"started\",1),@assert(!@getByIdDirectPrivate(d,\"pulling\")),@assert(!@getByIdDirectPrivate(d,\"pullAgain\")),@readableByteStreamControllerCallPullIfNeeded(d)},(f)=>{if(@getByIdDirectPrivate(_,\"state\")===@streamReadable)@readableByteStreamControllerError(d,f)}),@putByIdDirectPrivate(this,\"cancel\",@readableByteStreamControllerCancel),@putByIdDirectPrivate(this,\"pull\",@readableByteStreamControllerPull),this})\n";
// readableStreamByteStreamControllerStart
const JSC::ConstructAbility s_readableByteStreamInternalsReadableStreamByteStreamControllerStartCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2684,7 +2684,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerCancelCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerCancelCodeLength = 248;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerCancelCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerCancelCode = "(function (a,u){\"use strict\";var _=@getByIdDirectPrivate(a,\"pendingPullIntos\"),p=_.peek();if(p)p.bytesFilled=0;return @putByIdDirectPrivate(a,\"queue\",@newQueue()),@promiseInvokeOrNoop(@getByIdDirectPrivate(a,\"underlyingByteSource\"),\"cancel\",[u])})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerCancelCode = "(function (a,p){\"use strict\";var u=@getByIdDirectPrivate(a,\"pendingPullIntos\"),_=u.peek();if(_)_.bytesFilled=0;return @putByIdDirectPrivate(a,\"queue\",@newQueue()),@promiseInvokeOrNoop(@getByIdDirectPrivate(a,\"underlyingByteSource\"),\"cancel\",[p])})\n";
// readableByteStreamControllerError
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerErrorCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2716,7 +2716,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerGetDesiredSizeCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerGetDesiredSizeCodeLength = 272;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerGetDesiredSizeCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerGetDesiredSizeCode = "(function (u){\"use strict\";const _=@getByIdDirectPrivate(u,\"controlledReadableStream\"),d=@getByIdDirectPrivate(_,\"state\");if(d===@streamErrored)return null;if(d===@streamClosed)return 0;return @getByIdDirectPrivate(u,\"strategyHWM\")-@getByIdDirectPrivate(u,\"queue\").size})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerGetDesiredSizeCode = "(function (u){\"use strict\";const d=@getByIdDirectPrivate(u,\"controlledReadableStream\"),_=@getByIdDirectPrivate(d,\"state\");if(_===@streamErrored)return null;if(_===@streamClosed)return 0;return @getByIdDirectPrivate(u,\"strategyHWM\")-@getByIdDirectPrivate(u,\"queue\").size})\n";
// readableStreamHasBYOBReader
const JSC::ConstructAbility s_readableByteStreamInternalsReadableStreamHasBYOBReaderCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2724,7 +2724,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableStreamHasBYOBRea
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableStreamHasBYOBReaderCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableStreamHasBYOBReaderCodeLength = 125;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableStreamHasBYOBReaderCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableStreamHasBYOBReaderCode = "(function (u){\"use strict\";const n=@getByIdDirectPrivate(u,\"reader\");return n!==@undefined&&@isReadableStreamBYOBReader(n)})\n";
+const char* const s_readableByteStreamInternalsReadableStreamHasBYOBReaderCode = "(function (n){\"use strict\";const u=@getByIdDirectPrivate(n,\"reader\");return u!==@undefined&&@isReadableStreamBYOBReader(u)})\n";
// readableStreamHasDefaultReader
const JSC::ConstructAbility s_readableByteStreamInternalsReadableStreamHasDefaultReaderCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2732,7 +2732,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableStreamHasDefault
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableStreamHasDefaultReaderCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableStreamHasDefaultReaderCodeLength = 128;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableStreamHasDefaultReaderCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableStreamHasDefaultReaderCode = "(function (n){\"use strict\";const l=@getByIdDirectPrivate(n,\"reader\");return l!==@undefined&&@isReadableStreamDefaultReader(l)})\n";
+const char* const s_readableByteStreamInternalsReadableStreamHasDefaultReaderCode = "(function (l){\"use strict\";const n=@getByIdDirectPrivate(l,\"reader\");return n!==@undefined&&@isReadableStreamDefaultReader(n)})\n";
// readableByteStreamControllerHandleQueueDrain
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerHandleQueueDrainCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2748,7 +2748,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerPullCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerPullCodeLength = 1005;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerPullCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerPullCode = "(function (_){\"use strict\";const P=@getByIdDirectPrivate(_,\"controlledReadableStream\");if(@assert(@readableStreamHasDefaultReader(P)),@getByIdDirectPrivate(_,\"queue\").content\?.isNotEmpty()){const d=@getByIdDirectPrivate(_,\"queue\").content.shift();@getByIdDirectPrivate(_,\"queue\").size-=d.byteLength,@readableByteStreamControllerHandleQueueDrain(_);let h;try{h=new @Uint8Array(d.buffer,d.byteOffset,d.byteLength)}catch(F){return @Promise.@reject(F)}return @createFulfilledPromise({value:h,done:!1})}if(@getByIdDirectPrivate(_,\"autoAllocateChunkSize\")!==@undefined){let d;try{d=@createUninitializedArrayBuffer(@getByIdDirectPrivate(_,\"autoAllocateChunkSize\"))}catch(F){return @Promise.@reject(F)}const h={buffer:d,byteOffset:0,byteLength:@getByIdDirectPrivate(_,\"autoAllocateChunkSize\"),bytesFilled:0,elementSize:1,ctor:@Uint8Array,readerType:\"default\"};@getByIdDirectPrivate(_,\"pendingPullIntos\").push(h)}const R=@readableStreamAddReadRequest(P);return @readableByteStreamControllerCallPullIfNeeded(_),R})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerPullCode = "(function (_){\"use strict\";const h=@getByIdDirectPrivate(_,\"controlledReadableStream\");if(@assert(@readableStreamHasDefaultReader(h)),@getByIdDirectPrivate(_,\"queue\").content\?.isNotEmpty()){const F=@getByIdDirectPrivate(_,\"queue\").content.shift();@getByIdDirectPrivate(_,\"queue\").size-=F.byteLength,@readableByteStreamControllerHandleQueueDrain(_);let P;try{P=new @Uint8Array(F.buffer,F.byteOffset,F.byteLength)}catch(R){return @Promise.@reject(R)}return @createFulfilledPromise({value:P,done:!1})}if(@getByIdDirectPrivate(_,\"autoAllocateChunkSize\")!==@undefined){let F;try{F=@createUninitializedArrayBuffer(@getByIdDirectPrivate(_,\"autoAllocateChunkSize\"))}catch(R){return @Promise.@reject(R)}const P={buffer:F,byteOffset:0,byteLength:@getByIdDirectPrivate(_,\"autoAllocateChunkSize\"),bytesFilled:0,elementSize:1,ctor:@Uint8Array,readerType:\"default\"};@getByIdDirectPrivate(_,\"pendingPullIntos\").push(P)}const d=@readableStreamAddReadRequest(h);return @readableByteStreamControllerCallPullIfNeeded(_),d})\n";
// readableByteStreamControllerShouldCallPull
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerShouldCallPullCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2788,7 +2788,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerEnqueueCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerEnqueueCodeLength = 1076;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerEnqueueCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerEnqueueCode = "(function (d,i){\"use strict\";const _=@getByIdDirectPrivate(d,\"controlledReadableStream\");switch(@assert(!@getByIdDirectPrivate(d,\"closeRequested\")),@assert(@getByIdDirectPrivate(_,\"state\")===@streamReadable),@getByIdDirectPrivate(_,\"reader\")\?@readableStreamReaderKind(@getByIdDirectPrivate(_,\"reader\")):0){case 1:{if(!@getByIdDirectPrivate(@getByIdDirectPrivate(_,\"reader\"),\"readRequests\")\?.isNotEmpty())@readableByteStreamControllerEnqueueChunk(d,@transferBufferToCurrentRealm(i.buffer),i.byteOffset,i.byteLength);else{@assert(!@getByIdDirectPrivate(d,\"queue\").content.size());const f=i.constructor===@Uint8Array\?i:new @Uint8Array(i.buffer,i.byteOffset,i.byteLength);@readableStreamFulfillReadRequest(_,f,!1)}break}case 2:{@readableByteStreamControllerEnqueueChunk(d,@transferBufferToCurrentRealm(i.buffer),i.byteOffset,i.byteLength),@readableByteStreamControllerProcessPullDescriptors(d);break}case 3:break;default:{@assert(!@isReadableStreamLocked(_)),@readableByteStreamControllerEnqueueChunk(d,@transferBufferToCurrentRealm(i.buffer),i.byteOffset,i.byteLength);break}}})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerEnqueueCode = "(function (i,_){\"use strict\";const f=@getByIdDirectPrivate(i,\"controlledReadableStream\");switch(@assert(!@getByIdDirectPrivate(i,\"closeRequested\")),@assert(@getByIdDirectPrivate(f,\"state\")===@streamReadable),@getByIdDirectPrivate(f,\"reader\")\?@readableStreamReaderKind(@getByIdDirectPrivate(f,\"reader\")):0){case 1:{if(!@getByIdDirectPrivate(@getByIdDirectPrivate(f,\"reader\"),\"readRequests\")\?.isNotEmpty())@readableByteStreamControllerEnqueueChunk(i,@transferBufferToCurrentRealm(_.buffer),_.byteOffset,_.byteLength);else{@assert(!@getByIdDirectPrivate(i,\"queue\").content.size());const d=_.constructor===@Uint8Array\?_:new @Uint8Array(_.buffer,_.byteOffset,_.byteLength);@readableStreamFulfillReadRequest(f,d,!1)}break}case 2:{@readableByteStreamControllerEnqueueChunk(i,@transferBufferToCurrentRealm(_.buffer),_.byteOffset,_.byteLength),@readableByteStreamControllerProcessPullDescriptors(i);break}case 3:break;default:{@assert(!@isReadableStreamLocked(f)),@readableByteStreamControllerEnqueueChunk(i,@transferBufferToCurrentRealm(_.buffer),_.byteOffset,_.byteLength);break}}})\n";
// readableByteStreamControllerEnqueueChunk
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerEnqueueChunkCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2796,7 +2796,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerEnqueueChunkCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerEnqueueChunkCodeLength = 160;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerEnqueueChunkCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerEnqueueChunkCode = "(function (_,d,p,a){\"use strict\";@getByIdDirectPrivate(_,\"queue\").content.push({buffer:d,byteOffset:p,byteLength:a}),@getByIdDirectPrivate(_,\"queue\").size+=a})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerEnqueueChunkCode = "(function (_,a,d,p){\"use strict\";@getByIdDirectPrivate(_,\"queue\").content.push({buffer:a,byteOffset:d,byteLength:p}),@getByIdDirectPrivate(_,\"queue\").size+=p})\n";
// readableByteStreamControllerRespondWithNewView
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerRespondWithNewViewCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2804,7 +2804,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerRespondWithNewViewCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerRespondWithNewViewCodeLength = 417;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerRespondWithNewViewCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerRespondWithNewViewCode = "(function (d,u){\"use strict\";@assert(@getByIdDirectPrivate(d,\"pendingPullIntos\").isNotEmpty());let a=@getByIdDirectPrivate(d,\"pendingPullIntos\").peek();if(a.byteOffset+a.bytesFilled!==u.byteOffset)@throwRangeError(\"Invalid value for view.byteOffset\");if(a.byteLength!==u.byteLength)@throwRangeError(\"Invalid value for view.byteLength\");a.buffer=u.buffer,@readableByteStreamControllerRespondInternal(d,u.byteLength)})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerRespondWithNewViewCode = "(function (u,a){\"use strict\";@assert(@getByIdDirectPrivate(u,\"pendingPullIntos\").isNotEmpty());let d=@getByIdDirectPrivate(u,\"pendingPullIntos\").peek();if(d.byteOffset+d.bytesFilled!==a.byteOffset)@throwRangeError(\"Invalid value for view.byteOffset\");if(d.byteLength!==a.byteLength)@throwRangeError(\"Invalid value for view.byteLength\");d.buffer=a.buffer,@readableByteStreamControllerRespondInternal(u,a.byteLength)})\n";
// readableByteStreamControllerRespond
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerRespondCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2812,7 +2812,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerRespondCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerRespondCodeLength = 251;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerRespondCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerRespondCode = "(function (I,u){\"use strict\";if(u=@toNumber(u),@isNaN(u)||u===@Infinity||u<0)@throwRangeError(\"bytesWritten has an incorrect value\");@assert(@getByIdDirectPrivate(I,\"pendingPullIntos\").isNotEmpty()),@readableByteStreamControllerRespondInternal(I,u)})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerRespondCode = "(function (u,I){\"use strict\";if(I=@toNumber(I),@isNaN(I)||I===@Infinity||I<0)@throwRangeError(\"bytesWritten has an incorrect value\");@assert(@getByIdDirectPrivate(u,\"pendingPullIntos\").isNotEmpty()),@readableByteStreamControllerRespondInternal(u,I)})\n";
// readableByteStreamControllerRespondInternal
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerRespondInternalCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2828,7 +2828,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerRespondInReadableStateCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerRespondInReadableStateCodeLength = 799;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerRespondInReadableStateCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerRespondInReadableStateCode = "(function (w,_,f){\"use strict\";if(f.bytesFilled+_>f.byteLength)@throwRangeError(\"bytesWritten value is too great\");if(@assert(@getByIdDirectPrivate(w,\"pendingPullIntos\").isEmpty()||@getByIdDirectPrivate(w,\"pendingPullIntos\").peek()===f),@readableByteStreamControllerInvalidateBYOBRequest(w),f.bytesFilled+=_,f.bytesFilled<f.elementSize)return;@readableByteStreamControllerShiftPendingDescriptor(w);const R=f.bytesFilled%f.elementSize;if(R>0){const h=f.byteOffset+f.bytesFilled,g=@cloneArrayBuffer(f.buffer,h-R,R);@readableByteStreamControllerEnqueueChunk(w,g,0,g.byteLength)}f.buffer=@transferBufferToCurrentRealm(f.buffer),f.bytesFilled-=R,@readableByteStreamControllerCommitDescriptor(@getByIdDirectPrivate(w,\"controlledReadableStream\"),f),@readableByteStreamControllerProcessPullDescriptors(w)})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerRespondInReadableStateCode = "(function (f,R,w){\"use strict\";if(w.bytesFilled+R>w.byteLength)@throwRangeError(\"bytesWritten value is too great\");if(@assert(@getByIdDirectPrivate(f,\"pendingPullIntos\").isEmpty()||@getByIdDirectPrivate(f,\"pendingPullIntos\").peek()===w),@readableByteStreamControllerInvalidateBYOBRequest(f),w.bytesFilled+=R,w.bytesFilled<w.elementSize)return;@readableByteStreamControllerShiftPendingDescriptor(f);const _=w.bytesFilled%w.elementSize;if(_>0){const g=w.byteOffset+w.bytesFilled,h=@cloneArrayBuffer(w.buffer,g-_,_);@readableByteStreamControllerEnqueueChunk(f,h,0,h.byteLength)}w.buffer=@transferBufferToCurrentRealm(w.buffer),w.bytesFilled-=_,@readableByteStreamControllerCommitDescriptor(@getByIdDirectPrivate(f,\"controlledReadableStream\"),w),@readableByteStreamControllerProcessPullDescriptors(f)})\n";
// readableByteStreamControllerRespondInClosedState
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerRespondInClosedStateCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2852,7 +2852,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerFillDescriptorFromQueueCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerFillDescriptorFromQueueCodeLength = 970;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerFillDescriptorFromQueueCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerFillDescriptorFromQueueCode = "(function (q,_){\"use strict\";const H=_.bytesFilled-_.bytesFilled%_.elementSize,z=@getByIdDirectPrivate(q,\"queue\").size<_.byteLength-_.bytesFilled\?@getByIdDirectPrivate(q,\"queue\").size:_.byteLength-_.bytesFilled,E=_.bytesFilled+z,G=E-E%_.elementSize;let v=z,w=!1;if(G>H)v=G-_.bytesFilled,w=!0;while(v>0){let j=@getByIdDirectPrivate(q,\"queue\").content.peek();const k=v<j.byteLength\?v:j.byteLength,J=_.byteOffset+_.bytesFilled;if(new @Uint8Array(_.buffer).set(new @Uint8Array(j.buffer,j.byteOffset,k),J),j.byteLength===k)@getByIdDirectPrivate(q,\"queue\").content.shift();else j.byteOffset+=k,j.byteLength-=k;@getByIdDirectPrivate(q,\"queue\").size-=k,@assert(@getByIdDirectPrivate(q,\"pendingPullIntos\").isEmpty()||@getByIdDirectPrivate(q,\"pendingPullIntos\").peek()===_),@readableByteStreamControllerInvalidateBYOBRequest(q),_.bytesFilled+=k,v-=k}if(!w)@assert(@getByIdDirectPrivate(q,\"queue\").size===0),@assert(_.bytesFilled>0),@assert(_.bytesFilled<_.elementSize);return w})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerFillDescriptorFromQueueCode = "(function (_,q){\"use strict\";const z=q.bytesFilled-q.bytesFilled%q.elementSize,j=@getByIdDirectPrivate(_,\"queue\").size<q.byteLength-q.bytesFilled\?@getByIdDirectPrivate(_,\"queue\").size:q.byteLength-q.bytesFilled,E=q.bytesFilled+j,k=E-E%q.elementSize;let G=j,v=!1;if(k>z)G=k-q.bytesFilled,v=!0;while(G>0){let H=@getByIdDirectPrivate(_,\"queue\").content.peek();const w=G<H.byteLength\?G:H.byteLength,J=q.byteOffset+q.bytesFilled;if(new @Uint8Array(q.buffer).set(new @Uint8Array(H.buffer,H.byteOffset,w),J),H.byteLength===w)@getByIdDirectPrivate(_,\"queue\").content.shift();else H.byteOffset+=w,H.byteLength-=w;@getByIdDirectPrivate(_,\"queue\").size-=w,@assert(@getByIdDirectPrivate(_,\"pendingPullIntos\").isEmpty()||@getByIdDirectPrivate(_,\"pendingPullIntos\").peek()===q),@readableByteStreamControllerInvalidateBYOBRequest(_),q.bytesFilled+=w,G-=w}if(!v)@assert(@getByIdDirectPrivate(_,\"queue\").size===0),@assert(q.bytesFilled>0),@assert(q.bytesFilled<q.elementSize);return v})\n";
// readableByteStreamControllerShiftPendingDescriptor
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerShiftPendingDescriptorCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2892,7 +2892,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableStreamFulfillRea
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableStreamFulfillReadIntoRequestCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableStreamFulfillReadIntoRequestCodeLength = 161;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableStreamFulfillReadIntoRequestCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableStreamFulfillReadIntoRequestCode = "(function (l,i,p){\"use strict\";const _=@getByIdDirectPrivate(@getByIdDirectPrivate(l,\"reader\"),\"readIntoRequests\").shift();@fulfillPromise(_,{value:i,done:p})})\n";
+const char* const s_readableByteStreamInternalsReadableStreamFulfillReadIntoRequestCode = "(function (l,p,_){\"use strict\";const i=@getByIdDirectPrivate(@getByIdDirectPrivate(l,\"reader\"),\"readIntoRequests\").shift();@fulfillPromise(i,{value:p,done:_})})\n";
// readableStreamBYOBReaderRead
const JSC::ConstructAbility s_readableByteStreamInternalsReadableStreamBYOBReaderReadCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2900,7 +2900,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableStreamBYOBReader
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableStreamBYOBReaderReadCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableStreamBYOBReaderReadCodeLength = 356;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableStreamBYOBReaderReadCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableStreamBYOBReaderReadCode = "(function (c,l){\"use strict\";const o=@getByIdDirectPrivate(c,\"ownerReadableStream\");if(@assert(!!o),@putByIdDirectPrivate(o,\"disturbed\",!0),@getByIdDirectPrivate(o,\"state\")===@streamErrored)return @Promise.@reject(@getByIdDirectPrivate(o,\"storedError\"));return @readableByteStreamControllerPullInto(@getByIdDirectPrivate(o,\"readableStreamController\"),l)})\n";
+const char* const s_readableByteStreamInternalsReadableStreamBYOBReaderReadCode = "(function (o,c){\"use strict\";const l=@getByIdDirectPrivate(o,\"ownerReadableStream\");if(@assert(!!l),@putByIdDirectPrivate(l,\"disturbed\",!0),@getByIdDirectPrivate(l,\"state\")===@streamErrored)return @Promise.@reject(@getByIdDirectPrivate(l,\"storedError\"));return @readableByteStreamControllerPullInto(@getByIdDirectPrivate(l,\"readableStreamController\"),c)})\n";
// readableByteStreamControllerPullInto
const JSC::ConstructAbility s_readableByteStreamInternalsReadableByteStreamControllerPullIntoCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2908,7 +2908,7 @@ const JSC::ConstructorKind s_readableByteStreamInternalsReadableByteStreamContro
const JSC::ImplementationVisibility s_readableByteStreamInternalsReadableByteStreamControllerPullIntoCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_readableByteStreamInternalsReadableByteStreamControllerPullIntoCodeLength = 1255;
static const JSC::Intrinsic s_readableByteStreamInternalsReadableByteStreamControllerPullIntoCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_readableByteStreamInternalsReadableByteStreamControllerPullIntoCode = "(function (b,d){\"use strict\";const A=@getByIdDirectPrivate(b,\"controlledReadableStream\");let E=1;if(d.BYTES_PER_ELEMENT!==@undefined)E=d.BYTES_PER_ELEMENT;const L=d.constructor,_={buffer:d.buffer,byteOffset:d.byteOffset,byteLength:d.byteLength,bytesFilled:0,elementSize:E,ctor:L,readerType:\"byob\"};var N=@getByIdDirectPrivate(b,\"pendingPullIntos\");if(N\?.isNotEmpty())return _.buffer=@transferBufferToCurrentRealm(_.buffer),N.push(_),@readableStreamAddReadIntoRequest(A);if(@getByIdDirectPrivate(A,\"state\")===@streamClosed){const k=new L(_.buffer,_.byteOffset,0);return @createFulfilledPromise({value:k,done:!0})}if(@getByIdDirectPrivate(b,\"queue\").size>0){if(@readableByteStreamControllerFillDescriptorFromQueue(b,_)){const k=@readableByteStreamControllerConvertDescriptor(_);return @readableByteStreamControllerHandleQueueDrain(b),@createFulfilledPromise({value:k,done:!1})}if(@getByIdDirectPrivate(b,\"closeRequested\")){const k=@makeTypeError(\"Closing stream has been requested\");return @readableByteStreamControllerError(b,k),@Promise.@reject(k)}}_.buffer=@transferBufferToCurrentRealm(_.buffer),@getByIdDirectPrivate(b,\"pendingPullIntos\").push(_);const R=@readableStreamAddReadIntoRequest(A);return @readableByteStreamControllerCallPullIfNeeded(b),R})\n";
+const char* const s_readableByteStreamInternalsReadableByteStreamControllerPullIntoCode = "(function (_,E){\"use strict\";const b=@getByIdDirectPrivate(_,\"controlledReadableStream\");let d=1;if(E.BYTES_PER_ELEMENT!==@undefined)d=E.BYTES_PER_ELEMENT;const k=E.constructor,A={buffer:E.buffer,byteOffset:E.byteOffset,byteLength:E.byteLength,bytesFilled:0,elementSize:d,ctor:k,readerType:\"byob\"};var L=@getByIdDirectPrivate(_,\"pendingPullIntos\");if(L\?.isNotEmpty())return A.buffer=@transferBufferToCurrentRealm(A.buffer),L.push(A),@readableStreamAddReadIntoRequest(b);if(@getByIdDirectPrivate(b,\"state\")===@streamClosed){const R=new k(A.buffer,A.byteOffset,0);return @createFulfilledPromise({value:R,done:!0})}if(@getByIdDirectPrivate(_,\"queue\").size>0){if(@readableByteStreamControllerFillDescriptorFromQueue(_,A)){const R=@readableByteStreamControllerConvertDescriptor(A);return @readableByteStreamControllerHandleQueueDrain(_),@createFulfilledPromise({value:R,done:!1})}if(@getByIdDirectPrivate(_,\"closeRequested\")){const R=@makeTypeError(\"Closing stream has been requested\");return @readableByteStreamControllerError(_,R),@Promise.@reject(R)}}A.buffer=@transferBufferToCurrentRealm(A.buffer),@getByIdDirectPrivate(_,\"pendingPullIntos\").push(A);const N=@readableStreamAddReadIntoRequest(b);return @readableByteStreamControllerCallPullIfNeeded(_),N})\n";
// readableStreamAddReadIntoRequest
const JSC::ConstructAbility s_readableByteStreamInternalsReadableStreamAddReadIntoRequestCodeConstructAbility = JSC::ConstructAbility::CannotConstruct;
@@ -2942,7 +2942,7 @@ const JSC::ConstructorKind s_writableStreamDefaultControllerErrorCodeConstructor
const JSC::ImplementationVisibility s_writableStreamDefaultControllerErrorCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_writableStreamDefaultControllerErrorCodeLength = 301;
static const JSC::Intrinsic s_writableStreamDefaultControllerErrorCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_writableStreamDefaultControllerErrorCode = "(function (r){\"use strict\";if(@getByIdDirectPrivate(this,\"abortSteps\")===@undefined)throw @makeThisTypeError(\"WritableStreamDefaultController\",\"error\");const t=@getByIdDirectPrivate(this,\"stream\");if(@getByIdDirectPrivate(t,\"state\")!==\"writable\")return;@writableStreamDefaultControllerError(this,r)})\n";
+const char* const s_writableStreamDefaultControllerErrorCode = "(function (t){\"use strict\";if(@getByIdDirectPrivate(this,\"abortSteps\")===@undefined)throw @makeThisTypeError(\"WritableStreamDefaultController\",\"error\");const r=@getByIdDirectPrivate(this,\"stream\");if(@getByIdDirectPrivate(r,\"state\")!==\"writable\")return;@writableStreamDefaultControllerError(this,t)})\n";
#define DEFINE_BUILTIN_GENERATOR(codeName, functionName, overriddenName, argumentCount) \
JSC::FunctionExecutable* codeName##Generator(JSC::VM& vm) \
@@ -2960,7 +2960,7 @@ const JSC::ConstructorKind s_eventSourceGetEventSourceCodeConstructorKind = JSC:
const JSC::ImplementationVisibility s_eventSourceGetEventSourceCodeImplementationVisibility = JSC::ImplementationVisibility::Public;
const int s_eventSourceGetEventSourceCodeLength = 5477;
static const JSC::Intrinsic s_eventSourceGetEventSourceCodeIntrinsic = JSC::NoIntrinsic;
-const char* const s_eventSourceGetEventSourceCode = "(function (){\"use strict\";class F extends EventTarget{#B;#$;#J;#K;#L;#M=!1;#A=null;#j=\"\";#O=\"\";#Q=\"\";#U=!0;#F=0;#G=0;#X=0;#w=null;static#V(j){j.#H()}static#Y(j,A){const w=j.data,B=w.#Q\?`Last-Event-ID: ${w.#Q}\\r\\n`:\"\",K=`GET ${A.pathname}${A.search} HTTP/1.1\\r\\nHost: bun\\r\\nContent-type: text/event-stream\\r\\nContent-length: 0\\r\\n${B}\\r\\n`,G=j.write(K);if(G!==K.length)w.#O=K.substring(G)}static#Z(j,A,w){for(;;){if(w>=A.length)return;let B=-1,K=A.indexOf(\"\\r\\n\",w);const G=K+2;if(K>0)if(j.#F===0){const J=parseInt(A.substring(w,K),16);if(J===0){j.#$=2,j.#A\?.end();return}B=G+J}else B=A.length;else{if(j.#j.length===0){j.#j+=A.substring(w);return}B=A.length}let M=A.substring(G,B);w=B+2;let Z=0,L=M.indexOf(\"\\n\\n\");if(L==-1){j.#j+=A.substring(G);return}if(j.#j.length)j.#j+=M,M=j.#j,j.#j=\"\";let X=!0;while(X){const J=M.substring(Z,L);let Y,O=\"\",Q,W=0,V=-1;for(;;){let z=J.indexOf(\"\\n\",W);if(z===-1){if(W>=J.length)break;z=J.length}const U=J.substring(W,z);if(U.startsWith(\"data:\"))if(O.length)O+=`\\n${U.substring(5).trim()}`;else O=U.substring(5).trim();else if(U.startsWith(\"event:\"))Y=U.substring(6).trim();else if(U.startsWith(\"id:\"))Q=U.substring(3).trim();else if(U.startsWith(\"retry:\")){if(V=parseInt(U.substring(6).trim(),10),@isNaN(V))V=-1}W=z+1}if(j.#Q=Q||\"\",V>=0)j.#X=V;if(O||Q||Y)j.dispatchEvent(new MessageEvent(Y||\"message\",{data:O||\"\",origin:j.#B.origin,source:j,lastEventId:Q}));if(M.length===L+2){X=!1;break}const H=M.indexOf(\"\\n\\n\",L+1);if(H===-1)break;Z=L,L=H}}}static#z={open(j){const A=j.data;if(A.#A=j,!A.#M)F.#Y(j,A.#B)},handshake(j,A,w){const B=j.data;if(A)F.#Y(j,B.#B);else B.#$=2,B.dispatchEvent(new ErrorEvent(\"error\",{error:w})),j.end()},data(j,A){const w=j.data;switch(w.#$){case 0:{let B=A.toString();const K=B.indexOf(\"\\r\\n\\r\\n\");if(K===-1){w.#j+=B;return}if(w.#j.length)w.#j+=B,B=w.#j,w.#j=\"\";const G=B.substring(0,K),M=G.indexOf(\"\\r\\n\");if(M===-1){w.#$=2,w.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(\"Invalid HTTP request\")})),j.end();return}const Z=G.substring(0,M);if(Z!==\"HTTP/1.1 200 OK\"){w.#$=2,w.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(Z)})),j.end();return}let L=M+1,X=!1,J=-1;for(;;){let O=G.indexOf(\"\\r\\n\",L);if(O===-1){if(L>=G.length){if(!X)w.#$=2,w.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(`EventSource's response has no MIME type and \"text/event-stream\" is required. Aborting the connection.`)})),j.end();return}O=G.length}const Q=G.substring(L+1,O),W=Q.indexOf(\":\"),V=Q.substring(0,W),H=V.localeCompare(\"content-type\",@undefined,{sensitivity:\"accent\"})===0;if(L=O+1,H)if(Q.endsWith(\" text/event-stream\"))X=!0;else{w.#$=2,w.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(`EventSource's response has a MIME type that is not \"text/event-stream\". Aborting the connection.`)})),j.end();return}else if(V.localeCompare(\"content-length\",@undefined,{sensitivity:\"accent\"})===0){if(J=parseInt(Q.substring(W+1).trim(),10),@isNaN(J)||J<=0){w.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(`EventSource's Content-Length is invalid. Aborting the connection.`)})),j.end();return}if(X)break}else if(V.localeCompare(\"transfer-encoding\",@undefined,{sensitivity:\"accent\"})===0){if(Q.substring(W+1).trim()!==\"chunked\"){w.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(`EventSource's Transfer-Encoding is invalid. Aborting the connection.`)})),j.end();return}if(J=0,X)break}}w.#F=J,w.#$=1,w.dispatchEvent(new Event(\"open\"));const Y=B.substring(K+4);if(F.#Z(w,Y,0),w.#F>0){if(w.#G+=Y.length,w.#G>=w.#F)w.#$=2,j.end()}return}case 1:if(F.#Z(w,A.toString(),2),w.#F>0){if(w.#G+=A.byteLength,w.#G>=w.#F)w.#$=2,j.end()}return;default:break}},drain(j){const A=j.data;if(A.#$===0){const w=A.#j;if(w.length){const B=j.write(w);if(B!==w.length)j.data.#O=w.substring(B);else j.data.#O=\"\"}}},close:F.#W,end(j){F.#W(j).dispatchEvent(new ErrorEvent(\"error\",{error:new Error(\"Connection closed by server\")}))},timeout(j){F.#W(j).dispatchEvent(new ErrorEvent(\"error\",{error:new Error(\"Timeout\")}))},binaryType:\"buffer\"};static#W(j){const A=j.data;if(A.#A=null,A.#G=0,A.#$=2,A.#U){if(A.#w)clearTimeout(A.#w);A.#w=setTimeout(F.#V,A.#X,A)}return A}constructor(j,A=@undefined){super();const w=new URL(j);this.#M=w.protocol===\"https:\",this.#B=w,this.#$=2,process.nextTick(F.#V,this)}ref(){this.#w\?.ref(),this.#A\?.ref()}unref(){this.#w\?.unref(),this.#A\?.unref()}#H(){if(this.#$!==2)return;const j=this.#B,A=this.#M;this.#$=0,@Bun.connect({data:this,socket:F.#z,hostname:j.hostname,port:parseInt(j.port||(A\?\"443\":\"80\"),10),tls:A\?{requestCert:!0,rejectUnauthorized:!1}:!1}).catch((w)=>{if(super.dispatchEvent(new ErrorEvent(\"error\",{error:w})),this.#U){if(this.#w)this.#w.unref\?.();this.#w=setTimeout(F.#V,1000,this)}})}get url(){return this.#B.href}get readyState(){return this.#$}close(){this.#U=!1,this.#$=2,this.#A\?.unref(),this.#A\?.end()}get onopen(){return this.#L}get onerror(){return this.#J}get onmessage(){return this.#K}set onopen(j){if(this.#L)super.removeEventListener(\"close\",this.#L);super.addEventListener(\"open\",j),this.#L=j}set onerror(j){if(this.#J)super.removeEventListener(\"error\",this.#J);super.addEventListener(\"error\",j),this.#J=j}set onmessage(j){if(this.#K)super.removeEventListener(\"message\",this.#K);super.addEventListener(\"message\",j),this.#K=j}}return Object.defineProperty(F.prototype,\"CONNECTING\",{enumerable:!0,value:0}),Object.defineProperty(F.prototype,\"OPEN\",{enumerable:!0,value:1}),Object.defineProperty(F.prototype,\"CLOSED\",{enumerable:!0,value:2}),F[Symbol.for(\"CommonJS\")]=0,F})\n";
+const char* const s_eventSourceGetEventSourceCode = "(function (){\"use strict\";class F extends EventTarget{#$;#j;#w;#A;#B;#F=!1;#G=null;#J=\"\";#K=\"\";#L=\"\";#M=!0;#O=0;#Q=0;#U=0;#V=null;static#W(W){W.#H()}static#X(W,Y){const O=W.data,Z=O.#L\?`Last-Event-ID: ${O.#L}\\r\\n`:\"\",j=`GET ${Y.pathname}${Y.search} HTTP/1.1\\r\\nHost: bun\\r\\nContent-type: text/event-stream\\r\\nContent-length: 0\\r\\n${Z}\\r\\n`,G=W.write(j);if(G!==j.length)O.#K=j.substring(G)}static#Y(W,Y,O){for(;;){if(O>=Y.length)return;let Z=-1,j=Y.indexOf(\"\\r\\n\",O);const G=j+2;if(j>0)if(W.#O===0){const w=parseInt(Y.substring(O,j),16);if(w===0){W.#j=2,W.#G\?.end();return}Z=G+w}else Z=Y.length;else{if(W.#J.length===0){W.#J+=Y.substring(O);return}Z=Y.length}let z=Y.substring(G,Z);O=Z+2;let B=0,J=z.indexOf(\"\\n\\n\");if(J==-1){W.#J+=Y.substring(G);return}if(W.#J.length)W.#J+=z,z=W.#J,W.#J=\"\";let K=!0;while(K){const w=z.substring(B,J);let Q,L=\"\",X,A=0,U=-1;for(;;){let V=w.indexOf(\"\\n\",A);if(V===-1){if(A>=w.length)break;V=w.length}const H=w.substring(A,V);if(H.startsWith(\"data:\"))if(L.length)L+=`\\n${H.substring(5).trim()}`;else L=H.substring(5).trim();else if(H.startsWith(\"event:\"))Q=H.substring(6).trim();else if(H.startsWith(\"id:\"))X=H.substring(3).trim();else if(H.startsWith(\"retry:\")){if(U=parseInt(H.substring(6).trim(),10),@isNaN(U))U=-1}A=V+1}if(W.#L=X||\"\",U>=0)W.#U=U;if(L||X||Q)W.dispatchEvent(new MessageEvent(Q||\"message\",{data:L||\"\",origin:W.#$.origin,source:W,lastEventId:X}));if(z.length===J+2){K=!1;break}const M=z.indexOf(\"\\n\\n\",J+1);if(M===-1)break;B=J,J=M}}}static#Z={open(W){const Y=W.data;if(Y.#G=W,!Y.#F)F.#X(W,Y.#$)},handshake(W,Y,O){const Z=W.data;if(Y)F.#X(W,Z.#$);else Z.#j=2,Z.dispatchEvent(new ErrorEvent(\"error\",{error:O})),W.end()},data(W,Y){const O=W.data;switch(O.#j){case 0:{let Z=Y.toString();const j=Z.indexOf(\"\\r\\n\\r\\n\");if(j===-1){O.#J+=Z;return}if(O.#J.length)O.#J+=Z,Z=O.#J,O.#J=\"\";const G=Z.substring(0,j),z=G.indexOf(\"\\r\\n\");if(z===-1){O.#j=2,O.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(\"Invalid HTTP request\")})),W.end();return}const B=G.substring(0,z);if(B!==\"HTTP/1.1 200 OK\"){O.#j=2,O.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(B)})),W.end();return}let J=z+1,K=!1,w=-1;for(;;){let L=G.indexOf(\"\\r\\n\",J);if(L===-1){if(J>=G.length){if(!K)O.#j=2,O.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(`EventSource's response has no MIME type and \"text/event-stream\" is required. Aborting the connection.`)})),W.end();return}L=G.length}const X=G.substring(J+1,L),A=X.indexOf(\":\"),U=X.substring(0,A),M=U.localeCompare(\"content-type\",@undefined,{sensitivity:\"accent\"})===0;if(J=L+1,M)if(X.endsWith(\" text/event-stream\"))K=!0;else{O.#j=2,O.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(`EventSource's response has a MIME type that is not \"text/event-stream\". Aborting the connection.`)})),W.end();return}else if(U.localeCompare(\"content-length\",@undefined,{sensitivity:\"accent\"})===0){if(w=parseInt(X.substring(A+1).trim(),10),@isNaN(w)||w<=0){O.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(`EventSource's Content-Length is invalid. Aborting the connection.`)})),W.end();return}if(K)break}else if(U.localeCompare(\"transfer-encoding\",@undefined,{sensitivity:\"accent\"})===0){if(X.substring(A+1).trim()!==\"chunked\"){O.dispatchEvent(new ErrorEvent(\"error\",{error:new Error(`EventSource's Transfer-Encoding is invalid. Aborting the connection.`)})),W.end();return}if(w=0,K)break}}O.#O=w,O.#j=1,O.dispatchEvent(new Event(\"open\"));const Q=Z.substring(j+4);if(F.#Y(O,Q,0),O.#O>0){if(O.#Q+=Q.length,O.#Q>=O.#O)O.#j=2,W.end()}return}case 1:if(F.#Y(O,Y.toString(),2),O.#O>0){if(O.#Q+=Y.byteLength,O.#Q>=O.#O)O.#j=2,W.end()}return;default:break}},drain(W){const Y=W.data;if(Y.#j===0){const O=Y.#J;if(O.length){const Z=W.write(O);if(Z!==O.length)W.data.#K=O.substring(Z);else W.data.#K=\"\"}}},close:F.#z,end(W){F.#z(W).dispatchEvent(new ErrorEvent(\"error\",{error:new Error(\"Connection closed by server\")}))},timeout(W){F.#z(W).dispatchEvent(new ErrorEvent(\"error\",{error:new Error(\"Timeout\")}))},binaryType:\"buffer\"};static#z(W){const Y=W.data;if(Y.#G=null,Y.#Q=0,Y.#j=2,Y.#M){if(Y.#V)clearTimeout(Y.#V);Y.#V=setTimeout(F.#W,Y.#U,Y)}return Y}constructor(W,Y=@undefined){super();const O=new URL(W);this.#F=O.protocol===\"https:\",this.#$=O,this.#j=2,process.nextTick(F.#W,this)}ref(){this.#V\?.ref(),this.#G\?.ref()}unref(){this.#V\?.unref(),this.#G\?.unref()}#H(){if(this.#j!==2)return;const W=this.#$,Y=this.#F;this.#j=0,@Bun.connect({data:this,socket:F.#Z,hostname:W.hostname,port:parseInt(W.port||(Y\?\"443\":\"80\"),10),tls:Y\?{requestCert:!0,rejectUnauthorized:!1}:!1}).catch((O)=>{if(super.dispatchEvent(new ErrorEvent(\"error\",{error:O})),this.#M){if(this.#V)this.#V.unref\?.();this.#V=setTimeout(F.#W,1000,this)}})}get url(){return this.#$.href}get readyState(){return this.#j}close(){this.#M=!1,this.#j=2,this.#G\?.unref(),this.#G\?.end()}get onopen(){return this.#B}get onerror(){return this.#w}get onmessage(){return this.#A}set onopen(W){if(this.#B)super.removeEventListener(\"close\",this.#B);super.addEventListener(\"open\",W),this.#B=W}set onerror(W){if(this.#w)super.removeEventListener(\"error\",this.#w);super.addEventListener(\"error\",W),this.#w=W}set onmessage(W){if(this.#A)super.removeEventListener(\"message\",this.#A);super.addEventListener(\"message\",W),this.#A=W}}return Object.defineProperty(F.prototype,\"CONNECTING\",{enumerable:!0,value:0}),Object.defineProperty(F.prototype,\"OPEN\",{enumerable:!0,value:1}),Object.defineProperty(F.prototype,\"CLOSED\",{enumerable:!0,value:2}),F[Symbol.for(\"CommonJS\")]=0,F})\n";
#define DEFINE_BUILTIN_GENERATOR(codeName, functionName, overriddenName, argumentCount) \
JSC::FunctionExecutable* codeName##Generator(JSC::VM& vm) \
diff --git a/src/js/out/modules/node/crypto.js b/src/js/out/modules/node/crypto.js
index eda9d4cc9..fe812ee61 100644
--- a/src/js/out/modules/node/crypto.js
+++ b/src/js/out/modules/node/crypto.js
@@ -1,4 +1,4 @@
-import{StringDecoder as bQ} from"node:string_decoder";import*as r$ from"node:buffer";import*as A$ from"node:stream";var hQ=Object.defineProperty;var dQ=Object.getOwnPropertyNames;var lQ=536870888,g0=globalThis.Buffer,H$=globalThis.crypto,i$=H$;var S0=(N,_)=>function(){return _||(0,N[dQ(N)[0]])((_={exports:{}}).exports,_),_.exports},oQ=(N,_)=>{for(var k in _)hQ(N,k,{get:_[k],enumerable:!0})};var N0=S0({"node_modules/safe-buffer/index.js"(N,_){var k=r$,j=k.Buffer;function F(X,C){for(var P in X)C[P]=X[P]}j.from&&j.alloc&&j.allocUnsafe&&j.allocUnsafeSlow?_.exports=k:(F(k,N),N.Buffer=z);function z(X,C,P){return j(X,C,P)}z.prototype=Object.create(j.prototype),F(j,z),z.from=function(X,C,P){if(typeof X=="number")throw new TypeError("Argument must not be a number");return j(X,C,P)},z.alloc=function(X,C,P){if(typeof X!="number")throw new TypeError("Argument must be a number");var T=j(X);return C!==void 0?typeof P=="string"?T.fill(C,P):T.fill(C):T.fill(0),T},z.allocUnsafe=function(X){if(typeof X!="number")throw new TypeError("Argument must be a number");return j(X)},z.allocUnsafeSlow=function(X){if(typeof X!="number")throw new TypeError("Argument must be a number");return k.SlowBuffer(X)}}}),L$=S0({"node_modules/randombytes/browser.js"(N,_){var k=65536,j=4294967295;function F(){throw new Error(`Secure random number generation is not supported by this browser.
-Use Chrome, Firefox or Internet Explorer 11`)}var z=N0().Buffer,X=i$;X&&X.getRandomValues?_.exports=C:_.exports=F;function C(P,T){if(P>j)throw new RangeError("requested too many random bytes");var W=z.allocUnsafe(P);if(P>0)if(P>k)for(var J=0;J<P;J+=k)X.getRandomValues(W.slice(J,J+k));else X.getRandomValues(W);return typeof T=="function"?process.nextTick(function(){T(null,W)}):W}}}),B0=S0({"node_modules/inherits/inherits_browser.js"(N,_){typeof Object.create=="function"?_.exports=function(k,j){j&&(k.super_=j,k.prototype=Object.create(j.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}))}:_.exports=function(k,j){if(j){k.super_=j;var F=function(){};F.prototype=j.prototype,k.prototype=new F,k.prototype.constructor=k}}}}),$Q=S0({"node_modules/hash-base/index.js"(N,_){var k=N0().Buffer,j=B0();function F(X,C){if(!k.isBuffer(X)&&typeof X!="string")throw new TypeError(C+" must be a string or a buffer")}function z(X){A$.Transform.call(this),this._block=k.allocUnsafe(X),this._blockSize=X,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}j(z,A$.Transform),z.prototype._transform=function(X,C,P){var T=null;try{this.update(X,C)}catch(W){T=W}P(T)},z.prototype._flush=function(X){var C=null;try{this.push(this.digest())}catch(P){C=P}X(C)},z.prototype.update=function(X,C){if(F(X,"Data"),this._finalized)throw new Error("Digest already called");k.isBuffer(X)||(X=k.from(X,C));for(var P=this._block,T=0;this._blockOffset+X.length-T>=this._blockSize;){for(var W=this._blockOffset;W<this._blockSize;)P[W++]=X[T++];this._update(),this._blockOffset=0}for(;T<X.length;)P[this._blockOffset++]=X[T++];for(var J=0,H=X.length*8;H>0;++J)this._length[J]+=H,H=this._length[J]/4294967296|0,H>0&&(this._length[J]-=4294967296*H);return this},z.prototype._update=function(){throw new Error("_update is not implemented")},z.prototype.digest=function(X){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var C=this._digest();X!==void 0&&(C=C.toString(X)),this._block.fill(0),this._blockOffset=0;for(var P=0;P<4;++P)this._length[P]=0;return C},z.prototype._digest=function(){throw new Error("_digest is not implemented")},_.exports=z}}),QQ=S0({"node_modules/md5.js/index.js"(N,_){var k=B0(),j=$Q(),F=N0().Buffer,z=new Array(16);function X(){j.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}k(X,j),X.prototype._update=function(){for(var H=z,D=0;D<16;++D)H[D]=this._block.readInt32LE(D*4);var E=this._a,L=this._b,M=this._c,v=this._d;E=P(E,L,M,v,H[0],3614090360,7),v=P(v,E,L,M,H[1],3905402710,12),M=P(M,v,E,L,H[2],606105819,17),L=P(L,M,v,E,H[3],3250441966,22),E=P(E,L,M,v,H[4],4118548399,7),v=P(v,E,L,M,H[5],1200080426,12),M=P(M,v,E,L,H[6],2821735955,17),L=P(L,M,v,E,H[7],4249261313,22),E=P(E,L,M,v,H[8],1770035416,7),v=P(v,E,L,M,H[9],2336552879,12),M=P(M,v,E,L,H[10],4294925233,17),L=P(L,M,v,E,H[11],2304563134,22),E=P(E,L,M,v,H[12],1804603682,7),v=P(v,E,L,M,H[13],4254626195,12),M=P(M,v,E,L,H[14],2792965006,17),L=P(L,M,v,E,H[15],1236535329,22),E=T(E,L,M,v,H[1],4129170786,5),v=T(v,E,L,M,H[6],3225465664,9),M=T(M,v,E,L,H[11],643717713,14),L=T(L,M,v,E,H[0],3921069994,20),E=T(E,L,M,v,H[5],3593408605,5),v=T(v,E,L,M,H[10],38016083,9),M=T(M,v,E,L,H[15],3634488961,14),L=T(L,M,v,E,H[4],3889429448,20),E=T(E,L,M,v,H[9],568446438,5),v=T(v,E,L,M,H[14],3275163606,9),M=T(M,v,E,L,H[3],4107603335,14),L=T(L,M,v,E,H[8],1163531501,20),E=T(E,L,M,v,H[13],2850285829,5),v=T(v,E,L,M,H[2],4243563512,9),M=T(M,v,E,L,H[7],1735328473,14),L=T(L,M,v,E,H[12],2368359562,20),E=W(E,L,M,v,H[5],4294588738,4),v=W(v,E,L,M,H[8],2272392833,11),M=W(M,v,E,L,H[11],1839030562,16),L=W(L,M,v,E,H[14],4259657740,23),E=W(E,L,M,v,H[1],2763975236,4),v=W(v,E,L,M,H[4],1272893353,11),M=W(M,v,E,L,H[7],4139469664,16),L=W(L,M,v,E,H[10],3200236656,23),E=W(E,L,M,v,H[13],681279174,4),v=W(v,E,L,M,H[0],3936430074,11),M=W(M,v,E,L,H[3],3572445317,16),L=W(L,M,v,E,H[6],76029189,23),E=W(E,L,M,v,H[9],3654602809,4),v=W(v,E,L,M,H[12],3873151461,11),M=W(M,v,E,L,H[15],530742520,16),L=W(L,M,v,E,H[2],3299628645,23),E=J(E,L,M,v,H[0],4096336452,6),v=J(v,E,L,M,H[7],1126891415,10),M=J(M,v,E,L,H[14],2878612391,15),L=J(L,M,v,E,H[5],4237533241,21),E=J(E,L,M,v,H[12],1700485571,6),v=J(v,E,L,M,H[3],2399980690,10),M=J(M,v,E,L,H[10],4293915773,15),L=J(L,M,v,E,H[1],2240044497,21),E=J(E,L,M,v,H[8],1873313359,6),v=J(v,E,L,M,H[15],4264355552,10),M=J(M,v,E,L,H[6],2734768916,15),L=J(L,M,v,E,H[13],1309151649,21),E=J(E,L,M,v,H[4],4149444226,6),v=J(v,E,L,M,H[11],3174756917,10),M=J(M,v,E,L,H[2],718787259,15),L=J(L,M,v,E,H[9],3951481745,21),this._a=this._a+E|0,this._b=this._b+L|0,this._c=this._c+M|0,this._d=this._d+v|0},X.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var H=F.allocUnsafe(16);return H.writeInt32LE(this._a,0),H.writeInt32LE(this._b,4),H.writeInt32LE(this._c,8),H.writeInt32LE(this._d,12),H};function C(H,D){return H<<D|H>>>32-D}function P(H,D,E,L,M,v,q){return C(H+(D&E|~D&L)+M+v|0,q)+D|0}function T(H,D,E,L,M,v,q){return C(H+(D&L|E&~L)+M+v|0,q)+D|0}function W(H,D,E,L,M,v,q){return C(H+(D^E^L)+M+v|0,q)+D|0}function J(H,D,E,L,M,v,q){return C(H+(E^(D|~L))+M+v|0,q)+D|0}_.exports=X}}),YQ=S0({"node_modules/ripemd160/index.js"(N,_){var k=g0,j=B0(),F=$Q(),z=new Array(16),X=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],C=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],P=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],T=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],W=[0,1518500249,1859775393,2400959708,2840853838],J=[1352829926,1548603684,1836072691,2053994217,0];function H(){F.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}j(H,F),H.prototype._update=function(){for(var g=z,y=0;y<16;++y)g[y]=this._block.readInt32LE(y*4);for(var w=this._a|0,f=this._b|0,b=this._c|0,u=this._d|0,Y0=this._e|0,p=this._a|0,v0=this._b|0,$=this._c|0,Y=this._d|0,G=this._e|0,Z=0;Z<80;Z+=1){var V,I;Z<16?(V=E(w,f,b,u,Y0,g[X[Z]],W[0],P[Z]),I=q(p,v0,$,Y,G,g[C[Z]],J[0],T[Z])):Z<32?(V=L(w,f,b,u,Y0,g[X[Z]],W[1],P[Z]),I=v(p,v0,$,Y,G,g[C[Z]],J[1],T[Z])):Z<48?(V=M(w,f,b,u,Y0,g[X[Z]],W[2],P[Z]),I=M(p,v0,$,Y,G,g[C[Z]],J[2],T[Z])):Z<64?(V=v(w,f,b,u,Y0,g[X[Z]],W[3],P[Z]),I=L(p,v0,$,Y,G,g[C[Z]],J[3],T[Z])):(V=q(w,f,b,u,Y0,g[X[Z]],W[4],P[Z]),I=E(p,v0,$,Y,G,g[C[Z]],J[4],T[Z])),w=Y0,Y0=u,u=D(b,10),b=f,f=V,p=G,G=Y,Y=D($,10),$=v0,v0=I}var O=this._b+b+Y|0;this._b=this._c+u+G|0,this._c=this._d+Y0+p|0,this._d=this._e+w+v0|0,this._e=this._a+f+$|0,this._a=O},H.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var g=k.alloc?k.alloc(20):new k(20);return g.writeInt32LE(this._a,0),g.writeInt32LE(this._b,4),g.writeInt32LE(this._c,8),g.writeInt32LE(this._d,12),g.writeInt32LE(this._e,16),g};function D(g,y){return g<<y|g>>>32-y}function E(g,y,w,f,b,u,Y0,p){return D(g+(y^w^f)+u+Y0|0,p)+b|0}function L(g,y,w,f,b,u,Y0,p){return D(g+(y&w|~y&f)+u+Y0|0,p)+b|0}function M(g,y,w,f,b,u,Y0,p){return D(g+((y|~w)^f)+u+Y0|0,p)+b|0}function v(g,y,w,f,b,u,Y0,p){return D(g+(y&f|w&~f)+u+Y0|0,p)+b|0}function q(g,y,w,f,b,u,Y0,p){return D(g+(y^(w|~f))+u+Y0|0,p)+b|0}_.exports=H}}),R$=S0({"node_modules/sha.js/hash.js"(N,_){var k=N0().Buffer;function j(F,z){this._block=k.alloc(F),this._finalSize=z,this._blockSize=F,this._len=0}j.prototype.update=function(F,z){typeof F=="string"&&(z=z||"utf8",F=k.from(F,z));for(var X=this._block,C=this._blockSize,P=F.length,T=this._len,W=0;W<P;){for(var J=T%C,H=Math.min(P-W,C-J),D=0;D<H;D++)X[J+D]=F[W+D];T+=H,W+=H,T%C===0&&this._update(X)}return this._len+=P,this},j.prototype.digest=function(F){var z=this._len%this._blockSize;this._block[z]=128,this._block.fill(0,z+1),z>=this._finalSize&&(this._update(this._block),this._block.fill(0));var X=this._len*8;if(X<=4294967295)this._block.writeUInt32BE(X,this._blockSize-4);else{var C=(X&4294967295)>>>0,P=(X-C)/4294967296;this._block.writeUInt32BE(P,this._blockSize-8),this._block.writeUInt32BE(C,this._blockSize-4)}this._update(this._block);var T=this._hash();return F?T.toString(F):T},j.prototype._update=function(){throw new Error("_update must be implemented by subclass")},_.exports=j}}),uQ=S0({"node_modules/sha.js/sha.js"(N,_){var k=B0(),j=R$(),F=N0().Buffer,z=[1518500249,1859775393,-1894007588,-899497514],X=new Array(80);function C(){this.init(),this._w=X,j.call(this,64,56)}k(C,j),C.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function P(J){return J<<5|J>>>27}function T(J){return J<<30|J>>>2}function W(J,H,D,E){return J===0?H&D|~H&E:J===2?H&D|H&E|D&E:H^D^E}C.prototype._update=function(J){for(var H=this._w,D=this._a|0,E=this._b|0,L=this._c|0,M=this._d|0,v=this._e|0,q=0;q<16;++q)H[q]=J.readInt32BE(q*4);for(;q<80;++q)H[q]=H[q-3]^H[q-8]^H[q-14]^H[q-16];for(var g=0;g<80;++g){var y=~~(g/20),w=P(D)+W(y,E,L,M)+v+H[g]+z[y]|0;v=M,M=L,L=T(E),E=D,D=w}this._a=D+this._a|0,this._b=E+this._b|0,this._c=L+this._c|0,this._d=M+this._d|0,this._e=v+this._e|0},C.prototype._hash=function(){var J=F.allocUnsafe(20);return J.writeInt32BE(this._a|0,0),J.writeInt32BE(this._b|0,4),J.writeInt32BE(this._c|0,8),J.writeInt32BE(this._d|0,12),J.writeInt32BE(this._e|0,16),J},_.exports=C}}),nQ=S0({"node_modules/sha.js/sha1.js"(N,_){var k=B0(),j=R$(),F=N0().Buffer,z=[1518500249,1859775393,-1894007588,-899497514],X=new Array(80);function C(){this.init(),this._w=X,j.call(this,64,56)}k(C,j),C.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function P(H){return H<<1|H>>>31}function T(H){return H<<5|H>>>27}function W(H){return H<<30|H>>>2}function J(H,D,E,L){return H===0?D&E|~D&L:H===2?D&E|D&L|E&L:D^E^L}C.prototype._update=function(H){for(var D=this._w,E=this._a|0,L=this._b|0,M=this._c|0,v=this._d|0,q=this._e|0,g=0;g<16;++g)D[g]=H.readInt32BE(g*4);for(;g<80;++g)D[g]=P(D[g-3]^D[g-8]^D[g-14]^D[g-16]);for(var y=0;y<80;++y){var w=~~(y/20),f=T(E)+J(w,L,M,v)+q+D[y]+z[w]|0;q=v,v=M,M=W(L),L=E,E=f}this._a=E+this._a|0,this._b=L+this._b|0,this._c=M+this._c|0,this._d=v+this._d|0,this._e=q+this._e|0},C.prototype._hash=function(){var H=F.allocUnsafe(20);return H.writeInt32BE(this._a|0,0),H.writeInt32BE(this._b|0,4),H.writeInt32BE(this._c|0,8),H.writeInt32BE(this._d|0,12),H.writeInt32BE(this._e|0,16),H},_.exports=C}}),ZQ=S0({"node_modules/sha.js/sha256.js"(N,_){var k=B0(),j=R$(),F=N0().Buffer,z=[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],X=new Array(64);function C(){this.init(),this._w=X,j.call(this,64,56)}k(C,j),C.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function P(E,L,M){return M^E&(L^M)}function T(E,L,M){return E&L|M&(E|L)}function W(E){return(E>>>2|E<<30)^(E>>>13|E<<19)^(E>>>22|E<<10)}function J(E){return(E>>>6|E<<26)^(E>>>11|E<<21)^(E>>>25|E<<7)}function H(E){return(E>>>7|E<<25)^(E>>>18|E<<14)^E>>>3}function D(E){return(E>>>17|E<<15)^(E>>>19|E<<13)^E>>>10}C.prototype._update=function(E){for(var L=this._w,M=this._a|0,v=this._b|0,q=this._c|0,g=this._d|0,y=this._e|0,w=this._f|0,f=this._g|0,b=this._h|0,u=0;u<16;++u)L[u]=E.readInt32BE(u*4);for(;u<64;++u)L[u]=D(L[u-2])+L[u-7]+H(L[u-15])+L[u-16]|0;for(var Y0=0;Y0<64;++Y0){var p=b+J(y)+P(y,w,f)+z[Y0]+L[Y0]|0,v0=W(M)+T(M,v,q)|0;b=f,f=w,w=y,y=g+p|0,g=q,q=v,v=M,M=p+v0|0}this._a=M+this._a|0,this._b=v+this._b|0,this._c=q+this._c|0,this._d=g+this._d|0,this._e=y+this._e|0,this._f=w+this._f|0,this._g=f+this._g|0,this._h=b+this._h|0},C.prototype._hash=function(){var E=F.allocUnsafe(32);return E.writeInt32BE(this._a,0),E.writeInt32BE(this._b,4),E.writeInt32BE(this._c,8),E.writeInt32BE(this._d,12),E.writeInt32BE(this._e,16),E.writeInt32BE(this._f,20),E.writeInt32BE(this._g,24),E.writeInt32BE(this._h,28),E},_.exports=C}}),sQ=S0({"node_modules/sha.js/sha224.js"(N,_){var k=B0(),j=ZQ(),F=R$(),z=N0().Buffer,X=new Array(64);function C(){this.init(),this._w=X,F.call(this,64,56)}k(C,j),C.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},C.prototype._hash=function(){var P=z.allocUnsafe(28);return P.writeInt32BE(this._a,0),P.writeInt32BE(this._b,4),P.writeInt32BE(this._c,8),P.writeInt32BE(this._d,12),P.writeInt32BE(this._e,16),P.writeInt32BE(this._f,20),P.writeInt32BE(this._g,24),P},_.exports=C}}),GQ=S0({"node_modules/sha.js/sha512.js"(N,_){var k=B0(),j=R$(),F=N0().Buffer,z=[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],X=new Array(160);function C(){this.init(),this._w=X,j.call(this,128,112)}k(C,j),C.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function P(v,q,g){return g^v&(q^g)}function T(v,q,g){return v&q|g&(v|q)}function W(v,q){return(v>>>28|q<<4)^(q>>>2|v<<30)^(q>>>7|v<<25)}function J(v,q){return(v>>>14|q<<18)^(v>>>18|q<<14)^(q>>>9|v<<23)}function H(v,q){return(v>>>1|q<<31)^(v>>>8|q<<24)^v>>>7}function D(v,q){return(v>>>1|q<<31)^(v>>>8|q<<24)^(v>>>7|q<<25)}function E(v,q){return(v>>>19|q<<13)^(q>>>29|v<<3)^v>>>6}function L(v,q){return(v>>>19|q<<13)^(q>>>29|v<<3)^(v>>>6|q<<26)}function M(v,q){return v>>>0<q>>>0?1:0}C.prototype._update=function(v){for(var q=this._w,g=this._ah|0,y=this._bh|0,w=this._ch|0,f=this._dh|0,b=this._eh|0,u=this._fh|0,Y0=this._gh|0,p=this._hh|0,v0=this._al|0,$=this._bl|0,Y=this._cl|0,G=this._dl|0,Z=this._el|0,V=this._fl|0,I=this._gl|0,O=this._hl|0,U=0;U<32;U+=2)q[U]=v.readInt32BE(U*4),q[U+1]=v.readInt32BE(U*4+4);for(;U<160;U+=2){var Q=q[U-30],K=q[U-30+1],R=H(Q,K),A=D(K,Q);Q=q[U-4],K=q[U-4+1];var S=E(Q,K),x=L(K,Q),B=q[U-14],c=q[U-14+1],q0=q[U-32],h=q[U-32+1],d=A+c|0,_0=R+B+M(d,A)|0;d=d+x|0,_0=_0+S+M(d,x)|0,d=d+h|0,_0=_0+q0+M(d,h)|0,q[U]=_0,q[U+1]=d}for(var l=0;l<160;l+=2){_0=q[l],d=q[l+1];var n=T(g,y,w),y0=T(v0,$,Y),t=W(g,v0),s=W(v0,g),w0=J(b,Z),m=J(Z,b),r=z[l],$$=z[l+1],i=P(b,u,Y0),e=P(Z,V,I),x0=O+m|0,o=p+w0+M(x0,O)|0;x0=x0+e|0,o=o+i+M(x0,e)|0,x0=x0+$$|0,o=o+r+M(x0,$$)|0,x0=x0+d|0,o=o+_0+M(x0,d)|0;var a=s+y0|0,p0=t+n+M(a,s)|0;p=Y0,O=I,Y0=u,I=V,u=b,V=Z,Z=G+x0|0,b=f+o+M(Z,G)|0,f=w,G=Y,w=y,Y=$,y=g,$=v0,v0=x0+a|0,g=o+p0+M(v0,x0)|0}this._al=this._al+v0|0,this._bl=this._bl+$|0,this._cl=this._cl+Y|0,this._dl=this._dl+G|0,this._el=this._el+Z|0,this._fl=this._fl+V|0,this._gl=this._gl+I|0,this._hl=this._hl+O|0,this._ah=this._ah+g+M(this._al,v0)|0,this._bh=this._bh+y+M(this._bl,$)|0,this._ch=this._ch+w+M(this._cl,Y)|0,this._dh=this._dh+f+M(this._dl,G)|0,this._eh=this._eh+b+M(this._el,Z)|0,this._fh=this._fh+u+M(this._fl,V)|0,this._gh=this._gh+Y0+M(this._gl,I)|0,this._hh=this._hh+p+M(this._hl,O)|0},C.prototype._hash=function(){var v=F.allocUnsafe(64);function q(g,y,w){v.writeInt32BE(g,w),v.writeInt32BE(y,w+4)}return q(this._ah,this._al,0),q(this._bh,this._bl,8),q(this._ch,this._cl,16),q(this._dh,this._dl,24),q(this._eh,this._el,32),q(this._fh,this._fl,40),q(this._gh,this._gl,48),q(this._hh,this._hl,56),v},_.exports=C}}),tQ=S0({"node_modules/sha.js/sha384.js"(N,_){var k=B0(),j=GQ(),F=R$(),z=N0().Buffer,X=new Array(160);function C(){this.init(),this._w=X,F.call(this,128,112)}k(C,j),C.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},C.prototype._hash=function(){var P=z.allocUnsafe(48);function T(W,J,H){P.writeInt32BE(W,H),P.writeInt32BE(J,H+4)}return T(this._ah,this._al,0),T(this._bh,this._bl,8),T(this._ch,this._cl,16),T(this._dh,this._dl,24),T(this._eh,this._el,32),T(this._fh,this._fl,40),P},_.exports=C}}),VQ=S0({"node_modules/sha.js/index.js"(k,_){var k=_.exports=function(j){j=j.toLowerCase();var F=k[j];if(!F)throw new Error(j+" is not supported (we accept pull requests)");return new F};k.sha=uQ(),k.sha1=nQ(),k.sha224=sQ(),k.sha256=ZQ(),k.sha384=tQ(),k.sha512=GQ()}}),C$=S0({"node_modules/cipher-base/index.js"(N,_){var k=N0().Buffer,j=B0();function F(z){A$.Transform.call(this),this.hashMode=typeof z=="string",this.hashMode?this[z]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}j(F,A$.Transform),F.prototype.update=function(z,X,C){typeof z=="string"&&(z=k.from(z,X));var P=this._update(z);return this.hashMode?this:(C&&(P=this._toString(P,C)),P)},F.prototype.setAutoPadding=function(){},F.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},F.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},F.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},F.prototype._transform=function(z,X,C){var P;try{this.hashMode?this._update(z):this.push(this._update(z))}catch(T){P=T}finally{C(P)}},F.prototype._flush=function(z){var X;try{this.push(this.__final())}catch(C){X=C}z(X)},F.prototype._finalOrDigest=function(z){var X=this.__final()||k.alloc(0);return z&&(X=this._toString(X,z,!0)),X},F.prototype._toString=function(z,X,C){if(this._decoder||(this._decoder=new bQ(X),this._encoding=X),this._encoding!==X)throw new Error("can't switch encodings");var P=this._decoder.write(z);return C&&(P+=this._decoder.end()),P},_.exports=F}}),M$=S0({"node_modules/create-hash/browser.js"(N,_){const k=function z(X,C){this._options=C,this._hasher=new mY(X,C),this._finalized=!1};k.prototype=Object.create(A$.Transform.prototype),k.prototype.update=function z(X,C){return this._checkFinalized(),this._hasher.update(X,C),this},k.prototype.digest=function z(X,C){return this._checkFinalized(),this._finalized=!0,this._hasher.digest(X,C)},k.prototype._checkFinalized=function z(){if(this._finalized){var X=new Error("Digest already called");throw X.code="ERR_CRYPTO_HASH_FINALIZED",X}},k.prototype.copy=function z(){const X=Object.create(k.prototype);return X._options=this._options,X._hasher=this._hasher.copy(),X._finalized=this._finalized,X};const j={__proto__:A$.Transform.prototype,...k.prototype,_transform(z,X,C){this.update(z,X),C&&C()},_flush(z){this.push(this.digest()),z()}},F=["_events","_eventsCount","_final","_maxListeners","_maxListeners","_read","_undestroy","_writableState","_write","_writev","addListener","asIndexedPairs","closed","compose","constructor","cork","destroy","destroyed","drop","emit","end","errored","eventNames","every","filter","find","flatMap","forEach","getMaxListeners","hasOwnProperty","isPaused","isPrototypeOf","iterator","listenerCount","listeners","map","off","on","once","pause","pipe","prependListener","prependOnceListener","propertyIsEnumerable","push","rawListeners","read","readable","readableAborted","readableBuffer","readableDidRead","readableEncoding","readableEnded","readableFlowing","readableHighWaterMark","readableLength","readableObjectMode","reduce","removeAllListeners","removeListener","resume","setDefaultEncoding","setEncoding","setMaxListeners","some","take","toArray","toLocaleString","toString","uncork","unpipe","unshift","valueOf","wrap","writable","writableBuffer","writableCorked","writableEnded","writableFinished","writableHighWaterMark","writableLength","writableNeedDrain","writableObjectMode","write"];for(let z of F)Object.defineProperty(k.prototype,z,{get(){return Object.setPrototypeOf(this,j),A$.Transform.call(this,this._options),this[z]},enumerable:!1,configurable:!0});_.exports=function z(X){return new k(X)},_.exports.createHash=_.exports,_.exports.Hash=k}}),mQ=S0({"node_modules/create-hmac/legacy.js"(N,_){var k=B0(),j=N0().Buffer,F=C$(),z=j.alloc(128),X=64;function C(P,T){F.call(this,"digest"),typeof T=="string"&&(T=j.from(T)),this._alg=P,this._key=T,T.length>X?T=P(T):T.length<X&&(T=j.concat([T,z],X));for(var W=this._ipad=j.allocUnsafe(X),J=this._opad=j.allocUnsafe(X),H=0;H<X;H++)W[H]=T[H]^54,J[H]=T[H]^92;this._hash=[W]}k(C,F),C.prototype._update=function(P){this._hash.push(P)},C.prototype._final=function(){var P=this._alg(j.concat(this._hash));return this._alg(j.concat([this._opad,P]))},_.exports=C}}),UQ=S0({"node_modules/create-hash/md5.js"(N,_){var k=QQ();_.exports=function(j){return new k().update(j).digest()}}}),XQ=S0({"node_modules/create-hmac/browser.js"(N,_){var k=B0(),j=mQ(),F=C$(),z=N0().Buffer,X=UQ(),C=YQ(),P=VQ(),T=z.alloc(128);function W(J,H){F.call(this,"digest"),typeof H=="string"&&(H=z.from(H));var D=J==="sha512"||J==="sha384"?128:64;if(this._alg=J,this._key=H,H.length>D){var E=J==="rmd160"?new C:P(J);H=E.update(H).digest()}else H.length<D&&(H=z.concat([H,T],D));for(var L=this._ipad=z.allocUnsafe(D),M=this._opad=z.allocUnsafe(D),v=0;v<D;v++)L[v]=H[v]^54,M[v]=H[v]^92;this._hash=J==="rmd160"?new C:P(J),this._hash.update(L)}k(W,F),W.prototype._update=function(J){this._hash.update(J)},W.prototype._final=function(){var J=this._hash.digest(),H=this._alg==="rmd160"?new C:P(this._alg);return H.update(this._opad).update(J).digest()},_.exports=function(J,H){return J=J.toLowerCase(),J==="rmd160"||J==="ripemd160"?new W("rmd160",H):J==="md5"?new j(X,H):new W(J,H)}}}),KQ=S0({"node_modules/browserify-sign/browser/algorithms.json"(N,_){_.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}}}),aQ=S0({"node_modules/browserify-sign/algos.js"(N,_){_.exports=KQ()}}),IQ=S0({"node_modules/pbkdf2/lib/precondition.js"(N,_){var k=Math.pow(2,30)-1;_.exports=function(j,F){if(typeof j!="number")throw new TypeError("Iterations not a number");if(j<0)throw new TypeError("Bad iterations");if(typeof F!="number")throw new TypeError("Key length not a number");if(F<0||F>k||F!==F)throw new TypeError("Bad key length")}}}),OQ=S0({"node_modules/pbkdf2/lib/default-encoding.js"(N,_){var k;global.process&&global.process.browser?k="utf-8":global.process&&global.process.version?(j=parseInt(process.version.split(".")[0].slice(1),10),k=j>=6?"utf-8":"binary"):k="utf-8";var j;_.exports=k}}),JQ=S0({"node_modules/pbkdf2/lib/to-buffer.js"(N,_){var k=N0().Buffer;_.exports=function(j,F,z){if(k.isBuffer(j))return j;if(typeof j=="string")return k.from(j,F);if(ArrayBuffer.isView(j))return k.from(j.buffer);throw new TypeError(z+" must be a string, a Buffer, a typed array or a DataView")}}}),FQ=S0({"node_modules/pbkdf2/lib/sync-browser.js"(N,_){var k=UQ(),j=YQ(),F=VQ(),z=N0().Buffer,X=IQ(),C=OQ(),P=JQ(),T=z.alloc(128),W={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function J(E,L,M){var v=H(E),q=E==="sha512"||E==="sha384"?128:64;L.length>q?L=v(L):L.length<q&&(L=z.concat([L,T],q));for(var g=z.allocUnsafe(q+W[E]),y=z.allocUnsafe(q+W[E]),w=0;w<q;w++)g[w]=L[w]^54,y[w]=L[w]^92;var f=z.allocUnsafe(q+M+4);g.copy(f,0,0,q),this.ipad1=f,this.ipad2=g,this.opad=y,this.alg=E,this.blocksize=q,this.hash=v,this.size=W[E]}J.prototype.run=function(E,L){E.copy(L,this.blocksize);var M=this.hash(L);return M.copy(this.opad,this.blocksize),this.hash(this.opad)};function H(E){function L(v){return F(E).update(v).digest()}function M(v){return new j().update(v).digest()}return E==="rmd160"||E==="ripemd160"?M:E==="md5"?k:L}function D(E,L,M,v,q){X(M,v),E=P(E,C,"Password"),L=P(L,C,"Salt"),q=q||"sha1";var g=new J(q,E,L.length),y=z.allocUnsafe(v),w=z.allocUnsafe(L.length+4);L.copy(w,0,0,L.length);for(var f=0,b=W[q],u=Math.ceil(v/b),Y0=1;Y0<=u;Y0++){w.writeUInt32BE(Y0,L.length);for(var p=g.run(w,g.ipad1),v0=p,$=1;$<M;$++){v0=g.run(v0,g.ipad2);for(var Y=0;Y<b;Y++)p[Y]^=v0[Y]}p.copy(y,f),f+=b}return y}_.exports=D}}),eQ=S0({"node_modules/pbkdf2/lib/async.js"(N,_){var k=N0().Buffer,j=IQ(),F=OQ(),z=FQ(),X=JQ(),C,P=i$.subtle,T={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},W=[];function J(M){if(global.process&&!global.process.browser||!P||!P.importKey||!P.deriveBits)return Promise.resolve(!1);if(W[M]!==void 0)return W[M];C=C||k.alloc(8);var v=E(C,C,10,128,M).then(function(){return!0}).catch(function(){return!1});return W[M]=v,v}var H;function D(){return H||(global.process&&global.process.nextTick?H=global.process.nextTick:global.queueMicrotask?H=global.queueMicrotask:global.setImmediate?H=global.setImmediate:H=global.setTimeout,H)}function E(M,v,q,g,y){return P.importKey("raw",M,{name:"PBKDF2"},!1,["deriveBits"]).then(function(w){return P.deriveBits({name:"PBKDF2",salt:v,iterations:q,hash:{name:y}},w,g<<3)}).then(function(w){return k.from(w)})}function L(M,v){M.then(function(q){D()(function(){v(null,q)})},function(q){D()(function(){v(q)})})}_.exports=function(M,v,q,g,y,w){typeof y=="function"&&(w=y,y=void 0),y=y||"sha1";var f=T[y.toLowerCase()];if(!f||typeof global.Promise!="function"){D()(function(){var b;try{b=z(M,v,q,g,y)}catch(u){return w(u)}w(null,b)});return}if(j(q,g),M=X(M,F,"Password"),v=X(v,F,"Salt"),typeof w!="function")throw new Error("No callback provided to pbkdf2");L(J(f).then(function(b){return b?E(M,v,q,g,f):z(M,v,q,g,y)}),w)}}}),AQ=S0({"node_modules/pbkdf2/browser.js"(N){N.pbkdf2=eQ(),N.pbkdf2Sync=FQ()}}),HQ=S0({"node_modules/des.js/lib/des/utils.js"(N){N.readUInt32BE=function(F,z){var X=F[0+z]<<24|F[1+z]<<16|F[2+z]<<8|F[3+z];return X>>>0},N.writeUInt32BE=function(F,z,X){F[0+X]=z>>>24,F[1+X]=z>>>16&255,F[2+X]=z>>>8&255,F[3+X]=z&255},N.ip=function(F,z,X,C){for(var P=0,T=0,W=6;W>=0;W-=2){for(var J=0;J<=24;J+=8)P<<=1,P|=z>>>J+W&1;for(var J=0;J<=24;J+=8)P<<=1,P|=F>>>J+W&1}for(var W=6;W>=0;W-=2){for(var J=1;J<=25;J+=8)T<<=1,T|=z>>>J+W&1;for(var J=1;J<=25;J+=8)T<<=1,T|=F>>>J+W&1}X[C+0]=P>>>0,X[C+1]=T>>>0},N.rip=function(F,z,X,C){for(var P=0,T=0,W=0;W<4;W++)for(var J=24;J>=0;J-=8)P<<=1,P|=z>>>J+W&1,P<<=1,P|=F>>>J+W&1;for(var W=4;W<8;W++)for(var J=24;J>=0;J-=8)T<<=1,T|=z>>>J+W&1,T<<=1,T|=F>>>J+W&1;X[C+0]=P>>>0,X[C+1]=T>>>0},N.pc1=function(F,z,X,C){for(var P=0,T=0,W=7;W>=5;W--){for(var J=0;J<=24;J+=8)P<<=1,P|=z>>J+W&1;for(var J=0;J<=24;J+=8)P<<=1,P|=F>>J+W&1}for(var J=0;J<=24;J+=8)P<<=1,P|=z>>J+W&1;for(var W=1;W<=3;W++){for(var J=0;J<=24;J+=8)T<<=1,T|=z>>J+W&1;for(var J=0;J<=24;J+=8)T<<=1,T|=F>>J+W&1}for(var J=0;J<=24;J+=8)T<<=1,T|=F>>J+W&1;X[C+0]=P>>>0,X[C+1]=T>>>0},N.r28shl=function(F,z){return F<<z&268435455|F>>>28-z};var _=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];N.pc2=function(F,z,X,C){for(var P=0,T=0,W=_.length>>>1,J=0;J<W;J++)P<<=1,P|=F>>>_[J]&1;for(var J=W;J<_.length;J++)T<<=1,T|=z>>>_[J]&1;X[C+0]=P>>>0,X[C+1]=T>>>0},N.expand=function(F,z,X){var C=0,P=0;C=(F&1)<<5|F>>>27;for(var T=23;T>=15;T-=4)C<<=6,C|=F>>>T&63;for(var T=11;T>=3;T-=4)P|=F>>>T&63,P<<=6;P|=(F&31)<<1|F>>>31,z[X+0]=C>>>0,z[X+1]=P>>>0};var k=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];N.substitute=function(F,z){for(var X=0,C=0;C<4;C++){var P=F>>>18-C*6&63,T=k[C*64+P];X<<=4,X|=T}for(var C=0;C<4;C++){var P=z>>>18-C*6&63,T=k[256+C*64+P];X<<=4,X|=T}return X>>>0};var j=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];N.permute=function(F){for(var z=0,X=0;X<j.length;X++)z<<=1,z|=F>>>j[X]&1;return z>>>0},N.padSplit=function(F,z,X){for(var C=F.toString(2);C.length<z;)C="0"+C;for(var P=[],T=0;T<z;T+=X)P.push(C.slice(T,T+X));return P.join(" ")}}}),W$=S0({"node_modules/minimalistic-assert/index.js"(N,_){_.exports=k;function k(j,F){if(!j)throw new Error(F||"Assertion failed")}k.equal=function(j,F,z){if(j!=F)throw new Error(z||"Assertion failed: "+j+" != "+F)}}}),y$=S0({"node_modules/des.js/lib/des/cipher.js"(N,_){var k=W$();function j(F){this.options=F,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}_.exports=j,j.prototype._init=function(){},j.prototype.update=function(F){return F.length===0?[]:this.type==="decrypt"?this._updateDecrypt(F):this._updateEncrypt(F)},j.prototype._buffer=function(F,z){for(var X=Math.min(this.buffer.length-this.bufferOff,F.length-z),C=0;C<X;C++)this.buffer[this.bufferOff+C]=F[z+C];return this.bufferOff+=X,X},j.prototype._flushBuffer=function(F,z){return this._update(this.buffer,0,F,z),this.bufferOff=0,this.blockSize},j.prototype._updateEncrypt=function(F){var z=0,X=0,C=(this.bufferOff+F.length)/this.blockSize|0,P=new Array(C*this.blockSize);this.bufferOff!==0&&(z+=this._buffer(F,z),this.bufferOff===this.buffer.length&&(X+=this._flushBuffer(P,X)));for(var T=F.length-(F.length-z)%this.blockSize;z<T;z+=this.blockSize)this._update(F,z,P,X),X+=this.blockSize;for(;z<F.length;z++,this.bufferOff++)this.buffer[this.bufferOff]=F[z];return P},j.prototype._updateDecrypt=function(F){for(var z=0,X=0,C=Math.ceil((this.bufferOff+F.length)/this.blockSize)-1,P=new Array(C*this.blockSize);C>0;C--)z+=this._buffer(F,z),X+=this._flushBuffer(P,X);return z+=this._buffer(F,z),P},j.prototype.final=function(F){var z;F&&(z=this.update(F));var X;return this.type==="encrypt"?X=this._finalEncrypt():X=this._finalDecrypt(),z?z.concat(X):X},j.prototype._pad=function(F,z){if(z===0)return!1;for(;z<F.length;)F[z++]=0;return!0},j.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var F=new Array(this.blockSize);return this._update(this.buffer,0,F,0),F},j.prototype._unpad=function(F){return F},j.prototype._finalDecrypt=function(){k.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var F=new Array(this.blockSize);return this._flushBuffer(F,0),this._unpad(F)}}}),WQ=S0({"node_modules/des.js/lib/des/des.js"(N,_){var k=W$(),j=B0(),F=HQ(),z=y$();function X(){this.tmp=new Array(2),this.keys=null}function C(T){z.call(this,T);var W=new X;this._desState=W,this.deriveKeys(W,T.key)}j(C,z),_.exports=C,C.create=function(T){return new C(T)};var P=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];C.prototype.deriveKeys=function(T,W){T.keys=new Array(32),k.equal(W.length,this.blockSize,"Invalid key length");var J=F.readUInt32BE(W,0),H=F.readUInt32BE(W,4);F.pc1(J,H,T.tmp,0),J=T.tmp[0],H=T.tmp[1];for(var D=0;D<T.keys.length;D+=2){var E=P[D>>>1];J=F.r28shl(J,E),H=F.r28shl(H,E),F.pc2(J,H,T.keys,D)}},C.prototype._update=function(T,W,J,H){var D=this._desState,E=F.readUInt32BE(T,W),L=F.readUInt32BE(T,W+4);F.ip(E,L,D.tmp,0),E=D.tmp[0],L=D.tmp[1],this.type==="encrypt"?this._encrypt(D,E,L,D.tmp,0):this._decrypt(D,E,L,D.tmp,0),E=D.tmp[0],L=D.tmp[1],F.writeUInt32BE(J,E,H),F.writeUInt32BE(J,L,H+4)},C.prototype._pad=function(T,W){for(var J=T.length-W,H=W;H<T.length;H++)T[H]=J;return!0},C.prototype._unpad=function(T){for(var W=T[T.length-1],J=T.length-W;J<T.length;J++)k.equal(T[J],W);return T.slice(0,T.length-W)},C.prototype._encrypt=function(T,W,J,H,D){for(var E=W,L=J,M=0;M<T.keys.length;M+=2){var v=T.keys[M],q=T.keys[M+1];F.expand(L,T.tmp,0),v^=T.tmp[0],q^=T.tmp[1];var g=F.substitute(v,q),y=F.permute(g),w=L;L=(E^y)>>>0,E=w}F.rip(L,E,H,D)},C.prototype._decrypt=function(T,W,J,H,D){for(var E=J,L=W,M=T.keys.length-2;M>=0;M-=2){var v=T.keys[M],q=T.keys[M+1];F.expand(E,T.tmp,0),v^=T.tmp[0],q^=T.tmp[1];var g=F.substitute(v,q),y=F.permute(g),w=E;E=(L^y)>>>0,L=w}F.rip(E,L,H,D)}}}),rQ=S0({"node_modules/des.js/lib/des/cbc.js"(N){var _=W$(),k=B0(),j={};function F(X){_.equal(X.length,8,"Invalid IV length"),this.iv=new Array(8);for(var C=0;C<this.iv.length;C++)this.iv[C]=X[C]}function z(X){function C(J){X.call(this,J),this._cbcInit()}k(C,X);for(var P=Object.keys(j),T=0;T<P.length;T++){var W=P[T];C.prototype[W]=j[W]}return C.create=function(J){return new C(J)},C}N.instantiate=z,j._cbcInit=function(){var X=new F(this.options.iv);this._cbcState=X},j._update=function(X,C,P,T){var W=this._cbcState,J=this.constructor.super_.prototype,H=W.iv;if(this.type==="encrypt"){for(var D=0;D<this.blockSize;D++)H[D]^=X[C+D];J._update.call(this,H,0,P,T);for(var D=0;D<this.blockSize;D++)H[D]=P[T+D]}else{J._update.call(this,X,C,P,T);for(var D=0;D<this.blockSize;D++)P[T+D]^=H[D];for(var D=0;D<this.blockSize;D++)H[D]=X[C+D]}}}}),iQ=S0({"node_modules/des.js/lib/des/ede.js"(N,_){var k=W$(),j=B0(),F=y$(),z=WQ();function X(P,T){k.equal(T.length,24,"Invalid key length");var W=T.slice(0,8),J=T.slice(8,16),H=T.slice(16,24);P==="encrypt"?this.ciphers=[z.create({type:"encrypt",key:W}),z.create({type:"decrypt",key:J}),z.create({type:"encrypt",key:H})]:this.ciphers=[z.create({type:"decrypt",key:H}),z.create({type:"encrypt",key:J}),z.create({type:"decrypt",key:W})]}function C(P){F.call(this,P);var T=new X(this.type,this.options.key);this._edeState=T}j(C,F),_.exports=C,C.create=function(P){return new C(P)},C.prototype._update=function(P,T,W,J){var H=this._edeState;H.ciphers[0]._update(P,T,W,J),H.ciphers[1]._update(W,J,W,J),H.ciphers[2]._update(W,J,W,J)},C.prototype._pad=z.prototype._pad,C.prototype._unpad=z.prototype._unpad}}),$Y=S0({"node_modules/des.js/lib/des.js"(N){N.utils=HQ(),N.Cipher=y$(),N.DES=WQ(),N.CBC=rQ(),N.EDE=iQ()}}),QY=S0({"node_modules/browserify-des/index.js"(N,_){var k=C$(),j=$Y(),F=B0(),z=N0().Buffer,X={"des-ede3-cbc":j.CBC.instantiate(j.EDE),"des-ede3":j.EDE,"des-ede-cbc":j.CBC.instantiate(j.EDE),"des-ede":j.EDE,"des-cbc":j.CBC.instantiate(j.DES),"des-ecb":j.DES};X.des=X["des-cbc"],X.des3=X["des-ede3-cbc"],_.exports=C,F(C,k);function C(P){k.call(this);var T=P.mode.toLowerCase(),W=X[T],J;P.decrypt?J="decrypt":J="encrypt";var H=P.key;z.isBuffer(H)||(H=z.from(H)),(T==="des-ede"||T==="des-ede-cbc")&&(H=z.concat([H,H.slice(0,8)]));var D=P.iv;z.isBuffer(D)||(D=z.from(D)),this._des=W.create({key:H,iv:D,type:J})}C.prototype._update=function(P){return z.from(this._des.update(P))},C.prototype._final=function(){return z.from(this._des.final())}}}),YY=S0({"node_modules/browserify-aes/modes/ecb.js"(N){N.encrypt=function(_,k){return _._cipher.encryptBlock(k)},N.decrypt=function(_,k){return _._cipher.decryptBlock(k)}}}),S$=S0({"node_modules/buffer-xor/index.js"(N,_){_.exports=function(k,j){for(var F=Math.min(k.length,j.length),z=new g0(F),X=0;X<F;++X)z[X]=k[X]^j[X];return z}}}),ZY=S0({"node_modules/browserify-aes/modes/cbc.js"(N){var _=S$();N.encrypt=function(k,j){var F=_(j,k._prev);return k._prev=k._cipher.encryptBlock(F),k._prev},N.decrypt=function(k,j){var F=k._prev;k._prev=j;var z=k._cipher.decryptBlock(j);return _(z,F)}}}),GY=S0({"node_modules/browserify-aes/modes/cfb.js"(N){var _=N0().Buffer,k=S$();function j(F,z,X){var C=z.length,P=k(z,F._cache);return F._cache=F._cache.slice(C),F._prev=_.concat([F._prev,X?z:P]),P}N.encrypt=function(F,z,X){for(var C=_.allocUnsafe(0),P;z.length;)if(F._cache.length===0&&(F._cache=F._cipher.encryptBlock(F._prev),F._prev=_.allocUnsafe(0)),F._cache.length<=z.length)P=F._cache.length,C=_.concat([C,j(F,z.slice(0,P),X)]),z=z.slice(P);else{C=_.concat([C,j(F,z,X)]);break}return C}}}),VY=S0({"node_modules/browserify-aes/modes/cfb8.js"(N){var _=N0().Buffer;function k(j,F,z){var X=j._cipher.encryptBlock(j._prev),C=X[0]^F;return j._prev=_.concat([j._prev.slice(1),_.from([z?F:C])]),C}N.encrypt=function(j,F,z){for(var X=F.length,C=_.allocUnsafe(X),P=-1;++P<X;)C[P]=k(j,F[P],z);return C}}}),UY=S0({"node_modules/browserify-aes/modes/cfb1.js"(N){var _=N0().Buffer;function k(F,z,X){for(var C,P=-1,T=8,W=0,J,H;++P<T;)C=F._cipher.encryptBlock(F._prev),J=z&1<<7-P?128:0,H=C[0]^J,W+=(H&128)>>P%8,F._prev=j(F._prev,X?J:H);return W}function j(F,z){var X=F.length,C=-1,P=_.allocUnsafe(F.length);for(F=_.concat([F,_.from([z])]);++C<X;)P[C]=F[C]<<1|F[C+1]>>7;return P}N.encrypt=function(F,z,X){for(var C=z.length,P=_.allocUnsafe(C),T=-1;++T<C;)P[T]=k(F,z[T],X);return P}}}),XY=S0({"node_modules/browserify-aes/modes/ofb.js"(N){var _=S$();function k(j){return j._prev=j._cipher.encryptBlock(j._prev),j._prev}N.encrypt=function(j,F){for(;j._cache.length<F.length;)j._cache=g0.concat([j._cache,k(j)]);var z=j._cache.slice(0,F.length);return j._cache=j._cache.slice(F.length),_(F,z)}}}),EQ=S0({"node_modules/browserify-aes/incr32.js"(N,_){function k(j){for(var F=j.length,z;F--;)if(z=j.readUInt8(F),z===255)j.writeUInt8(0,F);else{z++,j.writeUInt8(z,F);break}}_.exports=k}}),a$=S0({"node_modules/browserify-aes/modes/ctr.js"(N){var _=S$(),k=N0().Buffer,j=EQ();function F(X){var C=X._cipher.encryptBlockRaw(X._prev);return j(X._prev),C}var z=16;N.encrypt=function(X,C){var P=Math.ceil(C.length/z),T=X._cache.length;X._cache=k.concat([X._cache,k.allocUnsafe(P*z)]);for(var W=0;W<P;W++){var J=F(X),H=T+W*z;X._cache.writeUInt32BE(J[0],H+0),X._cache.writeUInt32BE(J[1],H+4),X._cache.writeUInt32BE(J[2],H+8),X._cache.writeUInt32BE(J[3],H+12)}var D=X._cache.slice(0,C.length);return X._cache=X._cache.slice(C.length),_(C,D)}}}),TQ=S0({"node_modules/browserify-aes/modes/list.json"(N,_){_.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}}}),w$=S0({"node_modules/browserify-aes/modes/index.js"(N,_){var k={ECB:YY(),CBC:ZY(),CFB:GY(),CFB8:VY(),CFB1:UY(),OFB:XY(),CTR:a$(),GCM:a$()},j=TQ();for(F in j)j[F].module=k[j[F].mode];var F;_.exports=j}}),q$=S0({"node_modules/browserify-aes/aes.js"(N,_){var k=N0().Buffer;function j(T){k.isBuffer(T)||(T=k.from(T));for(var W=T.length/4|0,J=new Array(W),H=0;H<W;H++)J[H]=T.readUInt32BE(H*4);return J}function F(T){for(var W=0;W<T.length;T++)T[W]=0}function z(T,W,J,H,D){for(var E=J[0],L=J[1],M=J[2],v=J[3],q=T[0]^W[0],g=T[1]^W[1],y=T[2]^W[2],w=T[3]^W[3],f,b,u,Y0,p=4,v0=1;v0<D;v0++)f=E[q>>>24]^L[g>>>16&255]^M[y>>>8&255]^v[w&255]^W[p++],b=E[g>>>24]^L[y>>>16&255]^M[w>>>8&255]^v[q&255]^W[p++],u=E[y>>>24]^L[w>>>16&255]^M[q>>>8&255]^v[g&255]^W[p++],Y0=E[w>>>24]^L[q>>>16&255]^M[g>>>8&255]^v[y&255]^W[p++],q=f,g=b,y=u,w=Y0;return f=(H[q>>>24]<<24|H[g>>>16&255]<<16|H[y>>>8&255]<<8|H[w&255])^W[p++],b=(H[g>>>24]<<24|H[y>>>16&255]<<16|H[w>>>8&255]<<8|H[q&255])^W[p++],u=(H[y>>>24]<<24|H[w>>>16&255]<<16|H[q>>>8&255]<<8|H[g&255])^W[p++],Y0=(H[w>>>24]<<24|H[q>>>16&255]<<16|H[g>>>8&255]<<8|H[y&255])^W[p++],f=f>>>0,b=b>>>0,u=u>>>0,Y0=Y0>>>0,[f,b,u,Y0]}var X=[0,1,2,4,8,16,32,64,128,27,54],C=function(){for(var T=new Array(256),W=0;W<256;W++)W<128?T[W]=W<<1:T[W]=W<<1^283;for(var J=[],H=[],D=[[],[],[],[]],E=[[],[],[],[]],L=0,M=0,v=0;v<256;++v){var q=M^M<<1^M<<2^M<<3^M<<4;q=q>>>8^q&255^99,J[L]=q,H[q]=L;var g=T[L],y=T[g],w=T[y],f=T[q]*257^q*16843008;D[0][L]=f<<24|f>>>8,D[1][L]=f<<16|f>>>16,D[2][L]=f<<8|f>>>24,D[3][L]=f,f=w*16843009^y*65537^g*257^L*16843008,E[0][q]=f<<24|f>>>8,E[1][q]=f<<16|f>>>16,E[2][q]=f<<8|f>>>24,E[3][q]=f,L===0?L=M=1:(L=g^T[T[T[w^g]]],M^=T[T[M]])}return{SBOX:J,INV_SBOX:H,SUB_MIX:D,INV_SUB_MIX:E}}();function P(T){this._key=j(T),this._reset()}P.blockSize=16,P.keySize=32,P.prototype.blockSize=P.blockSize,P.prototype.keySize=P.keySize,P.prototype._reset=function(){for(var T=this._key,W=T.length,J=W+6,H=(J+1)*4,D=[],E=0;E<W;E++)D[E]=T[E];for(E=W;E<H;E++){var L=D[E-1];E%W===0?(L=L<<8|L>>>24,L=C.SBOX[L>>>24]<<24|C.SBOX[L>>>16&255]<<16|C.SBOX[L>>>8&255]<<8|C.SBOX[L&255],L^=X[E/W|0]<<24):W>6&&E%W===4&&(L=C.SBOX[L>>>24]<<24|C.SBOX[L>>>16&255]<<16|C.SBOX[L>>>8&255]<<8|C.SBOX[L&255]),D[E]=D[E-W]^L}for(var M=[],v=0;v<H;v++){var q=H-v,g=D[q-(v%4?0:4)];v<4||q<=4?M[v]=g:M[v]=C.INV_SUB_MIX[0][C.SBOX[g>>>24]]^C.INV_SUB_MIX[1][C.SBOX[g>>>16&255]]^C.INV_SUB_MIX[2][C.SBOX[g>>>8&255]]^C.INV_SUB_MIX[3][C.SBOX[g&255]]}this._nRounds=J,this._keySchedule=D,this._invKeySchedule=M},P.prototype.encryptBlockRaw=function(T){return T=j(T),z(T,this._keySchedule,C.SUB_MIX,C.SBOX,this._nRounds)},P.prototype.encryptBlock=function(T){var W=this.encryptBlockRaw(T),J=k.allocUnsafe(16);return J.writeUInt32BE(W[0],0),J.writeUInt32BE(W[1],4),J.writeUInt32BE(W[2],8),J.writeUInt32BE(W[3],12),J},P.prototype.decryptBlock=function(T){T=j(T);var W=T[1];T[1]=T[3],T[3]=W;var J=z(T,this._invKeySchedule,C.INV_SUB_MIX,C.INV_SBOX,this._nRounds),H=k.allocUnsafe(16);return H.writeUInt32BE(J[0],0),H.writeUInt32BE(J[3],4),H.writeUInt32BE(J[2],8),H.writeUInt32BE(J[1],12),H},P.prototype.scrub=function(){F(this._keySchedule),F(this._invKeySchedule),F(this._key)},_.exports.AES=P}}),KY=S0({"node_modules/browserify-aes/ghash.js"(N,_){var k=N0().Buffer,j=k.alloc(16,0);function F(C){return[C.readUInt32BE(0),C.readUInt32BE(4),C.readUInt32BE(8),C.readUInt32BE(12)]}function z(C){var P=k.allocUnsafe(16);return P.writeUInt32BE(C[0]>>>0,0),P.writeUInt32BE(C[1]>>>0,4),P.writeUInt32BE(C[2]>>>0,8),P.writeUInt32BE(C[3]>>>0,12),P}function X(C){this.h=C,this.state=k.alloc(16,0),this.cache=k.allocUnsafe(0)}X.prototype.ghash=function(C){for(var P=-1;++P<C.length;)this.state[P]^=C[P];this._multiply()},X.prototype._multiply=function(){for(var C=F(this.h),P=[0,0,0,0],T,W,J,H=-1;++H<128;){for(W=(this.state[~~(H/8)]&1<<7-H%8)!==0,W&&(P[0]^=C[0],P[1]^=C[1],P[2]^=C[2],P[3]^=C[3]),J=(C[3]&1)!==0,T=3;T>0;T--)C[T]=C[T]>>>1|(C[T-1]&1)<<31;C[0]=C[0]>>>1,J&&(C[0]=C[0]^225<<24)}this.state=z(P)},X.prototype.update=function(C){this.cache=k.concat([this.cache,C]);for(var P;this.cache.length>=16;)P=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(P)},X.prototype.final=function(C,P){return this.cache.length&&this.ghash(k.concat([this.cache,j],16)),this.ghash(z([0,C,0,P])),this.state},_.exports=X}}),DQ=S0({"node_modules/browserify-aes/authCipher.js"(N,_){var k=q$(),j=N0().Buffer,F=C$(),z=B0(),X=KY(),C=S$(),P=EQ();function T(H,D){var E=0;H.length!==D.length&&E++;for(var L=Math.min(H.length,D.length),M=0;M<L;++M)E+=H[M]^D[M];return E}function W(H,D,E){if(D.length===12)return H._finID=j.concat([D,j.from([0,0,0,1])]),j.concat([D,j.from([0,0,0,2])]);var L=new X(E),M=D.length,v=M%16;L.update(D),v&&(v=16-v,L.update(j.alloc(v,0))),L.update(j.alloc(8,0));var q=M*8,g=j.alloc(8);g.writeUIntBE(q,0,8),L.update(g),H._finID=L.state;var y=j.from(H._finID);return P(y),y}function J(H,D,E,L){F.call(this);var M=j.alloc(4,0);this._cipher=new k.AES(D);var v=this._cipher.encryptBlock(M);this._ghash=new X(v),E=W(this,E,v),this._prev=j.from(E),this._cache=j.allocUnsafe(0),this._secCache=j.allocUnsafe(0),this._decrypt=L,this._alen=0,this._len=0,this._mode=H,this._authTag=null,this._called=!1}z(J,F),J.prototype._update=function(H){if(!this._called&&this._alen){var D=16-this._alen%16;D<16&&(D=j.alloc(D,0),this._ghash.update(D))}this._called=!0;var E=this._mode.encrypt(this,H);return this._decrypt?this._ghash.update(H):this._ghash.update(E),this._len+=H.length,E},J.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var H=C(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&T(H,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=H,this._cipher.scrub()},J.prototype.getAuthTag=function(){if(this._decrypt||!j.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},J.prototype.setAuthTag=function(H){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=H},J.prototype.setAAD=function(H){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(H),this._alen+=H.length},_.exports=J}}),CQ=S0({"node_modules/browserify-aes/streamCipher.js"(N,_){var k=q$(),j=N0().Buffer,F=C$(),z=B0();function X(C,P,T,W){F.call(this),this._cipher=new k.AES(P),this._prev=j.from(T),this._cache=j.allocUnsafe(0),this._secCache=j.allocUnsafe(0),this._decrypt=W,this._mode=C}z(X,F),X.prototype._update=function(C){return this._mode.encrypt(this,C,this._decrypt)},X.prototype._final=function(){this._cipher.scrub()},_.exports=X}}),j$=S0({"node_modules/evp_bytestokey/index.js"(N,_){var k=N0().Buffer,j=QQ();function F(z,X,C,P){if(k.isBuffer(z)||(z=k.from(z,"binary")),X&&(k.isBuffer(X)||(X=k.from(X,"binary")),X.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var T=C/8,W=k.alloc(T),J=k.alloc(P||0),H=k.alloc(0);T>0||P>0;){var D=new j;D.update(H),D.update(z),X&&D.update(X),H=D.digest();var E=0;if(T>0){var L=W.length-T;E=Math.min(T,H.length),H.copy(W,L,0,E),T-=E}if(E<H.length&&P>0){var M=J.length-P,v=Math.min(P,H.length-E);H.copy(J,M,E,E+v),P-=v}}return H.fill(0),{key:W,iv:J}}_.exports=F}}),IY=S0({"node_modules/browserify-aes/encrypter.js"(N){var _=w$(),k=DQ(),j=N0().Buffer,F=CQ(),z=C$(),X=q$(),C=j$(),P=B0();function T(E,L,M){z.call(this),this._cache=new J,this._cipher=new X.AES(L),this._prev=j.from(M),this._mode=E,this._autopadding=!0}P(T,z),T.prototype._update=function(E){this._cache.add(E);for(var L,M,v=[];L=this._cache.get();)M=this._mode.encrypt(this,L),v.push(M);return j.concat(v)};var W=j.alloc(16,16);T.prototype._final=function(){var E=this._cache.flush();if(this._autopadding)return E=this._mode.encrypt(this,E),this._cipher.scrub(),E;if(!E.equals(W))throw this._cipher.scrub(),new Error("data not multiple of block length")},T.prototype.setAutoPadding=function(E){return this._autopadding=!!E,this};function J(){this.cache=j.allocUnsafe(0)}J.prototype.add=function(E){this.cache=j.concat([this.cache,E])},J.prototype.get=function(){if(this.cache.length>15){var E=this.cache.slice(0,16);return this.cache=this.cache.slice(16),E}return null},J.prototype.flush=function(){for(var E=16-this.cache.length,L=j.allocUnsafe(E),M=-1;++M<E;)L.writeUInt8(E,M);return j.concat([this.cache,L])};function H(E,L,M){var v=_[E.toLowerCase()];if(!v)throw new TypeError("invalid suite type");if(typeof L=="string"&&(L=j.from(L)),L.length!==v.key/8)throw new TypeError("invalid key length "+L.length);if(typeof M=="string"&&(M=j.from(M)),v.mode!=="GCM"&&M.length!==v.iv)throw new TypeError("invalid iv length "+M.length);return v.type==="stream"?new F(v.module,L,M):v.type==="auth"?new k(v.module,L,M):new T(v.module,L,M)}function D(E,L){var M=_[E.toLowerCase()];if(!M)throw new TypeError("invalid suite type");var v=C(L,!1,M.key,M.iv);return H(E,v.key,v.iv)}N.createCipheriv=H,N.createCipher=D}}),OY=S0({"node_modules/browserify-aes/decrypter.js"(N){var _=DQ(),k=N0().Buffer,j=w$(),F=CQ(),z=C$(),X=q$(),C=j$(),P=B0();function T(E,L,M){z.call(this),this._cache=new W,this._last=void 0,this._cipher=new X.AES(L),this._prev=k.from(M),this._mode=E,this._autopadding=!0}P(T,z),T.prototype._update=function(E){this._cache.add(E);for(var L,M,v=[];L=this._cache.get(this._autopadding);)M=this._mode.decrypt(this,L),v.push(M);return k.concat(v)},T.prototype._final=function(){var E=this._cache.flush();if(this._autopadding)return J(this._mode.decrypt(this,E));if(E)throw new Error("data not multiple of block length")},T.prototype.setAutoPadding=function(E){return this._autopadding=!!E,this};function W(){this.cache=k.allocUnsafe(0)}W.prototype.add=function(E){this.cache=k.concat([this.cache,E])},W.prototype.get=function(E){var L;if(E){if(this.cache.length>16)return L=this.cache.slice(0,16),this.cache=this.cache.slice(16),L}else if(this.cache.length>=16)return L=this.cache.slice(0,16),this.cache=this.cache.slice(16),L;return null},W.prototype.flush=function(){if(this.cache.length)return this.cache};function J(E){var L=E[15];if(L<1||L>16)throw new Error("unable to decrypt data");for(var M=-1;++M<L;)if(E[M+(16-L)]!==L)throw new Error("unable to decrypt data");if(L!==16)return E.slice(0,16-L)}function H(E,L,M){var v=j[E.toLowerCase()];if(!v)throw new TypeError("invalid suite type");if(typeof M=="string"&&(M=k.from(M)),v.mode!=="GCM"&&M.length!==v.iv)throw new TypeError("invalid iv length "+M.length);if(typeof L=="string"&&(L=k.from(L)),L.length!==v.key/8)throw new TypeError("invalid key length "+L.length);return v.type==="stream"?new F(v.module,L,M,!0):v.type==="auth"?new _(v.module,L,M,!0):new T(v.module,L,M)}function D(E,L){var M=j[E.toLowerCase()];if(!M)throw new TypeError("invalid suite type");var v=C(L,!1,M.key,M.iv);return H(E,v.key,v.iv)}N.createDecipher=D,N.createDecipheriv=H}}),p$=S0({"node_modules/browserify-aes/browser.js"(N){var _=IY(),k=OY(),j=TQ();function F(){return Object.keys(j)}N.createCipher=N.Cipher=_.createCipher,N.createCipheriv=N.Cipheriv=_.createCipheriv,N.createDecipher=N.Decipher=k.createDecipher,N.createDecipheriv=N.Decipheriv=k.createDecipheriv,N.listCiphers=N.getCiphers=F}}),JY=S0({"node_modules/browserify-des/modes.js"(N){N["des-ecb"]={key:8,iv:0},N["des-cbc"]=N.des={key:8,iv:8},N["des-ede3-cbc"]=N.des3={key:24,iv:8},N["des-ede3"]={key:24,iv:0},N["des-ede-cbc"]={key:16,iv:8},N["des-ede"]={key:16,iv:0}}}),FY=S0({"node_modules/browserify-cipher/browser.js"(N){var _=QY(),k=p$(),j=w$(),F=JY(),z=j$();function X(J,H){J=J.toLowerCase();var D,E;if(j[J])D=j[J].key,E=j[J].iv;else if(F[J])D=F[J].key*8,E=F[J].iv;else throw new TypeError("invalid suite type");var L=z(H,!1,D,E);return P(J,L.key,L.iv)}function C(J,H){J=J.toLowerCase();var D,E;if(j[J])D=j[J].key,E=j[J].iv;else if(F[J])D=F[J].key*8,E=F[J].iv;else throw new TypeError("invalid suite type");var L=z(H,!1,D,E);return T(J,L.key,L.iv)}function P(J,H,D){if(J=J.toLowerCase(),j[J])return k.createCipheriv(J,H,D);if(F[J])return new _({key:H,iv:D,mode:J});throw new TypeError("invalid suite type")}function T(J,H,D){if(J=J.toLowerCase(),j[J])return k.createDecipheriv(J,H,D);if(F[J])return new _({key:H,iv:D,mode:J,decrypt:!0});throw new TypeError("invalid suite type")}function W(){return Object.keys(F).concat(k.getCiphers())}N.createCipher=N.Cipher=X,N.createCipheriv=N.Cipheriv=P,N.createDecipher=N.Decipher=C,N.createDecipheriv=N.Decipheriv=T,N.listCiphers=N.getCiphers=W}}),LQ=S0({"node_modules/diffie-hellman/node_modules/bn.js/lib/bn.js"(N,_){(function(k,j){function F($,Y){if(!$)throw new Error(Y||"Assertion failed")}function z($,Y){$.super_=Y;var G=function(){};G.prototype=Y.prototype,$.prototype=new G,$.prototype.constructor=$}function X($,Y,G){if(X.isBN($))return $;this.negative=0,this.words=null,this.length=0,this.red=null,$!==null&&((Y==="le"||Y==="be")&&(G=Y,Y=10),this._init($||0,Y||10,G||"be"))}typeof k=="object"?k.exports=X:j.BN=X,X.BN=X,X.wordSize=26;var C=g0;X.isBN=function($){return $ instanceof X?!0:$!==null&&typeof $=="object"&&$.constructor.wordSize===X.wordSize&&Array.isArray($.words)},X.max=function($,Y){return $.cmp(Y)>0?$:Y},X.min=function($,Y){return $.cmp(Y)<0?$:Y},X.prototype._init=function($,Y,G){if(typeof $=="number")return this._initNumber($,Y,G);if(typeof $=="object")return this._initArray($,Y,G);Y==="hex"&&(Y=16),F(Y===(Y|0)&&Y>=2&&Y<=36),$=$.toString().replace(/\s+/g,"");var Z=0;$[0]==="-"&&(Z++,this.negative=1),Z<$.length&&(Y===16?this._parseHex($,Z,G):(this._parseBase($,Y,Z),G==="le"&&this._initArray(this.toArray(),Y,G)))},X.prototype._initNumber=function($,Y,G){$<0&&(this.negative=1,$=-$),$<67108864?(this.words=[$&67108863],this.length=1):$<4503599627370496?(this.words=[$&67108863,$/67108864&67108863],this.length=2):(F($<9007199254740992),this.words=[$&67108863,$/67108864&67108863,1],this.length=3),G==="le"&&this._initArray(this.toArray(),Y,G)},X.prototype._initArray=function($,Y,G){if(F(typeof $.length=="number"),$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil($.length/3),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V,I,O=0;if(G==="be")for(Z=$.length-1,V=0;Z>=0;Z-=3)I=$[Z]|$[Z-1]<<8|$[Z-2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);else if(G==="le")for(Z=0,V=0;Z<$.length;Z+=3)I=$[Z]|$[Z+1]<<8|$[Z+2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);return this.strip()};function P($,Y){var G=$.charCodeAt(Y);return G>=65&&G<=70?G-55:G>=97&&G<=102?G-87:G-48&15}function T($,Y,G){var Z=P($,G);return G-1>=Y&&(Z|=P($,G-1)<<4),Z}X.prototype._parseHex=function($,Y,G){this.length=Math.ceil(($.length-Y)/6),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V=0,I=0,O;if(G==="be")for(Z=$.length-1;Z>=Y;Z-=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8;else{var U=$.length-Y;for(Z=U%2===0?Y+1:Y;Z<$.length;Z+=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8}this.strip()};function W($,Y,G,Z){for(var V=0,I=Math.min($.length,G),O=Y;O<I;O++){var U=$.charCodeAt(O)-48;V*=Z,U>=49?V+=U-49+10:U>=17?V+=U-17+10:V+=U}return V}X.prototype._parseBase=function($,Y,G){this.words=[0],this.length=1;for(var Z=0,V=1;V<=67108863;V*=Y)Z++;Z--,V=V/Y|0;for(var I=$.length-G,O=I%Z,U=Math.min(I,I-O)+G,Q=0,K=G;K<U;K+=Z)Q=W($,K,K+Z,Y),this.imuln(V),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q);if(O!==0){var R=1;for(Q=W($,K,$.length,Y),K=0;K<O;K++)R*=Y;this.imuln(R),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q)}this.strip()},X.prototype.copy=function($){$.words=new Array(this.length);for(var Y=0;Y<this.length;Y++)$.words[Y]=this.words[Y];$.length=this.length,$.negative=this.negative,$.red=this.red},X.prototype.clone=function(){var $=new X(null);return this.copy($),$},X.prototype._expand=function($){for(;this.length<$;)this.words[this.length++]=0;return this},X.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},X.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},X.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var J=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],H=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];X.prototype.toString=function($,Y){$=$||10,Y=Y|0||1;var G;if($===16||$==="hex"){G="";for(var Z=0,V=0,I=0;I<this.length;I++){var O=this.words[I],U=((O<<Z|V)&16777215).toString(16);V=O>>>24-Z&16777215,V!==0||I!==this.length-1?G=J[6-U.length]+U+G:G=U+G,Z+=2,Z>=26&&(Z-=26,I--)}for(V!==0&&(G=V.toString(16)+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}if($===($|0)&&$>=2&&$<=36){var Q=H[$],K=D[$];G="";var R=this.clone();for(R.negative=0;!R.isZero();){var A=R.modn(K).toString($);R=R.idivn(K),R.isZero()?G=A+G:G=J[Q-A.length]+A+G}for(this.isZero()&&(G="0"+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}F(!1,"Base should be between 2 and 36")},X.prototype.toNumber=function(){var $=this.words[0];return this.length===2?$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?$+=4503599627370496+this.words[1]*67108864:this.length>2&&F(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-$:$},X.prototype.toJSON=function(){return this.toString(16)},X.prototype.toBuffer=function($,Y){return F(typeof C<"u"),this.toArrayLike(C,$,Y)},X.prototype.toArray=function($,Y){return this.toArrayLike(Array,$,Y)},X.prototype.toArrayLike=function($,Y,G){var Z=this.byteLength(),V=G||Math.max(1,Z);F(Z<=V,"byte array longer than desired length"),F(V>0,"Requested array length <= 0"),this.strip();var I=Y==="le",O=new $(V),U,Q,K=this.clone();if(I){for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[Q]=U;for(;Q<V;Q++)O[Q]=0}else{for(Q=0;Q<V-Z;Q++)O[Q]=0;for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[V-Q-1]=U}return O},Math.clz32?X.prototype._countBits=function($){return 32-Math.clz32($)}:X.prototype._countBits=function($){var Y=$,G=0;return Y>=4096&&(G+=13,Y>>>=13),Y>=64&&(G+=7,Y>>>=7),Y>=8&&(G+=4,Y>>>=4),Y>=2&&(G+=2,Y>>>=2),G+Y},X.prototype._zeroBits=function($){if($===0)return 26;var Y=$,G=0;return(Y&8191)===0&&(G+=13,Y>>>=13),(Y&127)===0&&(G+=7,Y>>>=7),(Y&15)===0&&(G+=4,Y>>>=4),(Y&3)===0&&(G+=2,Y>>>=2),(Y&1)===0&&G++,G},X.prototype.bitLength=function(){var $=this.words[this.length-1],Y=this._countBits($);return(this.length-1)*26+Y};function E($){for(var Y=new Array($.bitLength()),G=0;G<Y.length;G++){var Z=G/26|0,V=G%26;Y[G]=($.words[Z]&1<<V)>>>V}return Y}X.prototype.zeroBits=function(){if(this.isZero())return 0;for(var $=0,Y=0;Y<this.length;Y++){var G=this._zeroBits(this.words[Y]);if($+=G,G!==26)break}return $},X.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},X.prototype.toTwos=function($){return this.negative!==0?this.abs().inotn($).iaddn(1):this.clone()},X.prototype.fromTwos=function($){return this.testn($-1)?this.notn($).iaddn(1).ineg():this.clone()},X.prototype.isNeg=function(){return this.negative!==0},X.prototype.neg=function(){return this.clone().ineg()},X.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},X.prototype.iuor=function($){for(;this.length<$.length;)this.words[this.length++]=0;for(var Y=0;Y<$.length;Y++)this.words[Y]=this.words[Y]|$.words[Y];return this.strip()},X.prototype.ior=function($){return F((this.negative|$.negative)===0),this.iuor($)},X.prototype.or=function($){return this.length>$.length?this.clone().ior($):$.clone().ior(this)},X.prototype.uor=function($){return this.length>$.length?this.clone().iuor($):$.clone().iuor(this)},X.prototype.iuand=function($){var Y;this.length>$.length?Y=$:Y=this;for(var G=0;G<Y.length;G++)this.words[G]=this.words[G]&$.words[G];return this.length=Y.length,this.strip()},X.prototype.iand=function($){return F((this.negative|$.negative)===0),this.iuand($)},X.prototype.and=function($){return this.length>$.length?this.clone().iand($):$.clone().iand(this)},X.prototype.uand=function($){return this.length>$.length?this.clone().iuand($):$.clone().iuand(this)},X.prototype.iuxor=function($){var Y,G;this.length>$.length?(Y=this,G=$):(Y=$,G=this);for(var Z=0;Z<G.length;Z++)this.words[Z]=Y.words[Z]^G.words[Z];if(this!==Y)for(;Z<Y.length;Z++)this.words[Z]=Y.words[Z];return this.length=Y.length,this.strip()},X.prototype.ixor=function($){return F((this.negative|$.negative)===0),this.iuxor($)},X.prototype.xor=function($){return this.length>$.length?this.clone().ixor($):$.clone().ixor(this)},X.prototype.uxor=function($){return this.length>$.length?this.clone().iuxor($):$.clone().iuxor(this)},X.prototype.inotn=function($){F(typeof $=="number"&&$>=0);var Y=Math.ceil($/26)|0,G=$%26;this._expand(Y),G>0&&Y--;for(var Z=0;Z<Y;Z++)this.words[Z]=~this.words[Z]&67108863;return G>0&&(this.words[Z]=~this.words[Z]&67108863>>26-G),this.strip()},X.prototype.notn=function($){return this.clone().inotn($)},X.prototype.setn=function($,Y){F(typeof $=="number"&&$>=0);var G=$/26|0,Z=$%26;return this._expand(G+1),Y?this.words[G]=this.words[G]|1<<Z:this.words[G]=this.words[G]&~(1<<Z),this.strip()},X.prototype.iadd=function($){var Y;if(this.negative!==0&&$.negative===0)return this.negative=0,Y=this.isub($),this.negative^=1,this._normSign();if(this.negative===0&&$.negative!==0)return $.negative=0,Y=this.isub($),$.negative=1,Y._normSign();var G,Z;this.length>$.length?(G=this,Z=$):(G=$,Z=this);for(var V=0,I=0;I<Z.length;I++)Y=(G.words[I]|0)+(Z.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;for(;V!==0&&I<G.length;I++)Y=(G.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;if(this.length=G.length,V!==0)this.words[this.length]=V,this.length++;else if(G!==this)for(;I<G.length;I++)this.words[I]=G.words[I];return this},X.prototype.add=function($){var Y;return $.negative!==0&&this.negative===0?($.negative=0,Y=this.sub($),$.negative^=1,Y):$.negative===0&&this.negative!==0?(this.negative=0,Y=$.sub(this),this.negative=1,Y):this.length>$.length?this.clone().iadd($):$.clone().iadd(this)},X.prototype.isub=function($){if($.negative!==0){$.negative=0;var Y=this.iadd($);return $.negative=1,Y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd($),this.negative=1,this._normSign();var G=this.cmp($);if(G===0)return this.negative=0,this.length=1,this.words[0]=0,this;var Z,V;G>0?(Z=this,V=$):(Z=$,V=this);for(var I=0,O=0;O<V.length;O++)Y=(Z.words[O]|0)-(V.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;for(;I!==0&&O<Z.length;O++)Y=(Z.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;if(I===0&&O<Z.length&&Z!==this)for(;O<Z.length;O++)this.words[O]=Z.words[O];return this.length=Math.max(this.length,O),Z!==this&&(this.negative=1),this.strip()},X.prototype.sub=function($){return this.clone().isub($)};function L($,Y,G){G.negative=Y.negative^$.negative;var Z=$.length+Y.length|0;G.length=Z,Z=Z-1|0;var V=$.words[0]|0,I=Y.words[0]|0,O=V*I,U=O&67108863,Q=O/67108864|0;G.words[0]=U;for(var K=1;K<Z;K++){for(var R=Q>>>26,A=Q&67108863,S=Math.min(K,Y.length-1),x=Math.max(0,K-$.length+1);x<=S;x++){var B=K-x|0;V=$.words[B]|0,I=Y.words[x]|0,O=V*I+A,R+=O/67108864|0,A=O&67108863}G.words[K]=A|0,Q=R|0}return Q!==0?G.words[K]=Q|0:G.length--,G.strip()}var M=function($,Y,G){var Z=$.words,V=Y.words,I=G.words,O=0,U,Q,K,R=Z[0]|0,A=R&8191,S=R>>>13,x=Z[1]|0,B=x&8191,c=x>>>13,q0=Z[2]|0,h=q0&8191,d=q0>>>13,_0=Z[3]|0,l=_0&8191,n=_0>>>13,y0=Z[4]|0,t=y0&8191,s=y0>>>13,w0=Z[5]|0,m=w0&8191,r=w0>>>13,$$=Z[6]|0,i=$$&8191,e=$$>>>13,x0=Z[7]|0,o=x0&8191,a=x0>>>13,p0=Z[8]|0,$0=p0&8191,Q0=p0>>>13,Y$=Z[9]|0,Z0=Y$&8191,G0=Y$>>>13,Z$=V[0]|0,V0=Z$&8191,U0=Z$>>>13,G$=V[1]|0,X0=G$&8191,K0=G$>>>13,V$=V[2]|0,I0=V$&8191,O0=V$>>>13,U$=V[3]|0,J0=U$&8191,F0=U$>>>13,X$=V[4]|0,A0=X$&8191,H0=X$>>>13,K$=V[5]|0,W0=K$&8191,E0=K$>>>13,I$=V[6]|0,T0=I$&8191,D0=I$>>>13,O$=V[7]|0,C0=O$&8191,L0=O$>>>13,J$=V[8]|0,R0=J$&8191,P0=J$>>>13,F$=V[9]|0,z0=F$&8191,M0=F$>>>13;G.negative=$.negative^Y.negative,G.length=19,U=Math.imul(A,V0),Q=Math.imul(A,U0),Q=Q+Math.imul(S,V0)|0,K=Math.imul(S,U0);var Q$=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(Q$>>>26)|0,Q$&=67108863,U=Math.imul(B,V0),Q=Math.imul(B,U0),Q=Q+Math.imul(c,V0)|0,K=Math.imul(c,U0),U=U+Math.imul(A,X0)|0,Q=Q+Math.imul(A,K0)|0,Q=Q+Math.imul(S,X0)|0,K=K+Math.imul(S,K0)|0;var j0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(j0>>>26)|0,j0&=67108863,U=Math.imul(h,V0),Q=Math.imul(h,U0),Q=Q+Math.imul(d,V0)|0,K=Math.imul(d,U0),U=U+Math.imul(B,X0)|0,Q=Q+Math.imul(B,K0)|0,Q=Q+Math.imul(c,X0)|0,K=K+Math.imul(c,K0)|0,U=U+Math.imul(A,I0)|0,Q=Q+Math.imul(A,O0)|0,Q=Q+Math.imul(S,I0)|0,K=K+Math.imul(S,O0)|0;var k0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(k0>>>26)|0,k0&=67108863,U=Math.imul(l,V0),Q=Math.imul(l,U0),Q=Q+Math.imul(n,V0)|0,K=Math.imul(n,U0),U=U+Math.imul(h,X0)|0,Q=Q+Math.imul(h,K0)|0,Q=Q+Math.imul(d,X0)|0,K=K+Math.imul(d,K0)|0,U=U+Math.imul(B,I0)|0,Q=Q+Math.imul(B,O0)|0,Q=Q+Math.imul(c,I0)|0,K=K+Math.imul(c,O0)|0,U=U+Math.imul(A,J0)|0,Q=Q+Math.imul(A,F0)|0,Q=Q+Math.imul(S,J0)|0,K=K+Math.imul(S,F0)|0;var f0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(f0>>>26)|0,f0&=67108863,U=Math.imul(t,V0),Q=Math.imul(t,U0),Q=Q+Math.imul(s,V0)|0,K=Math.imul(s,U0),U=U+Math.imul(l,X0)|0,Q=Q+Math.imul(l,K0)|0,Q=Q+Math.imul(n,X0)|0,K=K+Math.imul(n,K0)|0,U=U+Math.imul(h,I0)|0,Q=Q+Math.imul(h,O0)|0,Q=Q+Math.imul(d,I0)|0,K=K+Math.imul(d,O0)|0,U=U+Math.imul(B,J0)|0,Q=Q+Math.imul(B,F0)|0,Q=Q+Math.imul(c,J0)|0,K=K+Math.imul(c,F0)|0,U=U+Math.imul(A,A0)|0,Q=Q+Math.imul(A,H0)|0,Q=Q+Math.imul(S,A0)|0,K=K+Math.imul(S,H0)|0;var c0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(c0>>>26)|0,c0&=67108863,U=Math.imul(m,V0),Q=Math.imul(m,U0),Q=Q+Math.imul(r,V0)|0,K=Math.imul(r,U0),U=U+Math.imul(t,X0)|0,Q=Q+Math.imul(t,K0)|0,Q=Q+Math.imul(s,X0)|0,K=K+Math.imul(s,K0)|0,U=U+Math.imul(l,I0)|0,Q=Q+Math.imul(l,O0)|0,Q=Q+Math.imul(n,I0)|0,K=K+Math.imul(n,O0)|0,U=U+Math.imul(h,J0)|0,Q=Q+Math.imul(h,F0)|0,Q=Q+Math.imul(d,J0)|0,K=K+Math.imul(d,F0)|0,U=U+Math.imul(B,A0)|0,Q=Q+Math.imul(B,H0)|0,Q=Q+Math.imul(c,A0)|0,K=K+Math.imul(c,H0)|0,U=U+Math.imul(A,W0)|0,Q=Q+Math.imul(A,E0)|0,Q=Q+Math.imul(S,W0)|0,K=K+Math.imul(S,E0)|0;var h0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(h0>>>26)|0,h0&=67108863,U=Math.imul(i,V0),Q=Math.imul(i,U0),Q=Q+Math.imul(e,V0)|0,K=Math.imul(e,U0),U=U+Math.imul(m,X0)|0,Q=Q+Math.imul(m,K0)|0,Q=Q+Math.imul(r,X0)|0,K=K+Math.imul(r,K0)|0,U=U+Math.imul(t,I0)|0,Q=Q+Math.imul(t,O0)|0,Q=Q+Math.imul(s,I0)|0,K=K+Math.imul(s,O0)|0,U=U+Math.imul(l,J0)|0,Q=Q+Math.imul(l,F0)|0,Q=Q+Math.imul(n,J0)|0,K=K+Math.imul(n,F0)|0,U=U+Math.imul(h,A0)|0,Q=Q+Math.imul(h,H0)|0,Q=Q+Math.imul(d,A0)|0,K=K+Math.imul(d,H0)|0,U=U+Math.imul(B,W0)|0,Q=Q+Math.imul(B,E0)|0,Q=Q+Math.imul(c,W0)|0,K=K+Math.imul(c,E0)|0,U=U+Math.imul(A,T0)|0,Q=Q+Math.imul(A,D0)|0,Q=Q+Math.imul(S,T0)|0,K=K+Math.imul(S,D0)|0;var d0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(d0>>>26)|0,d0&=67108863,U=Math.imul(o,V0),Q=Math.imul(o,U0),Q=Q+Math.imul(a,V0)|0,K=Math.imul(a,U0),U=U+Math.imul(i,X0)|0,Q=Q+Math.imul(i,K0)|0,Q=Q+Math.imul(e,X0)|0,K=K+Math.imul(e,K0)|0,U=U+Math.imul(m,I0)|0,Q=Q+Math.imul(m,O0)|0,Q=Q+Math.imul(r,I0)|0,K=K+Math.imul(r,O0)|0,U=U+Math.imul(t,J0)|0,Q=Q+Math.imul(t,F0)|0,Q=Q+Math.imul(s,J0)|0,K=K+Math.imul(s,F0)|0,U=U+Math.imul(l,A0)|0,Q=Q+Math.imul(l,H0)|0,Q=Q+Math.imul(n,A0)|0,K=K+Math.imul(n,H0)|0,U=U+Math.imul(h,W0)|0,Q=Q+Math.imul(h,E0)|0,Q=Q+Math.imul(d,W0)|0,K=K+Math.imul(d,E0)|0,U=U+Math.imul(B,T0)|0,Q=Q+Math.imul(B,D0)|0,Q=Q+Math.imul(c,T0)|0,K=K+Math.imul(c,D0)|0,U=U+Math.imul(A,C0)|0,Q=Q+Math.imul(A,L0)|0,Q=Q+Math.imul(S,C0)|0,K=K+Math.imul(S,L0)|0;var b0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(b0>>>26)|0,b0&=67108863,U=Math.imul($0,V0),Q=Math.imul($0,U0),Q=Q+Math.imul(Q0,V0)|0,K=Math.imul(Q0,U0),U=U+Math.imul(o,X0)|0,Q=Q+Math.imul(o,K0)|0,Q=Q+Math.imul(a,X0)|0,K=K+Math.imul(a,K0)|0,U=U+Math.imul(i,I0)|0,Q=Q+Math.imul(i,O0)|0,Q=Q+Math.imul(e,I0)|0,K=K+Math.imul(e,O0)|0,U=U+Math.imul(m,J0)|0,Q=Q+Math.imul(m,F0)|0,Q=Q+Math.imul(r,J0)|0,K=K+Math.imul(r,F0)|0,U=U+Math.imul(t,A0)|0,Q=Q+Math.imul(t,H0)|0,Q=Q+Math.imul(s,A0)|0,K=K+Math.imul(s,H0)|0,U=U+Math.imul(l,W0)|0,Q=Q+Math.imul(l,E0)|0,Q=Q+Math.imul(n,W0)|0,K=K+Math.imul(n,E0)|0,U=U+Math.imul(h,T0)|0,Q=Q+Math.imul(h,D0)|0,Q=Q+Math.imul(d,T0)|0,K=K+Math.imul(d,D0)|0,U=U+Math.imul(B,C0)|0,Q=Q+Math.imul(B,L0)|0,Q=Q+Math.imul(c,C0)|0,K=K+Math.imul(c,L0)|0,U=U+Math.imul(A,R0)|0,Q=Q+Math.imul(A,P0)|0,Q=Q+Math.imul(S,R0)|0,K=K+Math.imul(S,P0)|0;var l0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(l0>>>26)|0,l0&=67108863,U=Math.imul(Z0,V0),Q=Math.imul(Z0,U0),Q=Q+Math.imul(G0,V0)|0,K=Math.imul(G0,U0),U=U+Math.imul($0,X0)|0,Q=Q+Math.imul($0,K0)|0,Q=Q+Math.imul(Q0,X0)|0,K=K+Math.imul(Q0,K0)|0,U=U+Math.imul(o,I0)|0,Q=Q+Math.imul(o,O0)|0,Q=Q+Math.imul(a,I0)|0,K=K+Math.imul(a,O0)|0,U=U+Math.imul(i,J0)|0,Q=Q+Math.imul(i,F0)|0,Q=Q+Math.imul(e,J0)|0,K=K+Math.imul(e,F0)|0,U=U+Math.imul(m,A0)|0,Q=Q+Math.imul(m,H0)|0,Q=Q+Math.imul(r,A0)|0,K=K+Math.imul(r,H0)|0,U=U+Math.imul(t,W0)|0,Q=Q+Math.imul(t,E0)|0,Q=Q+Math.imul(s,W0)|0,K=K+Math.imul(s,E0)|0,U=U+Math.imul(l,T0)|0,Q=Q+Math.imul(l,D0)|0,Q=Q+Math.imul(n,T0)|0,K=K+Math.imul(n,D0)|0,U=U+Math.imul(h,C0)|0,Q=Q+Math.imul(h,L0)|0,Q=Q+Math.imul(d,C0)|0,K=K+Math.imul(d,L0)|0,U=U+Math.imul(B,R0)|0,Q=Q+Math.imul(B,P0)|0,Q=Q+Math.imul(c,R0)|0,K=K+Math.imul(c,P0)|0,U=U+Math.imul(A,z0)|0,Q=Q+Math.imul(A,M0)|0,Q=Q+Math.imul(S,z0)|0,K=K+Math.imul(S,M0)|0;var o0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(o0>>>26)|0,o0&=67108863,U=Math.imul(Z0,X0),Q=Math.imul(Z0,K0),Q=Q+Math.imul(G0,X0)|0,K=Math.imul(G0,K0),U=U+Math.imul($0,I0)|0,Q=Q+Math.imul($0,O0)|0,Q=Q+Math.imul(Q0,I0)|0,K=K+Math.imul(Q0,O0)|0,U=U+Math.imul(o,J0)|0,Q=Q+Math.imul(o,F0)|0,Q=Q+Math.imul(a,J0)|0,K=K+Math.imul(a,F0)|0,U=U+Math.imul(i,A0)|0,Q=Q+Math.imul(i,H0)|0,Q=Q+Math.imul(e,A0)|0,K=K+Math.imul(e,H0)|0,U=U+Math.imul(m,W0)|0,Q=Q+Math.imul(m,E0)|0,Q=Q+Math.imul(r,W0)|0,K=K+Math.imul(r,E0)|0,U=U+Math.imul(t,T0)|0,Q=Q+Math.imul(t,D0)|0,Q=Q+Math.imul(s,T0)|0,K=K+Math.imul(s,D0)|0,U=U+Math.imul(l,C0)|0,Q=Q+Math.imul(l,L0)|0,Q=Q+Math.imul(n,C0)|0,K=K+Math.imul(n,L0)|0,U=U+Math.imul(h,R0)|0,Q=Q+Math.imul(h,P0)|0,Q=Q+Math.imul(d,R0)|0,K=K+Math.imul(d,P0)|0,U=U+Math.imul(B,z0)|0,Q=Q+Math.imul(B,M0)|0,Q=Q+Math.imul(c,z0)|0,K=K+Math.imul(c,M0)|0;var u0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(u0>>>26)|0,u0&=67108863,U=Math.imul(Z0,I0),Q=Math.imul(Z0,O0),Q=Q+Math.imul(G0,I0)|0,K=Math.imul(G0,O0),U=U+Math.imul($0,J0)|0,Q=Q+Math.imul($0,F0)|0,Q=Q+Math.imul(Q0,J0)|0,K=K+Math.imul(Q0,F0)|0,U=U+Math.imul(o,A0)|0,Q=Q+Math.imul(o,H0)|0,Q=Q+Math.imul(a,A0)|0,K=K+Math.imul(a,H0)|0,U=U+Math.imul(i,W0)|0,Q=Q+Math.imul(i,E0)|0,Q=Q+Math.imul(e,W0)|0,K=K+Math.imul(e,E0)|0,U=U+Math.imul(m,T0)|0,Q=Q+Math.imul(m,D0)|0,Q=Q+Math.imul(r,T0)|0,K=K+Math.imul(r,D0)|0,U=U+Math.imul(t,C0)|0,Q=Q+Math.imul(t,L0)|0,Q=Q+Math.imul(s,C0)|0,K=K+Math.imul(s,L0)|0,U=U+Math.imul(l,R0)|0,Q=Q+Math.imul(l,P0)|0,Q=Q+Math.imul(n,R0)|0,K=K+Math.imul(n,P0)|0,U=U+Math.imul(h,z0)|0,Q=Q+Math.imul(h,M0)|0,Q=Q+Math.imul(d,z0)|0,K=K+Math.imul(d,M0)|0;var n0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(n0>>>26)|0,n0&=67108863,U=Math.imul(Z0,J0),Q=Math.imul(Z0,F0),Q=Q+Math.imul(G0,J0)|0,K=Math.imul(G0,F0),U=U+Math.imul($0,A0)|0,Q=Q+Math.imul($0,H0)|0,Q=Q+Math.imul(Q0,A0)|0,K=K+Math.imul(Q0,H0)|0,U=U+Math.imul(o,W0)|0,Q=Q+Math.imul(o,E0)|0,Q=Q+Math.imul(a,W0)|0,K=K+Math.imul(a,E0)|0,U=U+Math.imul(i,T0)|0,Q=Q+Math.imul(i,D0)|0,Q=Q+Math.imul(e,T0)|0,K=K+Math.imul(e,D0)|0,U=U+Math.imul(m,C0)|0,Q=Q+Math.imul(m,L0)|0,Q=Q+Math.imul(r,C0)|0,K=K+Math.imul(r,L0)|0,U=U+Math.imul(t,R0)|0,Q=Q+Math.imul(t,P0)|0,Q=Q+Math.imul(s,R0)|0,K=K+Math.imul(s,P0)|0,U=U+Math.imul(l,z0)|0,Q=Q+Math.imul(l,M0)|0,Q=Q+Math.imul(n,z0)|0,K=K+Math.imul(n,M0)|0;var s0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(s0>>>26)|0,s0&=67108863,U=Math.imul(Z0,A0),Q=Math.imul(Z0,H0),Q=Q+Math.imul(G0,A0)|0,K=Math.imul(G0,H0),U=U+Math.imul($0,W0)|0,Q=Q+Math.imul($0,E0)|0,Q=Q+Math.imul(Q0,W0)|0,K=K+Math.imul(Q0,E0)|0,U=U+Math.imul(o,T0)|0,Q=Q+Math.imul(o,D0)|0,Q=Q+Math.imul(a,T0)|0,K=K+Math.imul(a,D0)|0,U=U+Math.imul(i,C0)|0,Q=Q+Math.imul(i,L0)|0,Q=Q+Math.imul(e,C0)|0,K=K+Math.imul(e,L0)|0,U=U+Math.imul(m,R0)|0,Q=Q+Math.imul(m,P0)|0,Q=Q+Math.imul(r,R0)|0,K=K+Math.imul(r,P0)|0,U=U+Math.imul(t,z0)|0,Q=Q+Math.imul(t,M0)|0,Q=Q+Math.imul(s,z0)|0,K=K+Math.imul(s,M0)|0;var t0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(t0>>>26)|0,t0&=67108863,U=Math.imul(Z0,W0),Q=Math.imul(Z0,E0),Q=Q+Math.imul(G0,W0)|0,K=Math.imul(G0,E0),U=U+Math.imul($0,T0)|0,Q=Q+Math.imul($0,D0)|0,Q=Q+Math.imul(Q0,T0)|0,K=K+Math.imul(Q0,D0)|0,U=U+Math.imul(o,C0)|0,Q=Q+Math.imul(o,L0)|0,Q=Q+Math.imul(a,C0)|0,K=K+Math.imul(a,L0)|0,U=U+Math.imul(i,R0)|0,Q=Q+Math.imul(i,P0)|0,Q=Q+Math.imul(e,R0)|0,K=K+Math.imul(e,P0)|0,U=U+Math.imul(m,z0)|0,Q=Q+Math.imul(m,M0)|0,Q=Q+Math.imul(r,z0)|0,K=K+Math.imul(r,M0)|0;var m0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(m0>>>26)|0,m0&=67108863,U=Math.imul(Z0,T0),Q=Math.imul(Z0,D0),Q=Q+Math.imul(G0,T0)|0,K=Math.imul(G0,D0),U=U+Math.imul($0,C0)|0,Q=Q+Math.imul($0,L0)|0,Q=Q+Math.imul(Q0,C0)|0,K=K+Math.imul(Q0,L0)|0,U=U+Math.imul(o,R0)|0,Q=Q+Math.imul(o,P0)|0,Q=Q+Math.imul(a,R0)|0,K=K+Math.imul(a,P0)|0,U=U+Math.imul(i,z0)|0,Q=Q+Math.imul(i,M0)|0,Q=Q+Math.imul(e,z0)|0,K=K+Math.imul(e,M0)|0;var a0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(a0>>>26)|0,a0&=67108863,U=Math.imul(Z0,C0),Q=Math.imul(Z0,L0),Q=Q+Math.imul(G0,C0)|0,K=Math.imul(G0,L0),U=U+Math.imul($0,R0)|0,Q=Q+Math.imul($0,P0)|0,Q=Q+Math.imul(Q0,R0)|0,K=K+Math.imul(Q0,P0)|0,U=U+Math.imul(o,z0)|0,Q=Q+Math.imul(o,M0)|0,Q=Q+Math.imul(a,z0)|0,K=K+Math.imul(a,M0)|0;var e0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(e0>>>26)|0,e0&=67108863,U=Math.imul(Z0,R0),Q=Math.imul(Z0,P0),Q=Q+Math.imul(G0,R0)|0,K=Math.imul(G0,P0),U=U+Math.imul($0,z0)|0,Q=Q+Math.imul($0,M0)|0,Q=Q+Math.imul(Q0,z0)|0,K=K+Math.imul(Q0,M0)|0;var r0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(r0>>>26)|0,r0&=67108863,U=Math.imul(Z0,z0),Q=Math.imul(Z0,M0),Q=Q+Math.imul(G0,z0)|0,K=Math.imul(G0,M0);var i0=(O+U|0)+((Q&8191)<<13)|0;return O=(K+(Q>>>13)|0)+(i0>>>26)|0,i0&=67108863,I[0]=Q$,I[1]=j0,I[2]=k0,I[3]=f0,I[4]=c0,I[5]=h0,I[6]=d0,I[7]=b0,I[8]=l0,I[9]=o0,I[10]=u0,I[11]=n0,I[12]=s0,I[13]=t0,I[14]=m0,I[15]=a0,I[16]=e0,I[17]=r0,I[18]=i0,O!==0&&(I[19]=O,G.length++),G};Math.imul||(M=L);function v($,Y,G){G.negative=Y.negative^$.negative,G.length=$.length+Y.length;for(var Z=0,V=0,I=0;I<G.length-1;I++){var O=V;V=0;for(var U=Z&67108863,Q=Math.min(I,Y.length-1),K=Math.max(0,I-$.length+1);K<=Q;K++){var R=I-K,A=$.words[R]|0,S=Y.words[K]|0,x=A*S,B=x&67108863;O=O+(x/67108864|0)|0,B=B+U|0,U=B&67108863,O=O+(B>>>26)|0,V+=O>>>26,O&=67108863}G.words[I]=U,Z=O,O=V}return Z!==0?G.words[I]=Z:G.length--,G.strip()}function q($,Y,G){var Z=new g;return Z.mulp($,Y,G)}X.prototype.mulTo=function($,Y){var G,Z=this.length+$.length;return this.length===10&&$.length===10?G=M(this,$,Y):Z<63?G=L(this,$,Y):Z<1024?G=v(this,$,Y):G=q(this,$,Y),G};function g($,Y){this.x=$,this.y=Y}g.prototype.makeRBT=function($){for(var Y=new Array($),G=X.prototype._countBits($)-1,Z=0;Z<$;Z++)Y[Z]=this.revBin(Z,G,$);return Y},g.prototype.revBin=function($,Y,G){if($===0||$===G-1)return $;for(var Z=0,V=0;V<Y;V++)Z|=($&1)<<Y-V-1,$>>=1;return Z},g.prototype.permute=function($,Y,G,Z,V,I){for(var O=0;O<I;O++)Z[O]=Y[$[O]],V[O]=G[$[O]]},g.prototype.transform=function($,Y,G,Z,V,I){this.permute(I,$,Y,G,Z,V);for(var O=1;O<V;O<<=1)for(var U=O<<1,Q=Math.cos(2*Math.PI/U),K=Math.sin(2*Math.PI/U),R=0;R<V;R+=U)for(var A=Q,S=K,x=0;x<O;x++){var B=G[R+x],c=Z[R+x],q0=G[R+x+O],h=Z[R+x+O],d=A*q0-S*h;h=A*h+S*q0,q0=d,G[R+x]=B+q0,Z[R+x]=c+h,G[R+x+O]=B-q0,Z[R+x+O]=c-h,x!==U&&(d=Q*A-K*S,S=Q*S+K*A,A=d)}},g.prototype.guessLen13b=function($,Y){var G=Math.max(Y,$)|1,Z=G&1,V=0;for(G=G/2|0;G;G=G>>>1)V++;return 1<<V+1+Z},g.prototype.conjugate=function($,Y,G){if(!(G<=1))for(var Z=0;Z<G/2;Z++){var V=$[Z];$[Z]=$[G-Z-1],$[G-Z-1]=V,V=Y[Z],Y[Z]=-Y[G-Z-1],Y[G-Z-1]=-V}},g.prototype.normalize13b=function($,Y){for(var G=0,Z=0;Z<Y/2;Z++){var V=Math.round($[2*Z+1]/Y)*8192+Math.round($[2*Z]/Y)+G;$[Z]=V&67108863,V<67108864?G=0:G=V/67108864|0}return $},g.prototype.convert13b=function($,Y,G,Z){for(var V=0,I=0;I<Y;I++)V=V+($[I]|0),G[2*I]=V&8191,V=V>>>13,G[2*I+1]=V&8191,V=V>>>13;for(I=2*Y;I<Z;++I)G[I]=0;F(V===0),F((V&-8192)===0)},g.prototype.stub=function($){for(var Y=new Array($),G=0;G<$;G++)Y[G]=0;return Y},g.prototype.mulp=function($,Y,G){var Z=2*this.guessLen13b($.length,Y.length),V=this.makeRBT(Z),I=this.stub(Z),O=new Array(Z),U=new Array(Z),Q=new Array(Z),K=new Array(Z),R=new Array(Z),A=new Array(Z),S=G.words;S.length=Z,this.convert13b($.words,$.length,O,Z),this.convert13b(Y.words,Y.length,K,Z),this.transform(O,I,U,Q,Z,V),this.transform(K,I,R,A,Z,V);for(var x=0;x<Z;x++){var B=U[x]*R[x]-Q[x]*A[x];Q[x]=U[x]*A[x]+Q[x]*R[x],U[x]=B}return this.conjugate(U,Q,Z),this.transform(U,Q,S,I,Z,V),this.conjugate(S,I,Z),this.normalize13b(S,Z),G.negative=$.negative^Y.negative,G.length=$.length+Y.length,G.strip()},X.prototype.mul=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),this.mulTo($,Y)},X.prototype.mulf=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),q(this,$,Y)},X.prototype.imul=function($){return this.clone().mulTo($,this)},X.prototype.imuln=function($){F(typeof $=="number"),F($<67108864);for(var Y=0,G=0;G<this.length;G++){var Z=(this.words[G]|0)*$,V=(Z&67108863)+(Y&67108863);Y>>=26,Y+=Z/67108864|0,Y+=V>>>26,this.words[G]=V&67108863}return Y!==0&&(this.words[G]=Y,this.length++),this},X.prototype.muln=function($){return this.clone().imuln($)},X.prototype.sqr=function(){return this.mul(this)},X.prototype.isqr=function(){return this.imul(this.clone())},X.prototype.pow=function($){var Y=E($);if(Y.length===0)return new X(1);for(var G=this,Z=0;Z<Y.length&&Y[Z]===0;Z++,G=G.sqr());if(++Z<Y.length)for(var V=G.sqr();Z<Y.length;Z++,V=V.sqr())Y[Z]!==0&&(G=G.mul(V));return G},X.prototype.iushln=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=67108863>>>26-Y<<26-Y,V;if(Y!==0){var I=0;for(V=0;V<this.length;V++){var O=this.words[V]&Z,U=(this.words[V]|0)-O<<Y;this.words[V]=U|I,I=O>>>26-Y}I&&(this.words[V]=I,this.length++)}if(G!==0){for(V=this.length-1;V>=0;V--)this.words[V+G]=this.words[V];for(V=0;V<G;V++)this.words[V]=0;this.length+=G}return this.strip()},X.prototype.ishln=function($){return F(this.negative===0),this.iushln($)},X.prototype.iushrn=function($,Y,G){F(typeof $=="number"&&$>=0);var Z;Y?Z=(Y-Y%26)/26:Z=0;var V=$%26,I=Math.min(($-V)/26,this.length),O=67108863^67108863>>>V<<V,U=G;if(Z-=I,Z=Math.max(0,Z),U){for(var Q=0;Q<I;Q++)U.words[Q]=this.words[Q];U.length=I}if(I!==0)if(this.length>I)for(this.length-=I,Q=0;Q<this.length;Q++)this.words[Q]=this.words[Q+I];else this.words[0]=0,this.length=1;var K=0;for(Q=this.length-1;Q>=0&&(K!==0||Q>=Z);Q--){var R=this.words[Q]|0;this.words[Q]=K<<26-V|R>>>V,K=R&O}return U&&K!==0&&(U.words[U.length++]=K),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},X.prototype.ishrn=function($,Y,G){return F(this.negative===0),this.iushrn($,Y,G)},X.prototype.shln=function($){return this.clone().ishln($)},X.prototype.ushln=function($){return this.clone().iushln($)},X.prototype.shrn=function($){return this.clone().ishrn($)},X.prototype.ushrn=function($){return this.clone().iushrn($)},X.prototype.testn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return!1;var V=this.words[G];return!!(V&Z)},X.prototype.imaskn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26;if(F(this.negative===0,"imaskn works only with positive numbers"),this.length<=G)return this;if(Y!==0&&G++,this.length=Math.min(G,this.length),Y!==0){var Z=67108863^67108863>>>Y<<Y;this.words[this.length-1]&=Z}return this.strip()},X.prototype.maskn=function($){return this.clone().imaskn($)},X.prototype.iaddn=function($){return F(typeof $=="number"),F($<67108864),$<0?this.isubn(-$):this.negative!==0?this.length===1&&(this.words[0]|0)<$?(this.words[0]=$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn($),this.negative=1,this):this._iaddn($)},X.prototype._iaddn=function($){this.words[0]+=$;for(var Y=0;Y<this.length&&this.words[Y]>=67108864;Y++)this.words[Y]-=67108864,Y===this.length-1?this.words[Y+1]=1:this.words[Y+1]++;return this.length=Math.max(this.length,Y+1),this},X.prototype.isubn=function($){if(F(typeof $=="number"),F($<67108864),$<0)return this.iaddn(-$);if(this.negative!==0)return this.negative=0,this.iaddn($),this.negative=1,this;if(this.words[0]-=$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var Y=0;Y<this.length&&this.words[Y]<0;Y++)this.words[Y]+=67108864,this.words[Y+1]-=1;return this.strip()},X.prototype.addn=function($){return this.clone().iaddn($)},X.prototype.subn=function($){return this.clone().isubn($)},X.prototype.iabs=function(){return this.negative=0,this},X.prototype.abs=function(){return this.clone().iabs()},X.prototype._ishlnsubmul=function($,Y,G){var Z=$.length+G,V;this._expand(Z);var I,O=0;for(V=0;V<$.length;V++){I=(this.words[V+G]|0)+O;var U=($.words[V]|0)*Y;I-=U&67108863,O=(I>>26)-(U/67108864|0),this.words[V+G]=I&67108863}for(;V<this.length-G;V++)I=(this.words[V+G]|0)+O,O=I>>26,this.words[V+G]=I&67108863;if(O===0)return this.strip();for(F(O===-1),O=0,V=0;V<this.length;V++)I=-(this.words[V]|0)+O,O=I>>26,this.words[V]=I&67108863;return this.negative=1,this.strip()},X.prototype._wordDiv=function($,Y){var G=this.length-$.length,Z=this.clone(),V=$,I=V.words[V.length-1]|0,O=this._countBits(I);G=26-O,G!==0&&(V=V.ushln(G),Z.iushln(G),I=V.words[V.length-1]|0);var U=Z.length-V.length,Q;if(Y!=="mod"){Q=new X(null),Q.length=U+1,Q.words=new Array(Q.length);for(var K=0;K<Q.length;K++)Q.words[K]=0}var R=Z.clone()._ishlnsubmul(V,1,U);R.negative===0&&(Z=R,Q&&(Q.words[U]=1));for(var A=U-1;A>=0;A--){var S=(Z.words[V.length+A]|0)*67108864+(Z.words[V.length+A-1]|0);for(S=Math.min(S/I|0,67108863),Z._ishlnsubmul(V,S,A);Z.negative!==0;)S--,Z.negative=0,Z._ishlnsubmul(V,1,A),Z.isZero()||(Z.negative^=1);Q&&(Q.words[A]=S)}return Q&&Q.strip(),Z.strip(),Y!=="div"&&G!==0&&Z.iushrn(G),{div:Q||null,mod:Z}},X.prototype.divmod=function($,Y,G){if(F(!$.isZero()),this.isZero())return{div:new X(0),mod:new X(0)};var Z,V,I;return this.negative!==0&&$.negative===0?(I=this.neg().divmod($,Y),Y!=="mod"&&(Z=I.div.neg()),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.iadd($)),{div:Z,mod:V}):this.negative===0&&$.negative!==0?(I=this.divmod($.neg(),Y),Y!=="mod"&&(Z=I.div.neg()),{div:Z,mod:I.mod}):(this.negative&$.negative)!==0?(I=this.neg().divmod($.neg(),Y),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.isub($)),{div:I.div,mod:V}):$.length>this.length||this.cmp($)<0?{div:new X(0),mod:this}:$.length===1?Y==="div"?{div:this.divn($.words[0]),mod:null}:Y==="mod"?{div:null,mod:new X(this.modn($.words[0]))}:{div:this.divn($.words[0]),mod:new X(this.modn($.words[0]))}:this._wordDiv($,Y)},X.prototype.div=function($){return this.divmod($,"div",!1).div},X.prototype.mod=function($){return this.divmod($,"mod",!1).mod},X.prototype.umod=function($){return this.divmod($,"mod",!0).mod},X.prototype.divRound=function($){var Y=this.divmod($);if(Y.mod.isZero())return Y.div;var G=Y.div.negative!==0?Y.mod.isub($):Y.mod,Z=$.ushrn(1),V=$.andln(1),I=G.cmp(Z);return I<0||V===1&&I===0?Y.div:Y.div.negative!==0?Y.div.isubn(1):Y.div.iaddn(1)},X.prototype.modn=function($){F($<=67108863);for(var Y=(1<<26)%$,G=0,Z=this.length-1;Z>=0;Z--)G=(Y*G+(this.words[Z]|0))%$;return G},X.prototype.idivn=function($){F($<=67108863);for(var Y=0,G=this.length-1;G>=0;G--){var Z=(this.words[G]|0)+Y*67108864;this.words[G]=Z/$|0,Y=Z%$}return this.strip()},X.prototype.divn=function($){return this.clone().idivn($)},X.prototype.egcd=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=new X(0),O=new X(1),U=0;Y.isEven()&&G.isEven();)Y.iushrn(1),G.iushrn(1),++U;for(var Q=G.clone(),K=Y.clone();!Y.isZero();){for(var R=0,A=1;(Y.words[0]&A)===0&&R<26;++R,A<<=1);if(R>0)for(Y.iushrn(R);R-- >0;)(Z.isOdd()||V.isOdd())&&(Z.iadd(Q),V.isub(K)),Z.iushrn(1),V.iushrn(1);for(var S=0,x=1;(G.words[0]&x)===0&&S<26;++S,x<<=1);if(S>0)for(G.iushrn(S);S-- >0;)(I.isOdd()||O.isOdd())&&(I.iadd(Q),O.isub(K)),I.iushrn(1),O.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(I),V.isub(O)):(G.isub(Y),I.isub(Z),O.isub(V))}return{a:I,b:O,gcd:G.iushln(U)}},X.prototype._invmp=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=G.clone();Y.cmpn(1)>0&&G.cmpn(1)>0;){for(var O=0,U=1;(Y.words[0]&U)===0&&O<26;++O,U<<=1);if(O>0)for(Y.iushrn(O);O-- >0;)Z.isOdd()&&Z.iadd(I),Z.iushrn(1);for(var Q=0,K=1;(G.words[0]&K)===0&&Q<26;++Q,K<<=1);if(Q>0)for(G.iushrn(Q);Q-- >0;)V.isOdd()&&V.iadd(I),V.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(V)):(G.isub(Y),V.isub(Z))}var R;return Y.cmpn(1)===0?R=Z:R=V,R.cmpn(0)<0&&R.iadd($),R},X.prototype.gcd=function($){if(this.isZero())return $.abs();if($.isZero())return this.abs();var Y=this.clone(),G=$.clone();Y.negative=0,G.negative=0;for(var Z=0;Y.isEven()&&G.isEven();Z++)Y.iushrn(1),G.iushrn(1);do{for(;Y.isEven();)Y.iushrn(1);for(;G.isEven();)G.iushrn(1);var V=Y.cmp(G);if(V<0){var I=Y;Y=G,G=I}else if(V===0||G.cmpn(1)===0)break;Y.isub(G)}while(!0);return G.iushln(Z)},X.prototype.invm=function($){return this.egcd($).a.umod($)},X.prototype.isEven=function(){return(this.words[0]&1)===0},X.prototype.isOdd=function(){return(this.words[0]&1)===1},X.prototype.andln=function($){return this.words[0]&$},X.prototype.bincn=function($){F(typeof $=="number");var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return this._expand(G+1),this.words[G]|=Z,this;for(var V=Z,I=G;V!==0&&I<this.length;I++){var O=this.words[I]|0;O+=V,V=O>>>26,O&=67108863,this.words[I]=O}return V!==0&&(this.words[I]=V,this.length++),this},X.prototype.isZero=function(){return this.length===1&&this.words[0]===0},X.prototype.cmpn=function($){var Y=$<0;if(this.negative!==0&&!Y)return-1;if(this.negative===0&&Y)return 1;this.strip();var G;if(this.length>1)G=1;else{Y&&($=-$),F($<=67108863,"Number is too big");var Z=this.words[0]|0;G=Z===$?0:Z<$?-1:1}return this.negative!==0?-G|0:G},X.prototype.cmp=function($){if(this.negative!==0&&$.negative===0)return-1;if(this.negative===0&&$.negative!==0)return 1;var Y=this.ucmp($);return this.negative!==0?-Y|0:Y},X.prototype.ucmp=function($){if(this.length>$.length)return 1;if(this.length<$.length)return-1;for(var Y=0,G=this.length-1;G>=0;G--){var Z=this.words[G]|0,V=$.words[G]|0;if(Z!==V){Z<V?Y=-1:Z>V&&(Y=1);break}}return Y},X.prototype.gtn=function($){return this.cmpn($)===1},X.prototype.gt=function($){return this.cmp($)===1},X.prototype.gten=function($){return this.cmpn($)>=0},X.prototype.gte=function($){return this.cmp($)>=0},X.prototype.ltn=function($){return this.cmpn($)===-1},X.prototype.lt=function($){return this.cmp($)===-1},X.prototype.lten=function($){return this.cmpn($)<=0},X.prototype.lte=function($){return this.cmp($)<=0},X.prototype.eqn=function($){return this.cmpn($)===0},X.prototype.eq=function($){return this.cmp($)===0},X.red=function($){return new p($)},X.prototype.toRed=function($){return F(!this.red,"Already a number in reduction context"),F(this.negative===0,"red works only with positives"),$.convertTo(this)._forceRed($)},X.prototype.fromRed=function(){return F(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},X.prototype._forceRed=function($){return this.red=$,this},X.prototype.forceRed=function($){return F(!this.red,"Already a number in reduction context"),this._forceRed($)},X.prototype.redAdd=function($){return F(this.red,"redAdd works only with red numbers"),this.red.add(this,$)},X.prototype.redIAdd=function($){return F(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,$)},X.prototype.redSub=function($){return F(this.red,"redSub works only with red numbers"),this.red.sub(this,$)},X.prototype.redISub=function($){return F(this.red,"redISub works only with red numbers"),this.red.isub(this,$)},X.prototype.redShl=function($){return F(this.red,"redShl works only with red numbers"),this.red.shl(this,$)},X.prototype.redMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.mul(this,$)},X.prototype.redIMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.imul(this,$)},X.prototype.redSqr=function(){return F(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},X.prototype.redISqr=function(){return F(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},X.prototype.redSqrt=function(){return F(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},X.prototype.redInvm=function(){return F(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},X.prototype.redNeg=function(){return F(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},X.prototype.redPow=function($){return F(this.red&&!$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,$)};var y={k256:null,p224:null,p192:null,p25519:null};function w($,Y){this.name=$,this.p=new X(Y,16),this.n=this.p.bitLength(),this.k=new X(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}w.prototype._tmp=function(){var $=new X(null);return $.words=new Array(Math.ceil(this.n/13)),$},w.prototype.ireduce=function($){var Y=$,G;do this.split(Y,this.tmp),Y=this.imulK(Y),Y=Y.iadd(this.tmp),G=Y.bitLength();while(G>this.n);var Z=G<this.n?-1:Y.ucmp(this.p);return Z===0?(Y.words[0]=0,Y.length=1):Z>0?Y.isub(this.p):Y.strip!==void 0?Y.strip():Y._strip(),Y},w.prototype.split=function($,Y){$.iushrn(this.n,0,Y)},w.prototype.imulK=function($){return $.imul(this.k)};function f(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(f,w),f.prototype.split=function($,Y){for(var G=4194303,Z=Math.min($.length,9),V=0;V<Z;V++)Y.words[V]=$.words[V];if(Y.length=Z,$.length<=9){$.words[0]=0,$.length=1;return}var I=$.words[9];for(Y.words[Y.length++]=I&G,V=10;V<$.length;V++){var O=$.words[V]|0;$.words[V-10]=(O&G)<<4|I>>>22,I=O}I>>>=22,$.words[V-10]=I,I===0&&$.length>10?$.length-=10:$.length-=9},f.prototype.imulK=function($){$.words[$.length]=0,$.words[$.length+1]=0,$.length+=2;for(var Y=0,G=0;G<$.length;G++){var Z=$.words[G]|0;Y+=Z*977,$.words[G]=Y&67108863,Y=Z*64+(Y/67108864|0)}return $.words[$.length-1]===0&&($.length--,$.words[$.length-1]===0&&$.length--),$};function b(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(b,w);function u(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(u,w);function Y0(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(Y0,w),Y0.prototype.imulK=function($){for(var Y=0,G=0;G<$.length;G++){var Z=($.words[G]|0)*19+Y,V=Z&67108863;Z>>>=26,$.words[G]=V,Y=Z}return Y!==0&&($.words[$.length++]=Y),$},X._prime=function($){if(y[$])return y[$];var Y;if($==="k256")Y=new f;else if($==="p224")Y=new b;else if($==="p192")Y=new u;else if($==="p25519")Y=new Y0;else throw new Error("Unknown prime "+$);return y[$]=Y,Y};function p($){if(typeof $=="string"){var Y=X._prime($);this.m=Y.p,this.prime=Y}else F($.gtn(1),"modulus must be greater than 1"),this.m=$,this.prime=null}p.prototype._verify1=function($){F($.negative===0,"red works only with positives"),F($.red,"red works only with red numbers")},p.prototype._verify2=function($,Y){F(($.negative|Y.negative)===0,"red works only with positives"),F($.red&&$.red===Y.red,"red works only with red numbers")},p.prototype.imod=function($){return this.prime?this.prime.ireduce($)._forceRed(this):$.umod(this.m)._forceRed(this)},p.prototype.neg=function($){return $.isZero()?$.clone():this.m.sub($)._forceRed(this)},p.prototype.add=function($,Y){this._verify2($,Y);var G=$.add(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G._forceRed(this)},p.prototype.iadd=function($,Y){this._verify2($,Y);var G=$.iadd(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G},p.prototype.sub=function($,Y){this._verify2($,Y);var G=$.sub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G._forceRed(this)},p.prototype.isub=function($,Y){this._verify2($,Y);var G=$.isub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G},p.prototype.shl=function($,Y){return this._verify1($),this.imod($.ushln(Y))},p.prototype.imul=function($,Y){return this._verify2($,Y),this.imod($.imul(Y))},p.prototype.mul=function($,Y){return this._verify2($,Y),this.imod($.mul(Y))},p.prototype.isqr=function($){return this.imul($,$.clone())},p.prototype.sqr=function($){return this.mul($,$)},p.prototype.sqrt=function($){if($.isZero())return $.clone();var Y=this.m.andln(3);if(F(Y%2===1),Y===3){var G=this.m.add(new X(1)).iushrn(2);return this.pow($,G)}for(var Z=this.m.subn(1),V=0;!Z.isZero()&&Z.andln(1)===0;)V++,Z.iushrn(1);F(!Z.isZero());var I=new X(1).toRed(this),O=I.redNeg(),U=this.m.subn(1).iushrn(1),Q=this.m.bitLength();for(Q=new X(2*Q*Q).toRed(this);this.pow(Q,U).cmp(O)!==0;)Q.redIAdd(O);for(var K=this.pow(Q,Z),R=this.pow($,Z.addn(1).iushrn(1)),A=this.pow($,Z),S=V;A.cmp(I)!==0;){for(var x=A,B=0;x.cmp(I)!==0;B++)x=x.redSqr();F(B<S);var c=this.pow(K,new X(1).iushln(S-B-1));R=R.redMul(c),K=c.redSqr(),A=A.redMul(K),S=B}return R},p.prototype.invm=function($){var Y=$._invmp(this.m);return Y.negative!==0?(Y.negative=0,this.imod(Y).redNeg()):this.imod(Y)},p.prototype.pow=function($,Y){if(Y.isZero())return new X(1).toRed(this);if(Y.cmpn(1)===0)return $.clone();var G=4,Z=new Array(1<<G);Z[0]=new X(1).toRed(this),Z[1]=$;for(var V=2;V<Z.length;V++)Z[V]=this.mul(Z[V-1],$);var I=Z[0],O=0,U=0,Q=Y.bitLength()%26;for(Q===0&&(Q=26),V=Y.length-1;V>=0;V--){for(var K=Y.words[V],R=Q-1;R>=0;R--){var A=K>>R&1;if(I!==Z[0]&&(I=this.sqr(I)),A===0&&O===0){U=0;continue}O<<=1,O|=A,U++,!(U!==G&&(V!==0||R!==0))&&(I=this.mul(I,Z[O]),U=0,O=0)}Q=26}return I},p.prototype.convertTo=function($){var Y=$.umod(this.m);return Y===$?Y.clone():Y},p.prototype.convertFrom=function($){var Y=$.clone();return Y.red=null,Y},X.mont=function($){return new v0($)};function v0($){p.call(this,$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new X(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(v0,p),v0.prototype.convertTo=function($){return this.imod($.ushln(this.shift))},v0.prototype.convertFrom=function($){var Y=this.imod($.mul(this.rinv));return Y.red=null,Y},v0.prototype.imul=function($,Y){if($.isZero()||Y.isZero())return $.words[0]=0,$.length=1,$;var G=$.imul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.mul=function($,Y){if($.isZero()||Y.isZero())return new X(0)._forceRed(this);var G=$.mul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.invm=function($){var Y=this.imod($._invmp(this.m).mul(this.r2));return Y._forceRed(this)}})(typeof _>"u"||_,N)}}),AY=S0({"node_modules/miller-rabin/node_modules/bn.js/lib/bn.js"(N,_){(function(k,j){function F($,Y){if(!$)throw new Error(Y||"Assertion failed")}function z($,Y){$.super_=Y;var G=function(){};G.prototype=Y.prototype,$.prototype=new G,$.prototype.constructor=$}function X($,Y,G){if(X.isBN($))return $;this.negative=0,this.words=null,this.length=0,this.red=null,$!==null&&((Y==="le"||Y==="be")&&(G=Y,Y=10),this._init($||0,Y||10,G||"be"))}typeof k=="object"?k.exports=X:j.BN=X,X.BN=X,X.wordSize=26;var C=g0;X.isBN=function($){return $ instanceof X?!0:$!==null&&typeof $=="object"&&$.constructor.wordSize===X.wordSize&&Array.isArray($.words)},X.max=function($,Y){return $.cmp(Y)>0?$:Y},X.min=function($,Y){return $.cmp(Y)<0?$:Y},X.prototype._init=function($,Y,G){if(typeof $=="number")return this._initNumber($,Y,G);if(typeof $=="object")return this._initArray($,Y,G);Y==="hex"&&(Y=16),F(Y===(Y|0)&&Y>=2&&Y<=36),$=$.toString().replace(/\s+/g,"");var Z=0;$[0]==="-"&&(Z++,this.negative=1),Z<$.length&&(Y===16?this._parseHex($,Z,G):(this._parseBase($,Y,Z),G==="le"&&this._initArray(this.toArray(),Y,G)))},X.prototype._initNumber=function($,Y,G){$<0&&(this.negative=1,$=-$),$<67108864?(this.words=[$&67108863],this.length=1):$<4503599627370496?(this.words=[$&67108863,$/67108864&67108863],this.length=2):(F($<9007199254740992),this.words=[$&67108863,$/67108864&67108863,1],this.length=3),G==="le"&&this._initArray(this.toArray(),Y,G)},X.prototype._initArray=function($,Y,G){if(F(typeof $.length=="number"),$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil($.length/3),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V,I,O=0;if(G==="be")for(Z=$.length-1,V=0;Z>=0;Z-=3)I=$[Z]|$[Z-1]<<8|$[Z-2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);else if(G==="le")for(Z=0,V=0;Z<$.length;Z+=3)I=$[Z]|$[Z+1]<<8|$[Z+2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);return this.strip()};function P($,Y){var G=$.charCodeAt(Y);return G>=65&&G<=70?G-55:G>=97&&G<=102?G-87:G-48&15}function T($,Y,G){var Z=P($,G);return G-1>=Y&&(Z|=P($,G-1)<<4),Z}X.prototype._parseHex=function($,Y,G){this.length=Math.ceil(($.length-Y)/6),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V=0,I=0,O;if(G==="be")for(Z=$.length-1;Z>=Y;Z-=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8;else{var U=$.length-Y;for(Z=U%2===0?Y+1:Y;Z<$.length;Z+=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8}this.strip()};function W($,Y,G,Z){for(var V=0,I=Math.min($.length,G),O=Y;O<I;O++){var U=$.charCodeAt(O)-48;V*=Z,U>=49?V+=U-49+10:U>=17?V+=U-17+10:V+=U}return V}X.prototype._parseBase=function($,Y,G){this.words=[0],this.length=1;for(var Z=0,V=1;V<=67108863;V*=Y)Z++;Z--,V=V/Y|0;for(var I=$.length-G,O=I%Z,U=Math.min(I,I-O)+G,Q=0,K=G;K<U;K+=Z)Q=W($,K,K+Z,Y),this.imuln(V),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q);if(O!==0){var R=1;for(Q=W($,K,$.length,Y),K=0;K<O;K++)R*=Y;this.imuln(R),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q)}this.strip()},X.prototype.copy=function($){$.words=new Array(this.length);for(var Y=0;Y<this.length;Y++)$.words[Y]=this.words[Y];$.length=this.length,$.negative=this.negative,$.red=this.red},X.prototype.clone=function(){var $=new X(null);return this.copy($),$},X.prototype._expand=function($){for(;this.length<$;)this.words[this.length++]=0;return this},X.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},X.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},X.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var J=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],H=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];X.prototype.toString=function($,Y){$=$||10,Y=Y|0||1;var G;if($===16||$==="hex"){G="";for(var Z=0,V=0,I=0;I<this.length;I++){var O=this.words[I],U=((O<<Z|V)&16777215).toString(16);V=O>>>24-Z&16777215,V!==0||I!==this.length-1?G=J[6-U.length]+U+G:G=U+G,Z+=2,Z>=26&&(Z-=26,I--)}for(V!==0&&(G=V.toString(16)+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}if($===($|0)&&$>=2&&$<=36){var Q=H[$],K=D[$];G="";var R=this.clone();for(R.negative=0;!R.isZero();){var A=R.modn(K).toString($);R=R.idivn(K),R.isZero()?G=A+G:G=J[Q-A.length]+A+G}for(this.isZero()&&(G="0"+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}F(!1,"Base should be between 2 and 36")},X.prototype.toNumber=function(){var $=this.words[0];return this.length===2?$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?$+=4503599627370496+this.words[1]*67108864:this.length>2&&F(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-$:$},X.prototype.toJSON=function(){return this.toString(16)},X.prototype.toBuffer=function($,Y){return F(typeof C<"u"),this.toArrayLike(C,$,Y)},X.prototype.toArray=function($,Y){return this.toArrayLike(Array,$,Y)},X.prototype.toArrayLike=function($,Y,G){var Z=this.byteLength(),V=G||Math.max(1,Z);F(Z<=V,"byte array longer than desired length"),F(V>0,"Requested array length <= 0"),this.strip();var I=Y==="le",O=new $(V),U,Q,K=this.clone();if(I){for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[Q]=U;for(;Q<V;Q++)O[Q]=0}else{for(Q=0;Q<V-Z;Q++)O[Q]=0;for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[V-Q-1]=U}return O},Math.clz32?X.prototype._countBits=function($){return 32-Math.clz32($)}:X.prototype._countBits=function($){var Y=$,G=0;return Y>=4096&&(G+=13,Y>>>=13),Y>=64&&(G+=7,Y>>>=7),Y>=8&&(G+=4,Y>>>=4),Y>=2&&(G+=2,Y>>>=2),G+Y},X.prototype._zeroBits=function($){if($===0)return 26;var Y=$,G=0;return(Y&8191)===0&&(G+=13,Y>>>=13),(Y&127)===0&&(G+=7,Y>>>=7),(Y&15)===0&&(G+=4,Y>>>=4),(Y&3)===0&&(G+=2,Y>>>=2),(Y&1)===0&&G++,G},X.prototype.bitLength=function(){var $=this.words[this.length-1],Y=this._countBits($);return(this.length-1)*26+Y};function E($){for(var Y=new Array($.bitLength()),G=0;G<Y.length;G++){var Z=G/26|0,V=G%26;Y[G]=($.words[Z]&1<<V)>>>V}return Y}X.prototype.zeroBits=function(){if(this.isZero())return 0;for(var $=0,Y=0;Y<this.length;Y++){var G=this._zeroBits(this.words[Y]);if($+=G,G!==26)break}return $},X.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},X.prototype.toTwos=function($){return this.negative!==0?this.abs().inotn($).iaddn(1):this.clone()},X.prototype.fromTwos=function($){return this.testn($-1)?this.notn($).iaddn(1).ineg():this.clone()},X.prototype.isNeg=function(){return this.negative!==0},X.prototype.neg=function(){return this.clone().ineg()},X.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},X.prototype.iuor=function($){for(;this.length<$.length;)this.words[this.length++]=0;for(var Y=0;Y<$.length;Y++)this.words[Y]=this.words[Y]|$.words[Y];return this.strip()},X.prototype.ior=function($){return F((this.negative|$.negative)===0),this.iuor($)},X.prototype.or=function($){return this.length>$.length?this.clone().ior($):$.clone().ior(this)},X.prototype.uor=function($){return this.length>$.length?this.clone().iuor($):$.clone().iuor(this)},X.prototype.iuand=function($){var Y;this.length>$.length?Y=$:Y=this;for(var G=0;G<Y.length;G++)this.words[G]=this.words[G]&$.words[G];return this.length=Y.length,this.strip()},X.prototype.iand=function($){return F((this.negative|$.negative)===0),this.iuand($)},X.prototype.and=function($){return this.length>$.length?this.clone().iand($):$.clone().iand(this)},X.prototype.uand=function($){return this.length>$.length?this.clone().iuand($):$.clone().iuand(this)},X.prototype.iuxor=function($){var Y,G;this.length>$.length?(Y=this,G=$):(Y=$,G=this);for(var Z=0;Z<G.length;Z++)this.words[Z]=Y.words[Z]^G.words[Z];if(this!==Y)for(;Z<Y.length;Z++)this.words[Z]=Y.words[Z];return this.length=Y.length,this.strip()},X.prototype.ixor=function($){return F((this.negative|$.negative)===0),this.iuxor($)},X.prototype.xor=function($){return this.length>$.length?this.clone().ixor($):$.clone().ixor(this)},X.prototype.uxor=function($){return this.length>$.length?this.clone().iuxor($):$.clone().iuxor(this)},X.prototype.inotn=function($){F(typeof $=="number"&&$>=0);var Y=Math.ceil($/26)|0,G=$%26;this._expand(Y),G>0&&Y--;for(var Z=0;Z<Y;Z++)this.words[Z]=~this.words[Z]&67108863;return G>0&&(this.words[Z]=~this.words[Z]&67108863>>26-G),this.strip()},X.prototype.notn=function($){return this.clone().inotn($)},X.prototype.setn=function($,Y){F(typeof $=="number"&&$>=0);var G=$/26|0,Z=$%26;return this._expand(G+1),Y?this.words[G]=this.words[G]|1<<Z:this.words[G]=this.words[G]&~(1<<Z),this.strip()},X.prototype.iadd=function($){var Y;if(this.negative!==0&&$.negative===0)return this.negative=0,Y=this.isub($),this.negative^=1,this._normSign();if(this.negative===0&&$.negative!==0)return $.negative=0,Y=this.isub($),$.negative=1,Y._normSign();var G,Z;this.length>$.length?(G=this,Z=$):(G=$,Z=this);for(var V=0,I=0;I<Z.length;I++)Y=(G.words[I]|0)+(Z.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;for(;V!==0&&I<G.length;I++)Y=(G.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;if(this.length=G.length,V!==0)this.words[this.length]=V,this.length++;else if(G!==this)for(;I<G.length;I++)this.words[I]=G.words[I];return this},X.prototype.add=function($){var Y;return $.negative!==0&&this.negative===0?($.negative=0,Y=this.sub($),$.negative^=1,Y):$.negative===0&&this.negative!==0?(this.negative=0,Y=$.sub(this),this.negative=1,Y):this.length>$.length?this.clone().iadd($):$.clone().iadd(this)},X.prototype.isub=function($){if($.negative!==0){$.negative=0;var Y=this.iadd($);return $.negative=1,Y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd($),this.negative=1,this._normSign();var G=this.cmp($);if(G===0)return this.negative=0,this.length=1,this.words[0]=0,this;var Z,V;G>0?(Z=this,V=$):(Z=$,V=this);for(var I=0,O=0;O<V.length;O++)Y=(Z.words[O]|0)-(V.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;for(;I!==0&&O<Z.length;O++)Y=(Z.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;if(I===0&&O<Z.length&&Z!==this)for(;O<Z.length;O++)this.words[O]=Z.words[O];return this.length=Math.max(this.length,O),Z!==this&&(this.negative=1),this.strip()},X.prototype.sub=function($){return this.clone().isub($)};function L($,Y,G){G.negative=Y.negative^$.negative;var Z=$.length+Y.length|0;G.length=Z,Z=Z-1|0;var V=$.words[0]|0,I=Y.words[0]|0,O=V*I,U=O&67108863,Q=O/67108864|0;G.words[0]=U;for(var K=1;K<Z;K++){for(var R=Q>>>26,A=Q&67108863,S=Math.min(K,Y.length-1),x=Math.max(0,K-$.length+1);x<=S;x++){var B=K-x|0;V=$.words[B]|0,I=Y.words[x]|0,O=V*I+A,R+=O/67108864|0,A=O&67108863}G.words[K]=A|0,Q=R|0}return Q!==0?G.words[K]=Q|0:G.length--,G.strip()}var M=function($,Y,G){var Z=$.words,V=Y.words,I=G.words,O=0,U,Q,K,R=Z[0]|0,A=R&8191,S=R>>>13,x=Z[1]|0,B=x&8191,c=x>>>13,q0=Z[2]|0,h=q0&8191,d=q0>>>13,_0=Z[3]|0,l=_0&8191,n=_0>>>13,y0=Z[4]|0,t=y0&8191,s=y0>>>13,w0=Z[5]|0,m=w0&8191,r=w0>>>13,$$=Z[6]|0,i=$$&8191,e=$$>>>13,x0=Z[7]|0,o=x0&8191,a=x0>>>13,p0=Z[8]|0,$0=p0&8191,Q0=p0>>>13,Y$=Z[9]|0,Z0=Y$&8191,G0=Y$>>>13,Z$=V[0]|0,V0=Z$&8191,U0=Z$>>>13,G$=V[1]|0,X0=G$&8191,K0=G$>>>13,V$=V[2]|0,I0=V$&8191,O0=V$>>>13,U$=V[3]|0,J0=U$&8191,F0=U$>>>13,X$=V[4]|0,A0=X$&8191,H0=X$>>>13,K$=V[5]|0,W0=K$&8191,E0=K$>>>13,I$=V[6]|0,T0=I$&8191,D0=I$>>>13,O$=V[7]|0,C0=O$&8191,L0=O$>>>13,J$=V[8]|0,R0=J$&8191,P0=J$>>>13,F$=V[9]|0,z0=F$&8191,M0=F$>>>13;G.negative=$.negative^Y.negative,G.length=19,U=Math.imul(A,V0),Q=Math.imul(A,U0),Q=Q+Math.imul(S,V0)|0,K=Math.imul(S,U0);var Q$=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(Q$>>>26)|0,Q$&=67108863,U=Math.imul(B,V0),Q=Math.imul(B,U0),Q=Q+Math.imul(c,V0)|0,K=Math.imul(c,U0),U=U+Math.imul(A,X0)|0,Q=Q+Math.imul(A,K0)|0,Q=Q+Math.imul(S,X0)|0,K=K+Math.imul(S,K0)|0;var j0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(j0>>>26)|0,j0&=67108863,U=Math.imul(h,V0),Q=Math.imul(h,U0),Q=Q+Math.imul(d,V0)|0,K=Math.imul(d,U0),U=U+Math.imul(B,X0)|0,Q=Q+Math.imul(B,K0)|0,Q=Q+Math.imul(c,X0)|0,K=K+Math.imul(c,K0)|0,U=U+Math.imul(A,I0)|0,Q=Q+Math.imul(A,O0)|0,Q=Q+Math.imul(S,I0)|0,K=K+Math.imul(S,O0)|0;var k0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(k0>>>26)|0,k0&=67108863,U=Math.imul(l,V0),Q=Math.imul(l,U0),Q=Q+Math.imul(n,V0)|0,K=Math.imul(n,U0),U=U+Math.imul(h,X0)|0,Q=Q+Math.imul(h,K0)|0,Q=Q+Math.imul(d,X0)|0,K=K+Math.imul(d,K0)|0,U=U+Math.imul(B,I0)|0,Q=Q+Math.imul(B,O0)|0,Q=Q+Math.imul(c,I0)|0,K=K+Math.imul(c,O0)|0,U=U+Math.imul(A,J0)|0,Q=Q+Math.imul(A,F0)|0,Q=Q+Math.imul(S,J0)|0,K=K+Math.imul(S,F0)|0;var f0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(f0>>>26)|0,f0&=67108863,U=Math.imul(t,V0),Q=Math.imul(t,U0),Q=Q+Math.imul(s,V0)|0,K=Math.imul(s,U0),U=U+Math.imul(l,X0)|0,Q=Q+Math.imul(l,K0)|0,Q=Q+Math.imul(n,X0)|0,K=K+Math.imul(n,K0)|0,U=U+Math.imul(h,I0)|0,Q=Q+Math.imul(h,O0)|0,Q=Q+Math.imul(d,I0)|0,K=K+Math.imul(d,O0)|0,U=U+Math.imul(B,J0)|0,Q=Q+Math.imul(B,F0)|0,Q=Q+Math.imul(c,J0)|0,K=K+Math.imul(c,F0)|0,U=U+Math.imul(A,A0)|0,Q=Q+Math.imul(A,H0)|0,Q=Q+Math.imul(S,A0)|0,K=K+Math.imul(S,H0)|0;var c0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(c0>>>26)|0,c0&=67108863,U=Math.imul(m,V0),Q=Math.imul(m,U0),Q=Q+Math.imul(r,V0)|0,K=Math.imul(r,U0),U=U+Math.imul(t,X0)|0,Q=Q+Math.imul(t,K0)|0,Q=Q+Math.imul(s,X0)|0,K=K+Math.imul(s,K0)|0,U=U+Math.imul(l,I0)|0,Q=Q+Math.imul(l,O0)|0,Q=Q+Math.imul(n,I0)|0,K=K+Math.imul(n,O0)|0,U=U+Math.imul(h,J0)|0,Q=Q+Math.imul(h,F0)|0,Q=Q+Math.imul(d,J0)|0,K=K+Math.imul(d,F0)|0,U=U+Math.imul(B,A0)|0,Q=Q+Math.imul(B,H0)|0,Q=Q+Math.imul(c,A0)|0,K=K+Math.imul(c,H0)|0,U=U+Math.imul(A,W0)|0,Q=Q+Math.imul(A,E0)|0,Q=Q+Math.imul(S,W0)|0,K=K+Math.imul(S,E0)|0;var h0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(h0>>>26)|0,h0&=67108863,U=Math.imul(i,V0),Q=Math.imul(i,U0),Q=Q+Math.imul(e,V0)|0,K=Math.imul(e,U0),U=U+Math.imul(m,X0)|0,Q=Q+Math.imul(m,K0)|0,Q=Q+Math.imul(r,X0)|0,K=K+Math.imul(r,K0)|0,U=U+Math.imul(t,I0)|0,Q=Q+Math.imul(t,O0)|0,Q=Q+Math.imul(s,I0)|0,K=K+Math.imul(s,O0)|0,U=U+Math.imul(l,J0)|0,Q=Q+Math.imul(l,F0)|0,Q=Q+Math.imul(n,J0)|0,K=K+Math.imul(n,F0)|0,U=U+Math.imul(h,A0)|0,Q=Q+Math.imul(h,H0)|0,Q=Q+Math.imul(d,A0)|0,K=K+Math.imul(d,H0)|0,U=U+Math.imul(B,W0)|0,Q=Q+Math.imul(B,E0)|0,Q=Q+Math.imul(c,W0)|0,K=K+Math.imul(c,E0)|0,U=U+Math.imul(A,T0)|0,Q=Q+Math.imul(A,D0)|0,Q=Q+Math.imul(S,T0)|0,K=K+Math.imul(S,D0)|0;var d0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(d0>>>26)|0,d0&=67108863,U=Math.imul(o,V0),Q=Math.imul(o,U0),Q=Q+Math.imul(a,V0)|0,K=Math.imul(a,U0),U=U+Math.imul(i,X0)|0,Q=Q+Math.imul(i,K0)|0,Q=Q+Math.imul(e,X0)|0,K=K+Math.imul(e,K0)|0,U=U+Math.imul(m,I0)|0,Q=Q+Math.imul(m,O0)|0,Q=Q+Math.imul(r,I0)|0,K=K+Math.imul(r,O0)|0,U=U+Math.imul(t,J0)|0,Q=Q+Math.imul(t,F0)|0,Q=Q+Math.imul(s,J0)|0,K=K+Math.imul(s,F0)|0,U=U+Math.imul(l,A0)|0,Q=Q+Math.imul(l,H0)|0,Q=Q+Math.imul(n,A0)|0,K=K+Math.imul(n,H0)|0,U=U+Math.imul(h,W0)|0,Q=Q+Math.imul(h,E0)|0,Q=Q+Math.imul(d,W0)|0,K=K+Math.imul(d,E0)|0,U=U+Math.imul(B,T0)|0,Q=Q+Math.imul(B,D0)|0,Q=Q+Math.imul(c,T0)|0,K=K+Math.imul(c,D0)|0,U=U+Math.imul(A,C0)|0,Q=Q+Math.imul(A,L0)|0,Q=Q+Math.imul(S,C0)|0,K=K+Math.imul(S,L0)|0;var b0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(b0>>>26)|0,b0&=67108863,U=Math.imul($0,V0),Q=Math.imul($0,U0),Q=Q+Math.imul(Q0,V0)|0,K=Math.imul(Q0,U0),U=U+Math.imul(o,X0)|0,Q=Q+Math.imul(o,K0)|0,Q=Q+Math.imul(a,X0)|0,K=K+Math.imul(a,K0)|0,U=U+Math.imul(i,I0)|0,Q=Q+Math.imul(i,O0)|0,Q=Q+Math.imul(e,I0)|0,K=K+Math.imul(e,O0)|0,U=U+Math.imul(m,J0)|0,Q=Q+Math.imul(m,F0)|0,Q=Q+Math.imul(r,J0)|0,K=K+Math.imul(r,F0)|0,U=U+Math.imul(t,A0)|0,Q=Q+Math.imul(t,H0)|0,Q=Q+Math.imul(s,A0)|0,K=K+Math.imul(s,H0)|0,U=U+Math.imul(l,W0)|0,Q=Q+Math.imul(l,E0)|0,Q=Q+Math.imul(n,W0)|0,K=K+Math.imul(n,E0)|0,U=U+Math.imul(h,T0)|0,Q=Q+Math.imul(h,D0)|0,Q=Q+Math.imul(d,T0)|0,K=K+Math.imul(d,D0)|0,U=U+Math.imul(B,C0)|0,Q=Q+Math.imul(B,L0)|0,Q=Q+Math.imul(c,C0)|0,K=K+Math.imul(c,L0)|0,U=U+Math.imul(A,R0)|0,Q=Q+Math.imul(A,P0)|0,Q=Q+Math.imul(S,R0)|0,K=K+Math.imul(S,P0)|0;var l0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(l0>>>26)|0,l0&=67108863,U=Math.imul(Z0,V0),Q=Math.imul(Z0,U0),Q=Q+Math.imul(G0,V0)|0,K=Math.imul(G0,U0),U=U+Math.imul($0,X0)|0,Q=Q+Math.imul($0,K0)|0,Q=Q+Math.imul(Q0,X0)|0,K=K+Math.imul(Q0,K0)|0,U=U+Math.imul(o,I0)|0,Q=Q+Math.imul(o,O0)|0,Q=Q+Math.imul(a,I0)|0,K=K+Math.imul(a,O0)|0,U=U+Math.imul(i,J0)|0,Q=Q+Math.imul(i,F0)|0,Q=Q+Math.imul(e,J0)|0,K=K+Math.imul(e,F0)|0,U=U+Math.imul(m,A0)|0,Q=Q+Math.imul(m,H0)|0,Q=Q+Math.imul(r,A0)|0,K=K+Math.imul(r,H0)|0,U=U+Math.imul(t,W0)|0,Q=Q+Math.imul(t,E0)|0,Q=Q+Math.imul(s,W0)|0,K=K+Math.imul(s,E0)|0,U=U+Math.imul(l,T0)|0,Q=Q+Math.imul(l,D0)|0,Q=Q+Math.imul(n,T0)|0,K=K+Math.imul(n,D0)|0,U=U+Math.imul(h,C0)|0,Q=Q+Math.imul(h,L0)|0,Q=Q+Math.imul(d,C0)|0,K=K+Math.imul(d,L0)|0,U=U+Math.imul(B,R0)|0,Q=Q+Math.imul(B,P0)|0,Q=Q+Math.imul(c,R0)|0,K=K+Math.imul(c,P0)|0,U=U+Math.imul(A,z0)|0,Q=Q+Math.imul(A,M0)|0,Q=Q+Math.imul(S,z0)|0,K=K+Math.imul(S,M0)|0;var o0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(o0>>>26)|0,o0&=67108863,U=Math.imul(Z0,X0),Q=Math.imul(Z0,K0),Q=Q+Math.imul(G0,X0)|0,K=Math.imul(G0,K0),U=U+Math.imul($0,I0)|0,Q=Q+Math.imul($0,O0)|0,Q=Q+Math.imul(Q0,I0)|0,K=K+Math.imul(Q0,O0)|0,U=U+Math.imul(o,J0)|0,Q=Q+Math.imul(o,F0)|0,Q=Q+Math.imul(a,J0)|0,K=K+Math.imul(a,F0)|0,U=U+Math.imul(i,A0)|0,Q=Q+Math.imul(i,H0)|0,Q=Q+Math.imul(e,A0)|0,K=K+Math.imul(e,H0)|0,U=U+Math.imul(m,W0)|0,Q=Q+Math.imul(m,E0)|0,Q=Q+Math.imul(r,W0)|0,K=K+Math.imul(r,E0)|0,U=U+Math.imul(t,T0)|0,Q=Q+Math.imul(t,D0)|0,Q=Q+Math.imul(s,T0)|0,K=K+Math.imul(s,D0)|0,U=U+Math.imul(l,C0)|0,Q=Q+Math.imul(l,L0)|0,Q=Q+Math.imul(n,C0)|0,K=K+Math.imul(n,L0)|0,U=U+Math.imul(h,R0)|0,Q=Q+Math.imul(h,P0)|0,Q=Q+Math.imul(d,R0)|0,K=K+Math.imul(d,P0)|0,U=U+Math.imul(B,z0)|0,Q=Q+Math.imul(B,M0)|0,Q=Q+Math.imul(c,z0)|0,K=K+Math.imul(c,M0)|0;var u0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(u0>>>26)|0,u0&=67108863,U=Math.imul(Z0,I0),Q=Math.imul(Z0,O0),Q=Q+Math.imul(G0,I0)|0,K=Math.imul(G0,O0),U=U+Math.imul($0,J0)|0,Q=Q+Math.imul($0,F0)|0,Q=Q+Math.imul(Q0,J0)|0,K=K+Math.imul(Q0,F0)|0,U=U+Math.imul(o,A0)|0,Q=Q+Math.imul(o,H0)|0,Q=Q+Math.imul(a,A0)|0,K=K+Math.imul(a,H0)|0,U=U+Math.imul(i,W0)|0,Q=Q+Math.imul(i,E0)|0,Q=Q+Math.imul(e,W0)|0,K=K+Math.imul(e,E0)|0,U=U+Math.imul(m,T0)|0,Q=Q+Math.imul(m,D0)|0,Q=Q+Math.imul(r,T0)|0,K=K+Math.imul(r,D0)|0,U=U+Math.imul(t,C0)|0,Q=Q+Math.imul(t,L0)|0,Q=Q+Math.imul(s,C0)|0,K=K+Math.imul(s,L0)|0,U=U+Math.imul(l,R0)|0,Q=Q+Math.imul(l,P0)|0,Q=Q+Math.imul(n,R0)|0,K=K+Math.imul(n,P0)|0,U=U+Math.imul(h,z0)|0,Q=Q+Math.imul(h,M0)|0,Q=Q+Math.imul(d,z0)|0,K=K+Math.imul(d,M0)|0;var n0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(n0>>>26)|0,n0&=67108863,U=Math.imul(Z0,J0),Q=Math.imul(Z0,F0),Q=Q+Math.imul(G0,J0)|0,K=Math.imul(G0,F0),U=U+Math.imul($0,A0)|0,Q=Q+Math.imul($0,H0)|0,Q=Q+Math.imul(Q0,A0)|0,K=K+Math.imul(Q0,H0)|0,U=U+Math.imul(o,W0)|0,Q=Q+Math.imul(o,E0)|0,Q=Q+Math.imul(a,W0)|0,K=K+Math.imul(a,E0)|0,U=U+Math.imul(i,T0)|0,Q=Q+Math.imul(i,D0)|0,Q=Q+Math.imul(e,T0)|0,K=K+Math.imul(e,D0)|0,U=U+Math.imul(m,C0)|0,Q=Q+Math.imul(m,L0)|0,Q=Q+Math.imul(r,C0)|0,K=K+Math.imul(r,L0)|0,U=U+Math.imul(t,R0)|0,Q=Q+Math.imul(t,P0)|0,Q=Q+Math.imul(s,R0)|0,K=K+Math.imul(s,P0)|0,U=U+Math.imul(l,z0)|0,Q=Q+Math.imul(l,M0)|0,Q=Q+Math.imul(n,z0)|0,K=K+Math.imul(n,M0)|0;var s0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(s0>>>26)|0,s0&=67108863,U=Math.imul(Z0,A0),Q=Math.imul(Z0,H0),Q=Q+Math.imul(G0,A0)|0,K=Math.imul(G0,H0),U=U+Math.imul($0,W0)|0,Q=Q+Math.imul($0,E0)|0,Q=Q+Math.imul(Q0,W0)|0,K=K+Math.imul(Q0,E0)|0,U=U+Math.imul(o,T0)|0,Q=Q+Math.imul(o,D0)|0,Q=Q+Math.imul(a,T0)|0,K=K+Math.imul(a,D0)|0,U=U+Math.imul(i,C0)|0,Q=Q+Math.imul(i,L0)|0,Q=Q+Math.imul(e,C0)|0,K=K+Math.imul(e,L0)|0,U=U+Math.imul(m,R0)|0,Q=Q+Math.imul(m,P0)|0,Q=Q+Math.imul(r,R0)|0,K=K+Math.imul(r,P0)|0,U=U+Math.imul(t,z0)|0,Q=Q+Math.imul(t,M0)|0,Q=Q+Math.imul(s,z0)|0,K=K+Math.imul(s,M0)|0;var t0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(t0>>>26)|0,t0&=67108863,U=Math.imul(Z0,W0),Q=Math.imul(Z0,E0),Q=Q+Math.imul(G0,W0)|0,K=Math.imul(G0,E0),U=U+Math.imul($0,T0)|0,Q=Q+Math.imul($0,D0)|0,Q=Q+Math.imul(Q0,T0)|0,K=K+Math.imul(Q0,D0)|0,U=U+Math.imul(o,C0)|0,Q=Q+Math.imul(o,L0)|0,Q=Q+Math.imul(a,C0)|0,K=K+Math.imul(a,L0)|0,U=U+Math.imul(i,R0)|0,Q=Q+Math.imul(i,P0)|0,Q=Q+Math.imul(e,R0)|0,K=K+Math.imul(e,P0)|0,U=U+Math.imul(m,z0)|0,Q=Q+Math.imul(m,M0)|0,Q=Q+Math.imul(r,z0)|0,K=K+Math.imul(r,M0)|0;var m0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(m0>>>26)|0,m0&=67108863,U=Math.imul(Z0,T0),Q=Math.imul(Z0,D0),Q=Q+Math.imul(G0,T0)|0,K=Math.imul(G0,D0),U=U+Math.imul($0,C0)|0,Q=Q+Math.imul($0,L0)|0,Q=Q+Math.imul(Q0,C0)|0,K=K+Math.imul(Q0,L0)|0,U=U+Math.imul(o,R0)|0,Q=Q+Math.imul(o,P0)|0,Q=Q+Math.imul(a,R0)|0,K=K+Math.imul(a,P0)|0,U=U+Math.imul(i,z0)|0,Q=Q+Math.imul(i,M0)|0,Q=Q+Math.imul(e,z0)|0,K=K+Math.imul(e,M0)|0;var a0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(a0>>>26)|0,a0&=67108863,U=Math.imul(Z0,C0),Q=Math.imul(Z0,L0),Q=Q+Math.imul(G0,C0)|0,K=Math.imul(G0,L0),U=U+Math.imul($0,R0)|0,Q=Q+Math.imul($0,P0)|0,Q=Q+Math.imul(Q0,R0)|0,K=K+Math.imul(Q0,P0)|0,U=U+Math.imul(o,z0)|0,Q=Q+Math.imul(o,M0)|0,Q=Q+Math.imul(a,z0)|0,K=K+Math.imul(a,M0)|0;var e0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(e0>>>26)|0,e0&=67108863,U=Math.imul(Z0,R0),Q=Math.imul(Z0,P0),Q=Q+Math.imul(G0,R0)|0,K=Math.imul(G0,P0),U=U+Math.imul($0,z0)|0,Q=Q+Math.imul($0,M0)|0,Q=Q+Math.imul(Q0,z0)|0,K=K+Math.imul(Q0,M0)|0;var r0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(r0>>>26)|0,r0&=67108863,U=Math.imul(Z0,z0),Q=Math.imul(Z0,M0),Q=Q+Math.imul(G0,z0)|0,K=Math.imul(G0,M0);var i0=(O+U|0)+((Q&8191)<<13)|0;return O=(K+(Q>>>13)|0)+(i0>>>26)|0,i0&=67108863,I[0]=Q$,I[1]=j0,I[2]=k0,I[3]=f0,I[4]=c0,I[5]=h0,I[6]=d0,I[7]=b0,I[8]=l0,I[9]=o0,I[10]=u0,I[11]=n0,I[12]=s0,I[13]=t0,I[14]=m0,I[15]=a0,I[16]=e0,I[17]=r0,I[18]=i0,O!==0&&(I[19]=O,G.length++),G};Math.imul||(M=L);function v($,Y,G){G.negative=Y.negative^$.negative,G.length=$.length+Y.length;for(var Z=0,V=0,I=0;I<G.length-1;I++){var O=V;V=0;for(var U=Z&67108863,Q=Math.min(I,Y.length-1),K=Math.max(0,I-$.length+1);K<=Q;K++){var R=I-K,A=$.words[R]|0,S=Y.words[K]|0,x=A*S,B=x&67108863;O=O+(x/67108864|0)|0,B=B+U|0,U=B&67108863,O=O+(B>>>26)|0,V+=O>>>26,O&=67108863}G.words[I]=U,Z=O,O=V}return Z!==0?G.words[I]=Z:G.length--,G.strip()}function q($,Y,G){var Z=new g;return Z.mulp($,Y,G)}X.prototype.mulTo=function($,Y){var G,Z=this.length+$.length;return this.length===10&&$.length===10?G=M(this,$,Y):Z<63?G=L(this,$,Y):Z<1024?G=v(this,$,Y):G=q(this,$,Y),G};function g($,Y){this.x=$,this.y=Y}g.prototype.makeRBT=function($){for(var Y=new Array($),G=X.prototype._countBits($)-1,Z=0;Z<$;Z++)Y[Z]=this.revBin(Z,G,$);return Y},g.prototype.revBin=function($,Y,G){if($===0||$===G-1)return $;for(var Z=0,V=0;V<Y;V++)Z|=($&1)<<Y-V-1,$>>=1;return Z},g.prototype.permute=function($,Y,G,Z,V,I){for(var O=0;O<I;O++)Z[O]=Y[$[O]],V[O]=G[$[O]]},g.prototype.transform=function($,Y,G,Z,V,I){this.permute(I,$,Y,G,Z,V);for(var O=1;O<V;O<<=1)for(var U=O<<1,Q=Math.cos(2*Math.PI/U),K=Math.sin(2*Math.PI/U),R=0;R<V;R+=U)for(var A=Q,S=K,x=0;x<O;x++){var B=G[R+x],c=Z[R+x],q0=G[R+x+O],h=Z[R+x+O],d=A*q0-S*h;h=A*h+S*q0,q0=d,G[R+x]=B+q0,Z[R+x]=c+h,G[R+x+O]=B-q0,Z[R+x+O]=c-h,x!==U&&(d=Q*A-K*S,S=Q*S+K*A,A=d)}},g.prototype.guessLen13b=function($,Y){var G=Math.max(Y,$)|1,Z=G&1,V=0;for(G=G/2|0;G;G=G>>>1)V++;return 1<<V+1+Z},g.prototype.conjugate=function($,Y,G){if(!(G<=1))for(var Z=0;Z<G/2;Z++){var V=$[Z];$[Z]=$[G-Z-1],$[G-Z-1]=V,V=Y[Z],Y[Z]=-Y[G-Z-1],Y[G-Z-1]=-V}},g.prototype.normalize13b=function($,Y){for(var G=0,Z=0;Z<Y/2;Z++){var V=Math.round($[2*Z+1]/Y)*8192+Math.round($[2*Z]/Y)+G;$[Z]=V&67108863,V<67108864?G=0:G=V/67108864|0}return $},g.prototype.convert13b=function($,Y,G,Z){for(var V=0,I=0;I<Y;I++)V=V+($[I]|0),G[2*I]=V&8191,V=V>>>13,G[2*I+1]=V&8191,V=V>>>13;for(I=2*Y;I<Z;++I)G[I]=0;F(V===0),F((V&-8192)===0)},g.prototype.stub=function($){for(var Y=new Array($),G=0;G<$;G++)Y[G]=0;return Y},g.prototype.mulp=function($,Y,G){var Z=2*this.guessLen13b($.length,Y.length),V=this.makeRBT(Z),I=this.stub(Z),O=new Array(Z),U=new Array(Z),Q=new Array(Z),K=new Array(Z),R=new Array(Z),A=new Array(Z),S=G.words;S.length=Z,this.convert13b($.words,$.length,O,Z),this.convert13b(Y.words,Y.length,K,Z),this.transform(O,I,U,Q,Z,V),this.transform(K,I,R,A,Z,V);for(var x=0;x<Z;x++){var B=U[x]*R[x]-Q[x]*A[x];Q[x]=U[x]*A[x]+Q[x]*R[x],U[x]=B}return this.conjugate(U,Q,Z),this.transform(U,Q,S,I,Z,V),this.conjugate(S,I,Z),this.normalize13b(S,Z),G.negative=$.negative^Y.negative,G.length=$.length+Y.length,G.strip()},X.prototype.mul=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),this.mulTo($,Y)},X.prototype.mulf=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),q(this,$,Y)},X.prototype.imul=function($){return this.clone().mulTo($,this)},X.prototype.imuln=function($){F(typeof $=="number"),F($<67108864);for(var Y=0,G=0;G<this.length;G++){var Z=(this.words[G]|0)*$,V=(Z&67108863)+(Y&67108863);Y>>=26,Y+=Z/67108864|0,Y+=V>>>26,this.words[G]=V&67108863}return Y!==0&&(this.words[G]=Y,this.length++),this},X.prototype.muln=function($){return this.clone().imuln($)},X.prototype.sqr=function(){return this.mul(this)},X.prototype.isqr=function(){return this.imul(this.clone())},X.prototype.pow=function($){var Y=E($);if(Y.length===0)return new X(1);for(var G=this,Z=0;Z<Y.length&&Y[Z]===0;Z++,G=G.sqr());if(++Z<Y.length)for(var V=G.sqr();Z<Y.length;Z++,V=V.sqr())Y[Z]!==0&&(G=G.mul(V));return G},X.prototype.iushln=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=67108863>>>26-Y<<26-Y,V;if(Y!==0){var I=0;for(V=0;V<this.length;V++){var O=this.words[V]&Z,U=(this.words[V]|0)-O<<Y;this.words[V]=U|I,I=O>>>26-Y}I&&(this.words[V]=I,this.length++)}if(G!==0){for(V=this.length-1;V>=0;V--)this.words[V+G]=this.words[V];for(V=0;V<G;V++)this.words[V]=0;this.length+=G}return this.strip()},X.prototype.ishln=function($){return F(this.negative===0),this.iushln($)},X.prototype.iushrn=function($,Y,G){F(typeof $=="number"&&$>=0);var Z;Y?Z=(Y-Y%26)/26:Z=0;var V=$%26,I=Math.min(($-V)/26,this.length),O=67108863^67108863>>>V<<V,U=G;if(Z-=I,Z=Math.max(0,Z),U){for(var Q=0;Q<I;Q++)U.words[Q]=this.words[Q];U.length=I}if(I!==0)if(this.length>I)for(this.length-=I,Q=0;Q<this.length;Q++)this.words[Q]=this.words[Q+I];else this.words[0]=0,this.length=1;var K=0;for(Q=this.length-1;Q>=0&&(K!==0||Q>=Z);Q--){var R=this.words[Q]|0;this.words[Q]=K<<26-V|R>>>V,K=R&O}return U&&K!==0&&(U.words[U.length++]=K),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},X.prototype.ishrn=function($,Y,G){return F(this.negative===0),this.iushrn($,Y,G)},X.prototype.shln=function($){return this.clone().ishln($)},X.prototype.ushln=function($){return this.clone().iushln($)},X.prototype.shrn=function($){return this.clone().ishrn($)},X.prototype.ushrn=function($){return this.clone().iushrn($)},X.prototype.testn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return!1;var V=this.words[G];return!!(V&Z)},X.prototype.imaskn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26;if(F(this.negative===0,"imaskn works only with positive numbers"),this.length<=G)return this;if(Y!==0&&G++,this.length=Math.min(G,this.length),Y!==0){var Z=67108863^67108863>>>Y<<Y;this.words[this.length-1]&=Z}return this.strip()},X.prototype.maskn=function($){return this.clone().imaskn($)},X.prototype.iaddn=function($){return F(typeof $=="number"),F($<67108864),$<0?this.isubn(-$):this.negative!==0?this.length===1&&(this.words[0]|0)<$?(this.words[0]=$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn($),this.negative=1,this):this._iaddn($)},X.prototype._iaddn=function($){this.words[0]+=$;for(var Y=0;Y<this.length&&this.words[Y]>=67108864;Y++)this.words[Y]-=67108864,Y===this.length-1?this.words[Y+1]=1:this.words[Y+1]++;return this.length=Math.max(this.length,Y+1),this},X.prototype.isubn=function($){if(F(typeof $=="number"),F($<67108864),$<0)return this.iaddn(-$);if(this.negative!==0)return this.negative=0,this.iaddn($),this.negative=1,this;if(this.words[0]-=$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var Y=0;Y<this.length&&this.words[Y]<0;Y++)this.words[Y]+=67108864,this.words[Y+1]-=1;return this.strip()},X.prototype.addn=function($){return this.clone().iaddn($)},X.prototype.subn=function($){return this.clone().isubn($)},X.prototype.iabs=function(){return this.negative=0,this},X.prototype.abs=function(){return this.clone().iabs()},X.prototype._ishlnsubmul=function($,Y,G){var Z=$.length+G,V;this._expand(Z);var I,O=0;for(V=0;V<$.length;V++){I=(this.words[V+G]|0)+O;var U=($.words[V]|0)*Y;I-=U&67108863,O=(I>>26)-(U/67108864|0),this.words[V+G]=I&67108863}for(;V<this.length-G;V++)I=(this.words[V+G]|0)+O,O=I>>26,this.words[V+G]=I&67108863;if(O===0)return this.strip();for(F(O===-1),O=0,V=0;V<this.length;V++)I=-(this.words[V]|0)+O,O=I>>26,this.words[V]=I&67108863;return this.negative=1,this.strip()},X.prototype._wordDiv=function($,Y){var G=this.length-$.length,Z=this.clone(),V=$,I=V.words[V.length-1]|0,O=this._countBits(I);G=26-O,G!==0&&(V=V.ushln(G),Z.iushln(G),I=V.words[V.length-1]|0);var U=Z.length-V.length,Q;if(Y!=="mod"){Q=new X(null),Q.length=U+1,Q.words=new Array(Q.length);for(var K=0;K<Q.length;K++)Q.words[K]=0}var R=Z.clone()._ishlnsubmul(V,1,U);R.negative===0&&(Z=R,Q&&(Q.words[U]=1));for(var A=U-1;A>=0;A--){var S=(Z.words[V.length+A]|0)*67108864+(Z.words[V.length+A-1]|0);for(S=Math.min(S/I|0,67108863),Z._ishlnsubmul(V,S,A);Z.negative!==0;)S--,Z.negative=0,Z._ishlnsubmul(V,1,A),Z.isZero()||(Z.negative^=1);Q&&(Q.words[A]=S)}return Q&&Q.strip(),Z.strip(),Y!=="div"&&G!==0&&Z.iushrn(G),{div:Q||null,mod:Z}},X.prototype.divmod=function($,Y,G){if(F(!$.isZero()),this.isZero())return{div:new X(0),mod:new X(0)};var Z,V,I;return this.negative!==0&&$.negative===0?(I=this.neg().divmod($,Y),Y!=="mod"&&(Z=I.div.neg()),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.iadd($)),{div:Z,mod:V}):this.negative===0&&$.negative!==0?(I=this.divmod($.neg(),Y),Y!=="mod"&&(Z=I.div.neg()),{div:Z,mod:I.mod}):(this.negative&$.negative)!==0?(I=this.neg().divmod($.neg(),Y),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.isub($)),{div:I.div,mod:V}):$.length>this.length||this.cmp($)<0?{div:new X(0),mod:this}:$.length===1?Y==="div"?{div:this.divn($.words[0]),mod:null}:Y==="mod"?{div:null,mod:new X(this.modn($.words[0]))}:{div:this.divn($.words[0]),mod:new X(this.modn($.words[0]))}:this._wordDiv($,Y)},X.prototype.div=function($){return this.divmod($,"div",!1).div},X.prototype.mod=function($){return this.divmod($,"mod",!1).mod},X.prototype.umod=function($){return this.divmod($,"mod",!0).mod},X.prototype.divRound=function($){var Y=this.divmod($);if(Y.mod.isZero())return Y.div;var G=Y.div.negative!==0?Y.mod.isub($):Y.mod,Z=$.ushrn(1),V=$.andln(1),I=G.cmp(Z);return I<0||V===1&&I===0?Y.div:Y.div.negative!==0?Y.div.isubn(1):Y.div.iaddn(1)},X.prototype.modn=function($){F($<=67108863);for(var Y=(1<<26)%$,G=0,Z=this.length-1;Z>=0;Z--)G=(Y*G+(this.words[Z]|0))%$;return G},X.prototype.idivn=function($){F($<=67108863);for(var Y=0,G=this.length-1;G>=0;G--){var Z=(this.words[G]|0)+Y*67108864;this.words[G]=Z/$|0,Y=Z%$}return this.strip()},X.prototype.divn=function($){return this.clone().idivn($)},X.prototype.egcd=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=new X(0),O=new X(1),U=0;Y.isEven()&&G.isEven();)Y.iushrn(1),G.iushrn(1),++U;for(var Q=G.clone(),K=Y.clone();!Y.isZero();){for(var R=0,A=1;(Y.words[0]&A)===0&&R<26;++R,A<<=1);if(R>0)for(Y.iushrn(R);R-- >0;)(Z.isOdd()||V.isOdd())&&(Z.iadd(Q),V.isub(K)),Z.iushrn(1),V.iushrn(1);for(var S=0,x=1;(G.words[0]&x)===0&&S<26;++S,x<<=1);if(S>0)for(G.iushrn(S);S-- >0;)(I.isOdd()||O.isOdd())&&(I.iadd(Q),O.isub(K)),I.iushrn(1),O.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(I),V.isub(O)):(G.isub(Y),I.isub(Z),O.isub(V))}return{a:I,b:O,gcd:G.iushln(U)}},X.prototype._invmp=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=G.clone();Y.cmpn(1)>0&&G.cmpn(1)>0;){for(var O=0,U=1;(Y.words[0]&U)===0&&O<26;++O,U<<=1);if(O>0)for(Y.iushrn(O);O-- >0;)Z.isOdd()&&Z.iadd(I),Z.iushrn(1);for(var Q=0,K=1;(G.words[0]&K)===0&&Q<26;++Q,K<<=1);if(Q>0)for(G.iushrn(Q);Q-- >0;)V.isOdd()&&V.iadd(I),V.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(V)):(G.isub(Y),V.isub(Z))}var R;return Y.cmpn(1)===0?R=Z:R=V,R.cmpn(0)<0&&R.iadd($),R},X.prototype.gcd=function($){if(this.isZero())return $.abs();if($.isZero())return this.abs();var Y=this.clone(),G=$.clone();Y.negative=0,G.negative=0;for(var Z=0;Y.isEven()&&G.isEven();Z++)Y.iushrn(1),G.iushrn(1);do{for(;Y.isEven();)Y.iushrn(1);for(;G.isEven();)G.iushrn(1);var V=Y.cmp(G);if(V<0){var I=Y;Y=G,G=I}else if(V===0||G.cmpn(1)===0)break;Y.isub(G)}while(!0);return G.iushln(Z)},X.prototype.invm=function($){return this.egcd($).a.umod($)},X.prototype.isEven=function(){return(this.words[0]&1)===0},X.prototype.isOdd=function(){return(this.words[0]&1)===1},X.prototype.andln=function($){return this.words[0]&$},X.prototype.bincn=function($){F(typeof $=="number");var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return this._expand(G+1),this.words[G]|=Z,this;for(var V=Z,I=G;V!==0&&I<this.length;I++){var O=this.words[I]|0;O+=V,V=O>>>26,O&=67108863,this.words[I]=O}return V!==0&&(this.words[I]=V,this.length++),this},X.prototype.isZero=function(){return this.length===1&&this.words[0]===0},X.prototype.cmpn=function($){var Y=$<0;if(this.negative!==0&&!Y)return-1;if(this.negative===0&&Y)return 1;this.strip();var G;if(this.length>1)G=1;else{Y&&($=-$),F($<=67108863,"Number is too big");var Z=this.words[0]|0;G=Z===$?0:Z<$?-1:1}return this.negative!==0?-G|0:G},X.prototype.cmp=function($){if(this.negative!==0&&$.negative===0)return-1;if(this.negative===0&&$.negative!==0)return 1;var Y=this.ucmp($);return this.negative!==0?-Y|0:Y},X.prototype.ucmp=function($){if(this.length>$.length)return 1;if(this.length<$.length)return-1;for(var Y=0,G=this.length-1;G>=0;G--){var Z=this.words[G]|0,V=$.words[G]|0;if(Z!==V){Z<V?Y=-1:Z>V&&(Y=1);break}}return Y},X.prototype.gtn=function($){return this.cmpn($)===1},X.prototype.gt=function($){return this.cmp($)===1},X.prototype.gten=function($){return this.cmpn($)>=0},X.prototype.gte=function($){return this.cmp($)>=0},X.prototype.ltn=function($){return this.cmpn($)===-1},X.prototype.lt=function($){return this.cmp($)===-1},X.prototype.lten=function($){return this.cmpn($)<=0},X.prototype.lte=function($){return this.cmp($)<=0},X.prototype.eqn=function($){return this.cmpn($)===0},X.prototype.eq=function($){return this.cmp($)===0},X.red=function($){return new p($)},X.prototype.toRed=function($){return F(!this.red,"Already a number in reduction context"),F(this.negative===0,"red works only with positives"),$.convertTo(this)._forceRed($)},X.prototype.fromRed=function(){return F(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},X.prototype._forceRed=function($){return this.red=$,this},X.prototype.forceRed=function($){return F(!this.red,"Already a number in reduction context"),this._forceRed($)},X.prototype.redAdd=function($){return F(this.red,"redAdd works only with red numbers"),this.red.add(this,$)},X.prototype.redIAdd=function($){return F(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,$)},X.prototype.redSub=function($){return F(this.red,"redSub works only with red numbers"),this.red.sub(this,$)},X.prototype.redISub=function($){return F(this.red,"redISub works only with red numbers"),this.red.isub(this,$)},X.prototype.redShl=function($){return F(this.red,"redShl works only with red numbers"),this.red.shl(this,$)},X.prototype.redMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.mul(this,$)},X.prototype.redIMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.imul(this,$)},X.prototype.redSqr=function(){return F(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},X.prototype.redISqr=function(){return F(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},X.prototype.redSqrt=function(){return F(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},X.prototype.redInvm=function(){return F(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},X.prototype.redNeg=function(){return F(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},X.prototype.redPow=function($){return F(this.red&&!$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,$)};var y={k256:null,p224:null,p192:null,p25519:null};function w($,Y){this.name=$,this.p=new X(Y,16),this.n=this.p.bitLength(),this.k=new X(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}w.prototype._tmp=function(){var $=new X(null);return $.words=new Array(Math.ceil(this.n/13)),$},w.prototype.ireduce=function($){var Y=$,G;do this.split(Y,this.tmp),Y=this.imulK(Y),Y=Y.iadd(this.tmp),G=Y.bitLength();while(G>this.n);var Z=G<this.n?-1:Y.ucmp(this.p);return Z===0?(Y.words[0]=0,Y.length=1):Z>0?Y.isub(this.p):Y.strip!==void 0?Y.strip():Y._strip(),Y},w.prototype.split=function($,Y){$.iushrn(this.n,0,Y)},w.prototype.imulK=function($){return $.imul(this.k)};function f(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(f,w),f.prototype.split=function($,Y){for(var G=4194303,Z=Math.min($.length,9),V=0;V<Z;V++)Y.words[V]=$.words[V];if(Y.length=Z,$.length<=9){$.words[0]=0,$.length=1;return}var I=$.words[9];for(Y.words[Y.length++]=I&G,V=10;V<$.length;V++){var O=$.words[V]|0;$.words[V-10]=(O&G)<<4|I>>>22,I=O}I>>>=22,$.words[V-10]=I,I===0&&$.length>10?$.length-=10:$.length-=9},f.prototype.imulK=function($){$.words[$.length]=0,$.words[$.length+1]=0,$.length+=2;for(var Y=0,G=0;G<$.length;G++){var Z=$.words[G]|0;Y+=Z*977,$.words[G]=Y&67108863,Y=Z*64+(Y/67108864|0)}return $.words[$.length-1]===0&&($.length--,$.words[$.length-1]===0&&$.length--),$};function b(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(b,w);function u(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(u,w);function Y0(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(Y0,w),Y0.prototype.imulK=function($){for(var Y=0,G=0;G<$.length;G++){var Z=($.words[G]|0)*19+Y,V=Z&67108863;Z>>>=26,$.words[G]=V,Y=Z}return Y!==0&&($.words[$.length++]=Y),$},X._prime=function($){if(y[$])return y[$];var Y;if($==="k256")Y=new f;else if($==="p224")Y=new b;else if($==="p192")Y=new u;else if($==="p25519")Y=new Y0;else throw new Error("Unknown prime "+$);return y[$]=Y,Y};function p($){if(typeof $=="string"){var Y=X._prime($);this.m=Y.p,this.prime=Y}else F($.gtn(1),"modulus must be greater than 1"),this.m=$,this.prime=null}p.prototype._verify1=function($){F($.negative===0,"red works only with positives"),F($.red,"red works only with red numbers")},p.prototype._verify2=function($,Y){F(($.negative|Y.negative)===0,"red works only with positives"),F($.red&&$.red===Y.red,"red works only with red numbers")},p.prototype.imod=function($){return this.prime?this.prime.ireduce($)._forceRed(this):$.umod(this.m)._forceRed(this)},p.prototype.neg=function($){return $.isZero()?$.clone():this.m.sub($)._forceRed(this)},p.prototype.add=function($,Y){this._verify2($,Y);var G=$.add(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G._forceRed(this)},p.prototype.iadd=function($,Y){this._verify2($,Y);var G=$.iadd(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G},p.prototype.sub=function($,Y){this._verify2($,Y);var G=$.sub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G._forceRed(this)},p.prototype.isub=function($,Y){this._verify2($,Y);var G=$.isub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G},p.prototype.shl=function($,Y){return this._verify1($),this.imod($.ushln(Y))},p.prototype.imul=function($,Y){return this._verify2($,Y),this.imod($.imul(Y))},p.prototype.mul=function($,Y){return this._verify2($,Y),this.imod($.mul(Y))},p.prototype.isqr=function($){return this.imul($,$.clone())},p.prototype.sqr=function($){return this.mul($,$)},p.prototype.sqrt=function($){if($.isZero())return $.clone();var Y=this.m.andln(3);if(F(Y%2===1),Y===3){var G=this.m.add(new X(1)).iushrn(2);return this.pow($,G)}for(var Z=this.m.subn(1),V=0;!Z.isZero()&&Z.andln(1)===0;)V++,Z.iushrn(1);F(!Z.isZero());var I=new X(1).toRed(this),O=I.redNeg(),U=this.m.subn(1).iushrn(1),Q=this.m.bitLength();for(Q=new X(2*Q*Q).toRed(this);this.pow(Q,U).cmp(O)!==0;)Q.redIAdd(O);for(var K=this.pow(Q,Z),R=this.pow($,Z.addn(1).iushrn(1)),A=this.pow($,Z),S=V;A.cmp(I)!==0;){for(var x=A,B=0;x.cmp(I)!==0;B++)x=x.redSqr();F(B<S);var c=this.pow(K,new X(1).iushln(S-B-1));R=R.redMul(c),K=c.redSqr(),A=A.redMul(K),S=B}return R},p.prototype.invm=function($){var Y=$._invmp(this.m);return Y.negative!==0?(Y.negative=0,this.imod(Y).redNeg()):this.imod(Y)},p.prototype.pow=function($,Y){if(Y.isZero())return new X(1).toRed(this);if(Y.cmpn(1)===0)return $.clone();var G=4,Z=new Array(1<<G);Z[0]=new X(1).toRed(this),Z[1]=$;for(var V=2;V<Z.length;V++)Z[V]=this.mul(Z[V-1],$);var I=Z[0],O=0,U=0,Q=Y.bitLength()%26;for(Q===0&&(Q=26),V=Y.length-1;V>=0;V--){for(var K=Y.words[V],R=Q-1;R>=0;R--){var A=K>>R&1;if(I!==Z[0]&&(I=this.sqr(I)),A===0&&O===0){U=0;continue}O<<=1,O|=A,U++,!(U!==G&&(V!==0||R!==0))&&(I=this.mul(I,Z[O]),U=0,O=0)}Q=26}return I},p.prototype.convertTo=function($){var Y=$.umod(this.m);return Y===$?Y.clone():Y},p.prototype.convertFrom=function($){var Y=$.clone();return Y.red=null,Y},X.mont=function($){return new v0($)};function v0($){p.call(this,$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new X(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(v0,p),v0.prototype.convertTo=function($){return this.imod($.ushln(this.shift))},v0.prototype.convertFrom=function($){var Y=this.imod($.mul(this.rinv));return Y.red=null,Y},v0.prototype.imul=function($,Y){if($.isZero()||Y.isZero())return $.words[0]=0,$.length=1,$;var G=$.imul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.mul=function($,Y){if($.isZero()||Y.isZero())return new X(0)._forceRed(this);var G=$.mul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.invm=function($){var Y=this.imod($._invmp(this.m).mul(this.r2));return Y._forceRed(this)}})(typeof _>"u"||_,N)}}),VZ=S0({"(disabled):node_modules/crypto-browserify/index.js"(){}}),f$=S0({"node_modules/brorand/index.js"(N,_){var k;_.exports=function(F){return k||(k=new j(null)),k.generate(F)};function j(F){this.rand=F}_.exports.Rand=j,j.prototype.generate=function(F){return this._rand(F)},j.prototype._rand=function(F){var z=new g0(F);return H$.getRandomValues(z),z}}}),RQ=S0({"node_modules/miller-rabin/lib/mr.js"(N,_){var k=AY(),j=f$();function F(z){this.rand=z||new j.Rand}_.exports=F,F.create=function(z){return new F(z)},F.prototype._randbelow=function(z){var X=z.bitLength(),C=Math.ceil(X/8);do var P=new k(this.rand.generate(C));while(P.cmp(z)>=0);return P},F.prototype._randrange=function(z,X){var C=X.sub(z);return z.add(this._randbelow(C))},F.prototype.test=function(z,X,C){var P=z.bitLength(),T=k.mont(z),W=new k(1).toRed(T);X||(X=Math.max(1,P/48|0));for(var J=z.subn(1),H=0;!J.testn(H);H++);for(var D=z.shrn(H),E=J.toRed(T),L=!0;X>0;X--){var M=this._randrange(new k(2),J);C&&C(M);var v=M.toRed(T).redPow(D);if(!(v.cmp(W)===0||v.cmp(E)===0)){for(var q=1;q<H;q++){if(v=v.redSqr(),v.cmp(W)===0)return!1;if(v.cmp(E)===0)break}if(q===H)return!1}}return L},F.prototype.getDivisor=function(z,X){var C=z.bitLength(),P=k.mont(z),T=new k(1).toRed(P);X||(X=Math.max(1,C/48|0));for(var W=z.subn(1),J=0;!W.testn(J);J++);for(var H=z.shrn(J),D=W.toRed(P);X>0;X--){var E=this._randrange(new k(2),W),L=z.gcd(E);if(L.cmpn(1)!==0)return L;var M=E.toRed(P).redPow(H);if(!(M.cmp(T)===0||M.cmp(D)===0)){for(var v=1;v<J;v++){if(M=M.redSqr(),M.cmp(T)===0)return M.fromRed().subn(1).gcd(z);if(M.cmp(D)===0)break}if(v===J)return M=M.redSqr(),M.fromRed().subn(1).gcd(z)}}return!1}}}),PQ=S0({"node_modules/diffie-hellman/lib/generatePrime.js"(N,_){var k=L$();_.exports=f,f.simpleSieve=y,f.fermatTest=w;var j=LQ(),F=new j(24),z=RQ(),X=new z,C=new j(1),P=new j(2),T=new j(5),W=new j(16),J=new j(8),H=new j(10),D=new j(3),E=new j(7),L=new j(11),M=new j(4),v=new j(12),q=null;function g(){if(q!==null)return q;var b=1048576,u=[];u[0]=2;for(var Y0=1,p=3;p<b;p+=2){for(var v0=Math.ceil(Math.sqrt(p)),$=0;$<Y0&&u[$]<=v0&&p%u[$]!==0;$++);Y0!==$&&u[$]<=v0||(u[Y0++]=p)}return q=u,u}function y(b){for(var u=g(),Y0=0;Y0<u.length;Y0++)if(b.modn(u[Y0])===0)return b.cmpn(u[Y0])===0;return!0}function w(b){var u=j.mont(b);return P.toRed(u).redPow(b.subn(1)).fromRed().cmpn(1)===0}function f(b,u){if(b<16)return u===2||u===5?new j([140,123]):new j([140,39]);u=new j(u);for(var Y0,p;;){for(Y0=new j(k(Math.ceil(b/8)));Y0.bitLength()>b;)Y0.ishrn(1);if(Y0.isEven()&&Y0.iadd(C),Y0.testn(1)||Y0.iadd(P),u.cmp(P)){if(!u.cmp(T))for(;Y0.mod(H).cmp(D);)Y0.iadd(M)}else for(;Y0.mod(F).cmp(L);)Y0.iadd(M);if(p=Y0.shrn(1),y(p)&&y(Y0)&&w(p)&&w(Y0)&&X.test(p)&&X.test(Y0))return Y0}}}}),HY=S0({"node_modules/diffie-hellman/lib/primes.json"(N,_){_.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}}}),WY=S0({"node_modules/diffie-hellman/lib/dh.js"(N,_){var k=LQ(),j=RQ(),F=new j,z=new k(24),X=new k(11),C=new k(10),P=new k(3),T=new k(7),W=PQ(),J=L$();_.exports=M;function H(q,g){return g=g||"utf8",g0.isBuffer(q)||(q=new g0(q,g)),this._pub=new k(q),this}function D(q,g){return g=g||"utf8",g0.isBuffer(q)||(q=new g0(q,g)),this._priv=new k(q),this}var E={};function L(q,g){var y=g.toString("hex"),w=[y,q.toString(16)].join("_");if(w in E)return E[w];var f=0;if(q.isEven()||!W.simpleSieve||!W.fermatTest(q)||!F.test(q))return f+=1,y==="02"||y==="05"?f+=8:f+=4,E[w]=f,f;F.test(q.shrn(1))||(f+=2);var b;switch(y){case"02":q.mod(z).cmp(X)&&(f+=8);break;case"05":b=q.mod(C),b.cmp(P)&&b.cmp(T)&&(f+=8);break;default:f+=4}return E[w]=f,f}function M(q,g,y){this.setGenerator(g),this.__prime=new k(q),this._prime=k.mont(this.__prime),this._primeLen=q.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,y?(this.setPublicKey=H,this.setPrivateKey=D):this._primeCode=8}Object.defineProperty(M.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=L(this.__prime,this.__gen)),this._primeCode}}),M.prototype.generateKeys=function(){return this._priv||(this._priv=new k(J(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},M.prototype.computeSecret=function(q){q=new k(q),q=q.toRed(this._prime);var g=q.redPow(this._priv).fromRed(),y=new g0(g.toArray()),w=this.getPrime();if(y.length<w.length){var f=new g0(w.length-y.length);f.fill(0),y=g0.concat([f,y])}return y},M.prototype.getPublicKey=function(q){return v(this._pub,q)},M.prototype.getPrivateKey=function(q){return v(this._priv,q)},M.prototype.getPrime=function(q){return v(this.__prime,q)},M.prototype.getGenerator=function(q){return v(this._gen,q)},M.prototype.setGenerator=function(q,g){return g=g||"utf8",g0.isBuffer(q)||(q=new g0(q,g)),this.__gen=q,this._gen=new k(q),this};function v(q,g){var y=new g0(q.toArray());return g?y.toString(g):y}}}),EY=S0({"node_modules/diffie-hellman/browser.js"(N){var _=PQ(),k=HY(),j=WY();function F(C){var P=new g0(k[C].prime,"hex"),T=new g0(k[C].gen,"hex");return new j(P,T)}var z={binary:!0,hex:!0,base64:!0};function X(C,P,T,W){return g0.isBuffer(P)||z[P]===void 0?X(C,"binary",P,T):(P=P||"binary",W=W||"binary",T=T||new g0([2]),g0.isBuffer(T)||(T=new g0(T,W)),typeof C=="number"?new j(_(C,T),T,!0):(g0.isBuffer(C)||(C=new g0(C,P)),new j(C,T,!0)))}N.DiffieHellmanGroup=N.createDiffieHellmanGroup=N.getDiffieHellman=F,N.createDiffieHellman=N.DiffieHellman=X}}),c$=S0({"node_modules/bn.js/lib/bn.js"(N,_){(function(k,j){function F(Z,V){if(!Z)throw new Error(V||"Assertion failed")}function z(Z,V){Z.super_=V;var I=function(){};I.prototype=V.prototype,Z.prototype=new I,Z.prototype.constructor=Z}function X(Z,V,I){if(X.isBN(Z))return Z;this.negative=0,this.words=null,this.length=0,this.red=null,Z!==null&&((V==="le"||V==="be")&&(I=V,V=10),this._init(Z||0,V||10,I||"be"))}typeof k=="object"?k.exports=X:j.BN=X,X.BN=X,X.wordSize=26;var C=g0;X.isBN=function(Z){return Z instanceof X?!0:Z!==null&&typeof Z=="object"&&Z.constructor.wordSize===X.wordSize&&Array.isArray(Z.words)},X.max=function(Z,V){return Z.cmp(V)>0?Z:V},X.min=function(Z,V){return Z.cmp(V)<0?Z:V},X.prototype._init=function(Z,V,I){if(typeof Z=="number")return this._initNumber(Z,V,I);if(typeof Z=="object")return this._initArray(Z,V,I);V==="hex"&&(V=16),F(V===(V|0)&&V>=2&&V<=36),Z=Z.toString().replace(/\s+/g,"");var O=0;Z[0]==="-"&&(O++,this.negative=1),O<Z.length&&(V===16?this._parseHex(Z,O,I):(this._parseBase(Z,V,O),I==="le"&&this._initArray(this.toArray(),V,I)))},X.prototype._initNumber=function(Z,V,I){Z<0&&(this.negative=1,Z=-Z),Z<67108864?(this.words=[Z&67108863],this.length=1):Z<4503599627370496?(this.words=[Z&67108863,Z/67108864&67108863],this.length=2):(F(Z<9007199254740992),this.words=[Z&67108863,Z/67108864&67108863,1],this.length=3),I==="le"&&this._initArray(this.toArray(),V,I)},X.prototype._initArray=function(Z,V,I){if(F(typeof Z.length=="number"),Z.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(Z.length/3),this.words=new Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var U,Q,K=0;if(I==="be")for(O=Z.length-1,U=0;O>=0;O-=3)Q=Z[O]|Z[O-1]<<8|Z[O-2]<<16,this.words[U]|=Q<<K&67108863,this.words[U+1]=Q>>>26-K&67108863,K+=24,K>=26&&(K-=26,U++);else if(I==="le")for(O=0,U=0;O<Z.length;O+=3)Q=Z[O]|Z[O+1]<<8|Z[O+2]<<16,this.words[U]|=Q<<K&67108863,this.words[U+1]=Q>>>26-K&67108863,K+=24,K>=26&&(K-=26,U++);return this._strip()};function P(Z,V){var I=Z.charCodeAt(V);if(I>=48&&I<=57)return I-48;if(I>=65&&I<=70)return I-55;if(I>=97&&I<=102)return I-87;F(!1,"Invalid character in "+Z)}function T(Z,V,I){var O=P(Z,I);return I-1>=V&&(O|=P(Z,I-1)<<4),O}X.prototype._parseHex=function(Z,V,I){this.length=Math.ceil((Z.length-V)/6),this.words=new Array(this.length);for(var O=0;O<this.length;O++)this.words[O]=0;var U=0,Q=0,K;if(I==="be")for(O=Z.length-1;O>=V;O-=2)K=T(Z,V,O)<<U,this.words[Q]|=K&67108863,U>=18?(U-=18,Q+=1,this.words[Q]|=K>>>26):U+=8;else{var R=Z.length-V;for(O=R%2===0?V+1:V;O<Z.length;O+=2)K=T(Z,V,O)<<U,this.words[Q]|=K&67108863,U>=18?(U-=18,Q+=1,this.words[Q]|=K>>>26):U+=8}this._strip()};function W(Z,V,I,O){for(var U=0,Q=0,K=Math.min(Z.length,I),R=V;R<K;R++){var A=Z.charCodeAt(R)-48;U*=O,A>=49?Q=A-49+10:A>=17?Q=A-17+10:Q=A,F(A>=0&&Q<O,"Invalid character"),U+=Q}return U}X.prototype._parseBase=function(Z,V,I){this.words=[0],this.length=1;for(var O=0,U=1;U<=67108863;U*=V)O++;O--,U=U/V|0;for(var Q=Z.length-I,K=Q%O,R=Math.min(Q,Q-K)+I,A=0,S=I;S<R;S+=O)A=W(Z,S,S+O,V),this.imuln(U),this.words[0]+A<67108864?this.words[0]+=A:this._iaddn(A);if(K!==0){var x=1;for(A=W(Z,S,Z.length,V),S=0;S<K;S++)x*=V;this.imuln(x),this.words[0]+A<67108864?this.words[0]+=A:this._iaddn(A)}this._strip()},X.prototype.copy=function(Z){Z.words=new Array(this.length);for(var V=0;V<this.length;V++)Z.words[V]=this.words[V];Z.length=this.length,Z.negative=this.negative,Z.red=this.red};function J(Z,V){Z.words=V.words,Z.length=V.length,Z.negative=V.negative,Z.red=V.red}if(X.prototype._move=function(Z){J(Z,this)},X.prototype.clone=function(){var Z=new X(null);return this.copy(Z),Z},X.prototype._expand=function(Z){for(;this.length<Z;)this.words[this.length++]=0;return this},X.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},X.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{X.prototype[Symbol.for("nodejs.util.inspect.custom")]=H}catch{X.prototype.inspect=H}else X.prototype.inspect=H;function H(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var D=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],E=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],L=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];X.prototype.toString=function(Z,V){Z=Z||10,V=V|0||1;var I;if(Z===16||Z==="hex"){I="";for(var O=0,U=0,Q=0;Q<this.length;Q++){var K=this.words[Q],R=((K<<O|U)&16777215).toString(16);U=K>>>24-O&16777215,O+=2,O>=26&&(O-=26,Q--),U!==0||Q!==this.length-1?I=D[6-R.length]+R+I:I=R+I}for(U!==0&&(I=U.toString(16)+I);I.length%V!==0;)I="0"+I;return this.negative!==0&&(I="-"+I),I}if(Z===(Z|0)&&Z>=2&&Z<=36){var A=E[Z],S=L[Z];I="";var x=this.clone();for(x.negative=0;!x.isZero();){var B=x.modrn(S).toString(Z);x=x.idivn(S),x.isZero()?I=B+I:I=D[A-B.length]+B+I}for(this.isZero()&&(I="0"+I);I.length%V!==0;)I="0"+I;return this.negative!==0&&(I="-"+I),I}F(!1,"Base should be between 2 and 36")},X.prototype.toNumber=function(){var Z=this.words[0];return this.length===2?Z+=this.words[1]*67108864:this.length===3&&this.words[2]===1?Z+=4503599627370496+this.words[1]*67108864:this.length>2&&F(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-Z:Z},X.prototype.toJSON=function(){return this.toString(16,2)},C&&(X.prototype.toBuffer=function(Z,V){return this.toArrayLike(C,Z,V)}),X.prototype.toArray=function(Z,V){return this.toArrayLike(Array,Z,V)};var M=function(Z,V){return Z.allocUnsafe?Z.allocUnsafe(V):new Z(V)};X.prototype.toArrayLike=function(Z,V,I){this._strip();var O=this.byteLength(),U=I||Math.max(1,O);F(O<=U,"byte array longer than desired length"),F(U>0,"Requested array length <= 0");var Q=M(Z,U),K=V==="le"?"LE":"BE";return this["_toArrayLike"+K](Q,O),Q},X.prototype._toArrayLikeLE=function(Z,V){for(var I=0,O=0,U=0,Q=0;U<this.length;U++){var K=this.words[U]<<Q|O;Z[I++]=K&255,I<Z.length&&(Z[I++]=K>>8&255),I<Z.length&&(Z[I++]=K>>16&255),Q===6?(I<Z.length&&(Z[I++]=K>>24&255),O=0,Q=0):(O=K>>>24,Q+=2)}if(I<Z.length)for(Z[I++]=O;I<Z.length;)Z[I++]=0},X.prototype._toArrayLikeBE=function(Z,V){for(var I=Z.length-1,O=0,U=0,Q=0;U<this.length;U++){var K=this.words[U]<<Q|O;Z[I--]=K&255,I>=0&&(Z[I--]=K>>8&255),I>=0&&(Z[I--]=K>>16&255),Q===6?(I>=0&&(Z[I--]=K>>24&255),O=0,Q=0):(O=K>>>24,Q+=2)}if(I>=0)for(Z[I--]=O;I>=0;)Z[I--]=0},Math.clz32?X.prototype._countBits=function(Z){return 32-Math.clz32(Z)}:X.prototype._countBits=function(Z){var V=Z,I=0;return V>=4096&&(I+=13,V>>>=13),V>=64&&(I+=7,V>>>=7),V>=8&&(I+=4,V>>>=4),V>=2&&(I+=2,V>>>=2),I+V},X.prototype._zeroBits=function(Z){if(Z===0)return 26;var V=Z,I=0;return(V&8191)===0&&(I+=13,V>>>=13),(V&127)===0&&(I+=7,V>>>=7),(V&15)===0&&(I+=4,V>>>=4),(V&3)===0&&(I+=2,V>>>=2),(V&1)===0&&I++,I},X.prototype.bitLength=function(){var Z=this.words[this.length-1],V=this._countBits(Z);return(this.length-1)*26+V};function v(Z){for(var V=new Array(Z.bitLength()),I=0;I<V.length;I++){var O=I/26|0,U=I%26;V[I]=Z.words[O]>>>U&1}return V}X.prototype.zeroBits=function(){if(this.isZero())return 0;for(var Z=0,V=0;V<this.length;V++){var I=this._zeroBits(this.words[V]);if(Z+=I,I!==26)break}return Z},X.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},X.prototype.toTwos=function(Z){return this.negative!==0?this.abs().inotn(Z).iaddn(1):this.clone()},X.prototype.fromTwos=function(Z){return this.testn(Z-1)?this.notn(Z).iaddn(1).ineg():this.clone()},X.prototype.isNeg=function(){return this.negative!==0},X.prototype.neg=function(){return this.clone().ineg()},X.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},X.prototype.iuor=function(Z){for(;this.length<Z.length;)this.words[this.length++]=0;for(var V=0;V<Z.length;V++)this.words[V]=this.words[V]|Z.words[V];return this._strip()},X.prototype.ior=function(Z){return F((this.negative|Z.negative)===0),this.iuor(Z)},X.prototype.or=function(Z){return this.length>Z.length?this.clone().ior(Z):Z.clone().ior(this)},X.prototype.uor=function(Z){return this.length>Z.length?this.clone().iuor(Z):Z.clone().iuor(this)},X.prototype.iuand=function(Z){var V;this.length>Z.length?V=Z:V=this;for(var I=0;I<V.length;I++)this.words[I]=this.words[I]&Z.words[I];return this.length=V.length,this._strip()},X.prototype.iand=function(Z){return F((this.negative|Z.negative)===0),this.iuand(Z)},X.prototype.and=function(Z){return this.length>Z.length?this.clone().iand(Z):Z.clone().iand(this)},X.prototype.uand=function(Z){return this.length>Z.length?this.clone().iuand(Z):Z.clone().iuand(this)},X.prototype.iuxor=function(Z){var V,I;this.length>Z.length?(V=this,I=Z):(V=Z,I=this);for(var O=0;O<I.length;O++)this.words[O]=V.words[O]^I.words[O];if(this!==V)for(;O<V.length;O++)this.words[O]=V.words[O];return this.length=V.length,this._strip()},X.prototype.ixor=function(Z){return F((this.negative|Z.negative)===0),this.iuxor(Z)},X.prototype.xor=function(Z){return this.length>Z.length?this.clone().ixor(Z):Z.clone().ixor(this)},X.prototype.uxor=function(Z){return this.length>Z.length?this.clone().iuxor(Z):Z.clone().iuxor(this)},X.prototype.inotn=function(Z){F(typeof Z=="number"&&Z>=0);var V=Math.ceil(Z/26)|0,I=Z%26;this._expand(V),I>0&&V--;for(var O=0;O<V;O++)this.words[O]=~this.words[O]&67108863;return I>0&&(this.words[O]=~this.words[O]&67108863>>26-I),this._strip()},X.prototype.notn=function(Z){return this.clone().inotn(Z)},X.prototype.setn=function(Z,V){F(typeof Z=="number"&&Z>=0);var I=Z/26|0,O=Z%26;return this._expand(I+1),V?this.words[I]=this.words[I]|1<<O:this.words[I]=this.words[I]&~(1<<O),this._strip()},X.prototype.iadd=function(Z){var V;if(this.negative!==0&&Z.negative===0)return this.negative=0,V=this.isub(Z),this.negative^=1,this._normSign();if(this.negative===0&&Z.negative!==0)return Z.negative=0,V=this.isub(Z),Z.negative=1,V._normSign();var I,O;this.length>Z.length?(I=this,O=Z):(I=Z,O=this);for(var U=0,Q=0;Q<O.length;Q++)V=(I.words[Q]|0)+(O.words[Q]|0)+U,this.words[Q]=V&67108863,U=V>>>26;for(;U!==0&&Q<I.length;Q++)V=(I.words[Q]|0)+U,this.words[Q]=V&67108863,U=V>>>26;if(this.length=I.length,U!==0)this.words[this.length]=U,this.length++;else if(I!==this)for(;Q<I.length;Q++)this.words[Q]=I.words[Q];return this},X.prototype.add=function(Z){var V;return Z.negative!==0&&this.negative===0?(Z.negative=0,V=this.sub(Z),Z.negative^=1,V):Z.negative===0&&this.negative!==0?(this.negative=0,V=Z.sub(this),this.negative=1,V):this.length>Z.length?this.clone().iadd(Z):Z.clone().iadd(this)},X.prototype.isub=function(Z){if(Z.negative!==0){Z.negative=0;var V=this.iadd(Z);return Z.negative=1,V._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(Z),this.negative=1,this._normSign();var I=this.cmp(Z);if(I===0)return this.negative=0,this.length=1,this.words[0]=0,this;var O,U;I>0?(O=this,U=Z):(O=Z,U=this);for(var Q=0,K=0;K<U.length;K++)V=(O.words[K]|0)-(U.words[K]|0)+Q,Q=V>>26,this.words[K]=V&67108863;for(;Q!==0&&K<O.length;K++)V=(O.words[K]|0)+Q,Q=V>>26,this.words[K]=V&67108863;if(Q===0&&K<O.length&&O!==this)for(;K<O.length;K++)this.words[K]=O.words[K];return this.length=Math.max(this.length,K),O!==this&&(this.negative=1),this._strip()},X.prototype.sub=function(Z){return this.clone().isub(Z)};function q(Z,V,I){I.negative=V.negative^Z.negative;var O=Z.length+V.length|0;I.length=O,O=O-1|0;var U=Z.words[0]|0,Q=V.words[0]|0,K=U*Q,R=K&67108863,A=K/67108864|0;I.words[0]=R;for(var S=1;S<O;S++){for(var x=A>>>26,B=A&67108863,c=Math.min(S,V.length-1),q0=Math.max(0,S-Z.length+1);q0<=c;q0++){var h=S-q0|0;U=Z.words[h]|0,Q=V.words[q0]|0,K=U*Q+B,x+=K/67108864|0,B=K&67108863}I.words[S]=B|0,A=x|0}return A!==0?I.words[S]=A|0:I.length--,I._strip()}var g=function(Z,V,I){var O=Z.words,U=V.words,Q=I.words,K=0,R,A,S,x=O[0]|0,B=x&8191,c=x>>>13,q0=O[1]|0,h=q0&8191,d=q0>>>13,_0=O[2]|0,l=_0&8191,n=_0>>>13,y0=O[3]|0,t=y0&8191,s=y0>>>13,w0=O[4]|0,m=w0&8191,r=w0>>>13,$$=O[5]|0,i=$$&8191,e=$$>>>13,x0=O[6]|0,o=x0&8191,a=x0>>>13,p0=O[7]|0,$0=p0&8191,Q0=p0>>>13,Y$=O[8]|0,Z0=Y$&8191,G0=Y$>>>13,Z$=O[9]|0,V0=Z$&8191,U0=Z$>>>13,G$=U[0]|0,X0=G$&8191,K0=G$>>>13,V$=U[1]|0,I0=V$&8191,O0=V$>>>13,U$=U[2]|0,J0=U$&8191,F0=U$>>>13,X$=U[3]|0,A0=X$&8191,H0=X$>>>13,K$=U[4]|0,W0=K$&8191,E0=K$>>>13,I$=U[5]|0,T0=I$&8191,D0=I$>>>13,O$=U[6]|0,C0=O$&8191,L0=O$>>>13,J$=U[7]|0,R0=J$&8191,P0=J$>>>13,F$=U[8]|0,z0=F$&8191,M0=F$>>>13,Q$=U[9]|0,j0=Q$&8191,k0=Q$>>>13;I.negative=Z.negative^V.negative,I.length=19,R=Math.imul(B,X0),A=Math.imul(B,K0),A=A+Math.imul(c,X0)|0,S=Math.imul(c,K0);var f0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(f0>>>26)|0,f0&=67108863,R=Math.imul(h,X0),A=Math.imul(h,K0),A=A+Math.imul(d,X0)|0,S=Math.imul(d,K0),R=R+Math.imul(B,I0)|0,A=A+Math.imul(B,O0)|0,A=A+Math.imul(c,I0)|0,S=S+Math.imul(c,O0)|0;var c0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(c0>>>26)|0,c0&=67108863,R=Math.imul(l,X0),A=Math.imul(l,K0),A=A+Math.imul(n,X0)|0,S=Math.imul(n,K0),R=R+Math.imul(h,I0)|0,A=A+Math.imul(h,O0)|0,A=A+Math.imul(d,I0)|0,S=S+Math.imul(d,O0)|0,R=R+Math.imul(B,J0)|0,A=A+Math.imul(B,F0)|0,A=A+Math.imul(c,J0)|0,S=S+Math.imul(c,F0)|0;var h0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(h0>>>26)|0,h0&=67108863,R=Math.imul(t,X0),A=Math.imul(t,K0),A=A+Math.imul(s,X0)|0,S=Math.imul(s,K0),R=R+Math.imul(l,I0)|0,A=A+Math.imul(l,O0)|0,A=A+Math.imul(n,I0)|0,S=S+Math.imul(n,O0)|0,R=R+Math.imul(h,J0)|0,A=A+Math.imul(h,F0)|0,A=A+Math.imul(d,J0)|0,S=S+Math.imul(d,F0)|0,R=R+Math.imul(B,A0)|0,A=A+Math.imul(B,H0)|0,A=A+Math.imul(c,A0)|0,S=S+Math.imul(c,H0)|0;var d0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(d0>>>26)|0,d0&=67108863,R=Math.imul(m,X0),A=Math.imul(m,K0),A=A+Math.imul(r,X0)|0,S=Math.imul(r,K0),R=R+Math.imul(t,I0)|0,A=A+Math.imul(t,O0)|0,A=A+Math.imul(s,I0)|0,S=S+Math.imul(s,O0)|0,R=R+Math.imul(l,J0)|0,A=A+Math.imul(l,F0)|0,A=A+Math.imul(n,J0)|0,S=S+Math.imul(n,F0)|0,R=R+Math.imul(h,A0)|0,A=A+Math.imul(h,H0)|0,A=A+Math.imul(d,A0)|0,S=S+Math.imul(d,H0)|0,R=R+Math.imul(B,W0)|0,A=A+Math.imul(B,E0)|0,A=A+Math.imul(c,W0)|0,S=S+Math.imul(c,E0)|0;var b0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(b0>>>26)|0,b0&=67108863,R=Math.imul(i,X0),A=Math.imul(i,K0),A=A+Math.imul(e,X0)|0,S=Math.imul(e,K0),R=R+Math.imul(m,I0)|0,A=A+Math.imul(m,O0)|0,A=A+Math.imul(r,I0)|0,S=S+Math.imul(r,O0)|0,R=R+Math.imul(t,J0)|0,A=A+Math.imul(t,F0)|0,A=A+Math.imul(s,J0)|0,S=S+Math.imul(s,F0)|0,R=R+Math.imul(l,A0)|0,A=A+Math.imul(l,H0)|0,A=A+Math.imul(n,A0)|0,S=S+Math.imul(n,H0)|0,R=R+Math.imul(h,W0)|0,A=A+Math.imul(h,E0)|0,A=A+Math.imul(d,W0)|0,S=S+Math.imul(d,E0)|0,R=R+Math.imul(B,T0)|0,A=A+Math.imul(B,D0)|0,A=A+Math.imul(c,T0)|0,S=S+Math.imul(c,D0)|0;var l0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(l0>>>26)|0,l0&=67108863,R=Math.imul(o,X0),A=Math.imul(o,K0),A=A+Math.imul(a,X0)|0,S=Math.imul(a,K0),R=R+Math.imul(i,I0)|0,A=A+Math.imul(i,O0)|0,A=A+Math.imul(e,I0)|0,S=S+Math.imul(e,O0)|0,R=R+Math.imul(m,J0)|0,A=A+Math.imul(m,F0)|0,A=A+Math.imul(r,J0)|0,S=S+Math.imul(r,F0)|0,R=R+Math.imul(t,A0)|0,A=A+Math.imul(t,H0)|0,A=A+Math.imul(s,A0)|0,S=S+Math.imul(s,H0)|0,R=R+Math.imul(l,W0)|0,A=A+Math.imul(l,E0)|0,A=A+Math.imul(n,W0)|0,S=S+Math.imul(n,E0)|0,R=R+Math.imul(h,T0)|0,A=A+Math.imul(h,D0)|0,A=A+Math.imul(d,T0)|0,S=S+Math.imul(d,D0)|0,R=R+Math.imul(B,C0)|0,A=A+Math.imul(B,L0)|0,A=A+Math.imul(c,C0)|0,S=S+Math.imul(c,L0)|0;var o0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(o0>>>26)|0,o0&=67108863,R=Math.imul($0,X0),A=Math.imul($0,K0),A=A+Math.imul(Q0,X0)|0,S=Math.imul(Q0,K0),R=R+Math.imul(o,I0)|0,A=A+Math.imul(o,O0)|0,A=A+Math.imul(a,I0)|0,S=S+Math.imul(a,O0)|0,R=R+Math.imul(i,J0)|0,A=A+Math.imul(i,F0)|0,A=A+Math.imul(e,J0)|0,S=S+Math.imul(e,F0)|0,R=R+Math.imul(m,A0)|0,A=A+Math.imul(m,H0)|0,A=A+Math.imul(r,A0)|0,S=S+Math.imul(r,H0)|0,R=R+Math.imul(t,W0)|0,A=A+Math.imul(t,E0)|0,A=A+Math.imul(s,W0)|0,S=S+Math.imul(s,E0)|0,R=R+Math.imul(l,T0)|0,A=A+Math.imul(l,D0)|0,A=A+Math.imul(n,T0)|0,S=S+Math.imul(n,D0)|0,R=R+Math.imul(h,C0)|0,A=A+Math.imul(h,L0)|0,A=A+Math.imul(d,C0)|0,S=S+Math.imul(d,L0)|0,R=R+Math.imul(B,R0)|0,A=A+Math.imul(B,P0)|0,A=A+Math.imul(c,R0)|0,S=S+Math.imul(c,P0)|0;var u0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(u0>>>26)|0,u0&=67108863,R=Math.imul(Z0,X0),A=Math.imul(Z0,K0),A=A+Math.imul(G0,X0)|0,S=Math.imul(G0,K0),R=R+Math.imul($0,I0)|0,A=A+Math.imul($0,O0)|0,A=A+Math.imul(Q0,I0)|0,S=S+Math.imul(Q0,O0)|0,R=R+Math.imul(o,J0)|0,A=A+Math.imul(o,F0)|0,A=A+Math.imul(a,J0)|0,S=S+Math.imul(a,F0)|0,R=R+Math.imul(i,A0)|0,A=A+Math.imul(i,H0)|0,A=A+Math.imul(e,A0)|0,S=S+Math.imul(e,H0)|0,R=R+Math.imul(m,W0)|0,A=A+Math.imul(m,E0)|0,A=A+Math.imul(r,W0)|0,S=S+Math.imul(r,E0)|0,R=R+Math.imul(t,T0)|0,A=A+Math.imul(t,D0)|0,A=A+Math.imul(s,T0)|0,S=S+Math.imul(s,D0)|0,R=R+Math.imul(l,C0)|0,A=A+Math.imul(l,L0)|0,A=A+Math.imul(n,C0)|0,S=S+Math.imul(n,L0)|0,R=R+Math.imul(h,R0)|0,A=A+Math.imul(h,P0)|0,A=A+Math.imul(d,R0)|0,S=S+Math.imul(d,P0)|0,R=R+Math.imul(B,z0)|0,A=A+Math.imul(B,M0)|0,A=A+Math.imul(c,z0)|0,S=S+Math.imul(c,M0)|0;var n0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(n0>>>26)|0,n0&=67108863,R=Math.imul(V0,X0),A=Math.imul(V0,K0),A=A+Math.imul(U0,X0)|0,S=Math.imul(U0,K0),R=R+Math.imul(Z0,I0)|0,A=A+Math.imul(Z0,O0)|0,A=A+Math.imul(G0,I0)|0,S=S+Math.imul(G0,O0)|0,R=R+Math.imul($0,J0)|0,A=A+Math.imul($0,F0)|0,A=A+Math.imul(Q0,J0)|0,S=S+Math.imul(Q0,F0)|0,R=R+Math.imul(o,A0)|0,A=A+Math.imul(o,H0)|0,A=A+Math.imul(a,A0)|0,S=S+Math.imul(a,H0)|0,R=R+Math.imul(i,W0)|0,A=A+Math.imul(i,E0)|0,A=A+Math.imul(e,W0)|0,S=S+Math.imul(e,E0)|0,R=R+Math.imul(m,T0)|0,A=A+Math.imul(m,D0)|0,A=A+Math.imul(r,T0)|0,S=S+Math.imul(r,D0)|0,R=R+Math.imul(t,C0)|0,A=A+Math.imul(t,L0)|0,A=A+Math.imul(s,C0)|0,S=S+Math.imul(s,L0)|0,R=R+Math.imul(l,R0)|0,A=A+Math.imul(l,P0)|0,A=A+Math.imul(n,R0)|0,S=S+Math.imul(n,P0)|0,R=R+Math.imul(h,z0)|0,A=A+Math.imul(h,M0)|0,A=A+Math.imul(d,z0)|0,S=S+Math.imul(d,M0)|0,R=R+Math.imul(B,j0)|0,A=A+Math.imul(B,k0)|0,A=A+Math.imul(c,j0)|0,S=S+Math.imul(c,k0)|0;var s0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(s0>>>26)|0,s0&=67108863,R=Math.imul(V0,I0),A=Math.imul(V0,O0),A=A+Math.imul(U0,I0)|0,S=Math.imul(U0,O0),R=R+Math.imul(Z0,J0)|0,A=A+Math.imul(Z0,F0)|0,A=A+Math.imul(G0,J0)|0,S=S+Math.imul(G0,F0)|0,R=R+Math.imul($0,A0)|0,A=A+Math.imul($0,H0)|0,A=A+Math.imul(Q0,A0)|0,S=S+Math.imul(Q0,H0)|0,R=R+Math.imul(o,W0)|0,A=A+Math.imul(o,E0)|0,A=A+Math.imul(a,W0)|0,S=S+Math.imul(a,E0)|0,R=R+Math.imul(i,T0)|0,A=A+Math.imul(i,D0)|0,A=A+Math.imul(e,T0)|0,S=S+Math.imul(e,D0)|0,R=R+Math.imul(m,C0)|0,A=A+Math.imul(m,L0)|0,A=A+Math.imul(r,C0)|0,S=S+Math.imul(r,L0)|0,R=R+Math.imul(t,R0)|0,A=A+Math.imul(t,P0)|0,A=A+Math.imul(s,R0)|0,S=S+Math.imul(s,P0)|0,R=R+Math.imul(l,z0)|0,A=A+Math.imul(l,M0)|0,A=A+Math.imul(n,z0)|0,S=S+Math.imul(n,M0)|0,R=R+Math.imul(h,j0)|0,A=A+Math.imul(h,k0)|0,A=A+Math.imul(d,j0)|0,S=S+Math.imul(d,k0)|0;var t0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(t0>>>26)|0,t0&=67108863,R=Math.imul(V0,J0),A=Math.imul(V0,F0),A=A+Math.imul(U0,J0)|0,S=Math.imul(U0,F0),R=R+Math.imul(Z0,A0)|0,A=A+Math.imul(Z0,H0)|0,A=A+Math.imul(G0,A0)|0,S=S+Math.imul(G0,H0)|0,R=R+Math.imul($0,W0)|0,A=A+Math.imul($0,E0)|0,A=A+Math.imul(Q0,W0)|0,S=S+Math.imul(Q0,E0)|0,R=R+Math.imul(o,T0)|0,A=A+Math.imul(o,D0)|0,A=A+Math.imul(a,T0)|0,S=S+Math.imul(a,D0)|0,R=R+Math.imul(i,C0)|0,A=A+Math.imul(i,L0)|0,A=A+Math.imul(e,C0)|0,S=S+Math.imul(e,L0)|0,R=R+Math.imul(m,R0)|0,A=A+Math.imul(m,P0)|0,A=A+Math.imul(r,R0)|0,S=S+Math.imul(r,P0)|0,R=R+Math.imul(t,z0)|0,A=A+Math.imul(t,M0)|0,A=A+Math.imul(s,z0)|0,S=S+Math.imul(s,M0)|0,R=R+Math.imul(l,j0)|0,A=A+Math.imul(l,k0)|0,A=A+Math.imul(n,j0)|0,S=S+Math.imul(n,k0)|0;var m0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(m0>>>26)|0,m0&=67108863,R=Math.imul(V0,A0),A=Math.imul(V0,H0),A=A+Math.imul(U0,A0)|0,S=Math.imul(U0,H0),R=R+Math.imul(Z0,W0)|0,A=A+Math.imul(Z0,E0)|0,A=A+Math.imul(G0,W0)|0,S=S+Math.imul(G0,E0)|0,R=R+Math.imul($0,T0)|0,A=A+Math.imul($0,D0)|0,A=A+Math.imul(Q0,T0)|0,S=S+Math.imul(Q0,D0)|0,R=R+Math.imul(o,C0)|0,A=A+Math.imul(o,L0)|0,A=A+Math.imul(a,C0)|0,S=S+Math.imul(a,L0)|0,R=R+Math.imul(i,R0)|0,A=A+Math.imul(i,P0)|0,A=A+Math.imul(e,R0)|0,S=S+Math.imul(e,P0)|0,R=R+Math.imul(m,z0)|0,A=A+Math.imul(m,M0)|0,A=A+Math.imul(r,z0)|0,S=S+Math.imul(r,M0)|0,R=R+Math.imul(t,j0)|0,A=A+Math.imul(t,k0)|0,A=A+Math.imul(s,j0)|0,S=S+Math.imul(s,k0)|0;var a0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(a0>>>26)|0,a0&=67108863,R=Math.imul(V0,W0),A=Math.imul(V0,E0),A=A+Math.imul(U0,W0)|0,S=Math.imul(U0,E0),R=R+Math.imul(Z0,T0)|0,A=A+Math.imul(Z0,D0)|0,A=A+Math.imul(G0,T0)|0,S=S+Math.imul(G0,D0)|0,R=R+Math.imul($0,C0)|0,A=A+Math.imul($0,L0)|0,A=A+Math.imul(Q0,C0)|0,S=S+Math.imul(Q0,L0)|0,R=R+Math.imul(o,R0)|0,A=A+Math.imul(o,P0)|0,A=A+Math.imul(a,R0)|0,S=S+Math.imul(a,P0)|0,R=R+Math.imul(i,z0)|0,A=A+Math.imul(i,M0)|0,A=A+Math.imul(e,z0)|0,S=S+Math.imul(e,M0)|0,R=R+Math.imul(m,j0)|0,A=A+Math.imul(m,k0)|0,A=A+Math.imul(r,j0)|0,S=S+Math.imul(r,k0)|0;var e0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(e0>>>26)|0,e0&=67108863,R=Math.imul(V0,T0),A=Math.imul(V0,D0),A=A+Math.imul(U0,T0)|0,S=Math.imul(U0,D0),R=R+Math.imul(Z0,C0)|0,A=A+Math.imul(Z0,L0)|0,A=A+Math.imul(G0,C0)|0,S=S+Math.imul(G0,L0)|0,R=R+Math.imul($0,R0)|0,A=A+Math.imul($0,P0)|0,A=A+Math.imul(Q0,R0)|0,S=S+Math.imul(Q0,P0)|0,R=R+Math.imul(o,z0)|0,A=A+Math.imul(o,M0)|0,A=A+Math.imul(a,z0)|0,S=S+Math.imul(a,M0)|0,R=R+Math.imul(i,j0)|0,A=A+Math.imul(i,k0)|0,A=A+Math.imul(e,j0)|0,S=S+Math.imul(e,k0)|0;var r0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(r0>>>26)|0,r0&=67108863,R=Math.imul(V0,C0),A=Math.imul(V0,L0),A=A+Math.imul(U0,C0)|0,S=Math.imul(U0,L0),R=R+Math.imul(Z0,R0)|0,A=A+Math.imul(Z0,P0)|0,A=A+Math.imul(G0,R0)|0,S=S+Math.imul(G0,P0)|0,R=R+Math.imul($0,z0)|0,A=A+Math.imul($0,M0)|0,A=A+Math.imul(Q0,z0)|0,S=S+Math.imul(Q0,M0)|0,R=R+Math.imul(o,j0)|0,A=A+Math.imul(o,k0)|0,A=A+Math.imul(a,j0)|0,S=S+Math.imul(a,k0)|0;var i0=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(i0>>>26)|0,i0&=67108863,R=Math.imul(V0,R0),A=Math.imul(V0,P0),A=A+Math.imul(U0,R0)|0,S=Math.imul(U0,P0),R=R+Math.imul(Z0,z0)|0,A=A+Math.imul(Z0,M0)|0,A=A+Math.imul(G0,z0)|0,S=S+Math.imul(G0,M0)|0,R=R+Math.imul($0,j0)|0,A=A+Math.imul($0,k0)|0,A=A+Math.imul(Q0,j0)|0,S=S+Math.imul(Q0,k0)|0;var _$=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(_$>>>26)|0,_$&=67108863,R=Math.imul(V0,z0),A=Math.imul(V0,M0),A=A+Math.imul(U0,z0)|0,S=Math.imul(U0,M0),R=R+Math.imul(Z0,j0)|0,A=A+Math.imul(Z0,k0)|0,A=A+Math.imul(G0,j0)|0,S=S+Math.imul(G0,k0)|0;var N$=(K+R|0)+((A&8191)<<13)|0;K=(S+(A>>>13)|0)+(N$>>>26)|0,N$&=67108863,R=Math.imul(V0,j0),A=Math.imul(V0,k0),A=A+Math.imul(U0,j0)|0,S=Math.imul(U0,k0);var x$=(K+R|0)+((A&8191)<<13)|0;return K=(S+(A>>>13)|0)+(x$>>>26)|0,x$&=67108863,Q[0]=f0,Q[1]=c0,Q[2]=h0,Q[3]=d0,Q[4]=b0,Q[5]=l0,Q[6]=o0,Q[7]=u0,Q[8]=n0,Q[9]=s0,Q[10]=t0,Q[11]=m0,Q[12]=a0,Q[13]=e0,Q[14]=r0,Q[15]=i0,Q[16]=_$,Q[17]=N$,Q[18]=x$,K!==0&&(Q[19]=K,I.length++),I};Math.imul||(g=q);function y(Z,V,I){I.negative=V.negative^Z.negative,I.length=Z.length+V.length;for(var O=0,U=0,Q=0;Q<I.length-1;Q++){var K=U;U=0;for(var R=O&67108863,A=Math.min(Q,V.length-1),S=Math.max(0,Q-Z.length+1);S<=A;S++){var x=Q-S,B=Z.words[x]|0,c=V.words[S]|0,q0=B*c,h=q0&67108863;K=K+(q0/67108864|0)|0,h=h+R|0,R=h&67108863,K=K+(h>>>26)|0,U+=K>>>26,K&=67108863}I.words[Q]=R,O=K,K=U}return O!==0?I.words[Q]=O:I.length--,I._strip()}function w(Z,V,I){return y(Z,V,I)}X.prototype.mulTo=function(Z,V){var I,O=this.length+Z.length;return this.length===10&&Z.length===10?I=g(this,Z,V):O<63?I=q(this,Z,V):O<1024?I=y(this,Z,V):I=w(this,Z,V),I};function f(Z,V){this.x=Z,this.y=V}f.prototype.makeRBT=function(Z){for(var V=new Array(Z),I=X.prototype._countBits(Z)-1,O=0;O<Z;O++)V[O]=this.revBin(O,I,Z);return V},f.prototype.revBin=function(Z,V,I){if(Z===0||Z===I-1)return Z;for(var O=0,U=0;U<V;U++)O|=(Z&1)<<V-U-1,Z>>=1;return O},f.prototype.permute=function(Z,V,I,O,U,Q){for(var K=0;K<Q;K++)O[K]=V[Z[K]],U[K]=I[Z[K]]},f.prototype.transform=function(Z,V,I,O,U,Q){this.permute(Q,Z,V,I,O,U);for(var K=1;K<U;K<<=1)for(var R=K<<1,A=Math.cos(2*Math.PI/R),S=Math.sin(2*Math.PI/R),x=0;x<U;x+=R)for(var B=A,c=S,q0=0;q0<K;q0++){var h=I[x+q0],d=O[x+q0],_0=I[x+q0+K],l=O[x+q0+K],n=B*_0-c*l;l=B*l+c*_0,_0=n,I[x+q0]=h+_0,O[x+q0]=d+l,I[x+q0+K]=h-_0,O[x+q0+K]=d-l,q0!==R&&(n=A*B-S*c,c=A*c+S*B,B=n)}},f.prototype.guessLen13b=function(Z,V){var I=Math.max(V,Z)|1,O=I&1,U=0;for(I=I/2|0;I;I=I>>>1)U++;return 1<<U+1+O},f.prototype.conjugate=function(Z,V,I){if(!(I<=1))for(var O=0;O<I/2;O++){var U=Z[O];Z[O]=Z[I-O-1],Z[I-O-1]=U,U=V[O],V[O]=-V[I-O-1],V[I-O-1]=-U}},f.prototype.normalize13b=function(Z,V){for(var I=0,O=0;O<V/2;O++){var U=Math.round(Z[2*O+1]/V)*8192+Math.round(Z[2*O]/V)+I;Z[O]=U&67108863,U<67108864?I=0:I=U/67108864|0}return Z},f.prototype.convert13b=function(Z,V,I,O){for(var U=0,Q=0;Q<V;Q++)U=U+(Z[Q]|0),I[2*Q]=U&8191,U=U>>>13,I[2*Q+1]=U&8191,U=U>>>13;for(Q=2*V;Q<O;++Q)I[Q]=0;F(U===0),F((U&-8192)===0)},f.prototype.stub=function(Z){for(var V=new Array(Z),I=0;I<Z;I++)V[I]=0;return V},f.prototype.mulp=function(Z,V,I){var O=2*this.guessLen13b(Z.length,V.length),U=this.makeRBT(O),Q=this.stub(O),K=new Array(O),R=new Array(O),A=new Array(O),S=new Array(O),x=new Array(O),B=new Array(O),c=I.words;c.length=O,this.convert13b(Z.words,Z.length,K,O),this.convert13b(V.words,V.length,S,O),this.transform(K,Q,R,A,O,U),this.transform(S,Q,x,B,O,U);for(var q0=0;q0<O;q0++){var h=R[q0]*x[q0]-A[q0]*B[q0];A[q0]=R[q0]*B[q0]+A[q0]*x[q0],R[q0]=h}return this.conjugate(R,A,O),this.transform(R,A,c,Q,O,U),this.conjugate(c,Q,O),this.normalize13b(c,O),I.negative=Z.negative^V.negative,I.length=Z.length+V.length,I._strip()},X.prototype.mul=function(Z){var V=new X(null);return V.words=new Array(this.length+Z.length),this.mulTo(Z,V)},X.prototype.mulf=function(Z){var V=new X(null);return V.words=new Array(this.length+Z.length),w(this,Z,V)},X.prototype.imul=function(Z){return this.clone().mulTo(Z,this)},X.prototype.imuln=function(Z){var V=Z<0;V&&(Z=-Z),F(typeof Z=="number"),F(Z<67108864);for(var I=0,O=0;O<this.length;O++){var U=(this.words[O]|0)*Z,Q=(U&67108863)+(I&67108863);I>>=26,I+=U/67108864|0,I+=Q>>>26,this.words[O]=Q&67108863}return I!==0&&(this.words[O]=I,this.length++),V?this.ineg():this},X.prototype.muln=function(Z){return this.clone().imuln(Z)},X.prototype.sqr=function(){return this.mul(this)},X.prototype.isqr=function(){return this.imul(this.clone())},X.prototype.pow=function(Z){var V=v(Z);if(V.length===0)return new X(1);for(var I=this,O=0;O<V.length&&V[O]===0;O++,I=I.sqr());if(++O<V.length)for(var U=I.sqr();O<V.length;O++,U=U.sqr())V[O]!==0&&(I=I.mul(U));return I},X.prototype.iushln=function(Z){F(typeof Z=="number"&&Z>=0);var V=Z%26,I=(Z-V)/26,O=67108863>>>26-V<<26-V,U;if(V!==0){var Q=0;for(U=0;U<this.length;U++){var K=this.words[U]&O,R=(this.words[U]|0)-K<<V;this.words[U]=R|Q,Q=K>>>26-V}Q&&(this.words[U]=Q,this.length++)}if(I!==0){for(U=this.length-1;U>=0;U--)this.words[U+I]=this.words[U];for(U=0;U<I;U++)this.words[U]=0;this.length+=I}return this._strip()},X.prototype.ishln=function(Z){return F(this.negative===0),this.iushln(Z)},X.prototype.iushrn=function(Z,V,I){F(typeof Z=="number"&&Z>=0);var O;V?O=(V-V%26)/26:O=0;var U=Z%26,Q=Math.min((Z-U)/26,this.length),K=67108863^67108863>>>U<<U,R=I;if(O-=Q,O=Math.max(0,O),R){for(var A=0;A<Q;A++)R.words[A]=this.words[A];R.length=Q}if(Q!==0)if(this.length>Q)for(this.length-=Q,A=0;A<this.length;A++)this.words[A]=this.words[A+Q];else this.words[0]=0,this.length=1;var S=0;for(A=this.length-1;A>=0&&(S!==0||A>=O);A--){var x=this.words[A]|0;this.words[A]=S<<26-U|x>>>U,S=x&K}return R&&S!==0&&(R.words[R.length++]=S),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},X.prototype.ishrn=function(Z,V,I){return F(this.negative===0),this.iushrn(Z,V,I)},X.prototype.shln=function(Z){return this.clone().ishln(Z)},X.prototype.ushln=function(Z){return this.clone().iushln(Z)},X.prototype.shrn=function(Z){return this.clone().ishrn(Z)},X.prototype.ushrn=function(Z){return this.clone().iushrn(Z)},X.prototype.testn=function(Z){F(typeof Z=="number"&&Z>=0);var V=Z%26,I=(Z-V)/26,O=1<<V;if(this.length<=I)return!1;var U=this.words[I];return!!(U&O)},X.prototype.imaskn=function(Z){F(typeof Z=="number"&&Z>=0);var V=Z%26,I=(Z-V)/26;if(F(this.negative===0,"imaskn works only with positive numbers"),this.length<=I)return this;if(V!==0&&I++,this.length=Math.min(I,this.length),V!==0){var O=67108863^67108863>>>V<<V;this.words[this.length-1]&=O}return this._strip()},X.prototype.maskn=function(Z){return this.clone().imaskn(Z)},X.prototype.iaddn=function(Z){return F(typeof Z=="number"),F(Z<67108864),Z<0?this.isubn(-Z):this.negative!==0?this.length===1&&(this.words[0]|0)<=Z?(this.words[0]=Z-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(Z),this.negative=1,this):this._iaddn(Z)},X.prototype._iaddn=function(Z){this.words[0]+=Z;for(var V=0;V<this.length&&this.words[V]>=67108864;V++)this.words[V]-=67108864,V===this.length-1?this.words[V+1]=1:this.words[V+1]++;return this.length=Math.max(this.length,V+1),this},X.prototype.isubn=function(Z){if(F(typeof Z=="number"),F(Z<67108864),Z<0)return this.iaddn(-Z);if(this.negative!==0)return this.negative=0,this.iaddn(Z),this.negative=1,this;if(this.words[0]-=Z,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var V=0;V<this.length&&this.words[V]<0;V++)this.words[V]+=67108864,this.words[V+1]-=1;return this._strip()},X.prototype.addn=function(Z){return this.clone().iaddn(Z)},X.prototype.subn=function(Z){return this.clone().isubn(Z)},X.prototype.iabs=function(){return this.negative=0,this},X.prototype.abs=function(){return this.clone().iabs()},X.prototype._ishlnsubmul=function(Z,V,I){var O=Z.length+I,U;this._expand(O);var Q,K=0;for(U=0;U<Z.length;U++){Q=(this.words[U+I]|0)+K;var R=(Z.words[U]|0)*V;Q-=R&67108863,K=(Q>>26)-(R/67108864|0),this.words[U+I]=Q&67108863}for(;U<this.length-I;U++)Q=(this.words[U+I]|0)+K,K=Q>>26,this.words[U+I]=Q&67108863;if(K===0)return this._strip();for(F(K===-1),K=0,U=0;U<this.length;U++)Q=-(this.words[U]|0)+K,K=Q>>26,this.words[U]=Q&67108863;return this.negative=1,this._strip()},X.prototype._wordDiv=function(Z,V){var I=this.length-Z.length,O=this.clone(),U=Z,Q=U.words[U.length-1]|0,K=this._countBits(Q);I=26-K,I!==0&&(U=U.ushln(I),O.iushln(I),Q=U.words[U.length-1]|0);var R=O.length-U.length,A;if(V!=="mod"){A=new X(null),A.length=R+1,A.words=new Array(A.length);for(var S=0;S<A.length;S++)A.words[S]=0}var x=O.clone()._ishlnsubmul(U,1,R);x.negative===0&&(O=x,A&&(A.words[R]=1));for(var B=R-1;B>=0;B--){var c=(O.words[U.length+B]|0)*67108864+(O.words[U.length+B-1]|0);for(c=Math.min(c/Q|0,67108863),O._ishlnsubmul(U,c,B);O.negative!==0;)c--,O.negative=0,O._ishlnsubmul(U,1,B),O.isZero()||(O.negative^=1);A&&(A.words[B]=c)}return A&&A._strip(),O._strip(),V!=="div"&&I!==0&&O.iushrn(I),{div:A||null,mod:O}},X.prototype.divmod=function(Z,V,I){if(F(!Z.isZero()),this.isZero())return{div:new X(0),mod:new X(0)};var O,U,Q;return this.negative!==0&&Z.negative===0?(Q=this.neg().divmod(Z,V),V!=="mod"&&(O=Q.div.neg()),V!=="div"&&(U=Q.mod.neg(),I&&U.negative!==0&&U.iadd(Z)),{div:O,mod:U}):this.negative===0&&Z.negative!==0?(Q=this.divmod(Z.neg(),V),V!=="mod"&&(O=Q.div.neg()),{div:O,mod:Q.mod}):(this.negative&Z.negative)!==0?(Q=this.neg().divmod(Z.neg(),V),V!=="div"&&(U=Q.mod.neg(),I&&U.negative!==0&&U.isub(Z)),{div:Q.div,mod:U}):Z.length>this.length||this.cmp(Z)<0?{div:new X(0),mod:this}:Z.length===1?V==="div"?{div:this.divn(Z.words[0]),mod:null}:V==="mod"?{div:null,mod:new X(this.modrn(Z.words[0]))}:{div:this.divn(Z.words[0]),mod:new X(this.modrn(Z.words[0]))}:this._wordDiv(Z,V)},X.prototype.div=function(Z){return this.divmod(Z,"div",!1).div},X.prototype.mod=function(Z){return this.divmod(Z,"mod",!1).mod},X.prototype.umod=function(Z){return this.divmod(Z,"mod",!0).mod},X.prototype.divRound=function(Z){var V=this.divmod(Z);if(V.mod.isZero())return V.div;var I=V.div.negative!==0?V.mod.isub(Z):V.mod,O=Z.ushrn(1),U=Z.andln(1),Q=I.cmp(O);return Q<0||U===1&&Q===0?V.div:V.div.negative!==0?V.div.isubn(1):V.div.iaddn(1)},X.prototype.modrn=function(Z){var V=Z<0;V&&(Z=-Z),F(Z<=67108863);for(var I=(1<<26)%Z,O=0,U=this.length-1;U>=0;U--)O=(I*O+(this.words[U]|0))%Z;return V?-O:O},X.prototype.modn=function(Z){return this.modrn(Z)},X.prototype.idivn=function(Z){var V=Z<0;V&&(Z=-Z),F(Z<=67108863);for(var I=0,O=this.length-1;O>=0;O--){var U=(this.words[O]|0)+I*67108864;this.words[O]=U/Z|0,I=U%Z}return this._strip(),V?this.ineg():this},X.prototype.divn=function(Z){return this.clone().idivn(Z)},X.prototype.egcd=function(Z){F(Z.negative===0),F(!Z.isZero());var V=this,I=Z.clone();V.negative!==0?V=V.umod(Z):V=V.clone();for(var O=new X(1),U=new X(0),Q=new X(0),K=new X(1),R=0;V.isEven()&&I.isEven();)V.iushrn(1),I.iushrn(1),++R;for(var A=I.clone(),S=V.clone();!V.isZero();){for(var x=0,B=1;(V.words[0]&B)===0&&x<26;++x,B<<=1);if(x>0)for(V.iushrn(x);x-- >0;)(O.isOdd()||U.isOdd())&&(O.iadd(A),U.isub(S)),O.iushrn(1),U.iushrn(1);for(var c=0,q0=1;(I.words[0]&q0)===0&&c<26;++c,q0<<=1);if(c>0)for(I.iushrn(c);c-- >0;)(Q.isOdd()||K.isOdd())&&(Q.iadd(A),K.isub(S)),Q.iushrn(1),K.iushrn(1);V.cmp(I)>=0?(V.isub(I),O.isub(Q),U.isub(K)):(I.isub(V),Q.isub(O),K.isub(U))}return{a:Q,b:K,gcd:I.iushln(R)}},X.prototype._invmp=function(Z){F(Z.negative===0),F(!Z.isZero());var V=this,I=Z.clone();V.negative!==0?V=V.umod(Z):V=V.clone();for(var O=new X(1),U=new X(0),Q=I.clone();V.cmpn(1)>0&&I.cmpn(1)>0;){for(var K=0,R=1;(V.words[0]&R)===0&&K<26;++K,R<<=1);if(K>0)for(V.iushrn(K);K-- >0;)O.isOdd()&&O.iadd(Q),O.iushrn(1);for(var A=0,S=1;(I.words[0]&S)===0&&A<26;++A,S<<=1);if(A>0)for(I.iushrn(A);A-- >0;)U.isOdd()&&U.iadd(Q),U.iushrn(1);V.cmp(I)>=0?(V.isub(I),O.isub(U)):(I.isub(V),U.isub(O))}var x;return V.cmpn(1)===0?x=O:x=U,x.cmpn(0)<0&&x.iadd(Z),x},X.prototype.gcd=function(Z){if(this.isZero())return Z.abs();if(Z.isZero())return this.abs();var V=this.clone(),I=Z.clone();V.negative=0,I.negative=0;for(var O=0;V.isEven()&&I.isEven();O++)V.iushrn(1),I.iushrn(1);do{for(;V.isEven();)V.iushrn(1);for(;I.isEven();)I.iushrn(1);var U=V.cmp(I);if(U<0){var Q=V;V=I,I=Q}else if(U===0||I.cmpn(1)===0)break;V.isub(I)}while(!0);return I.iushln(O)},X.prototype.invm=function(Z){return this.egcd(Z).a.umod(Z)},X.prototype.isEven=function(){return(this.words[0]&1)===0},X.prototype.isOdd=function(){return(this.words[0]&1)===1},X.prototype.andln=function(Z){return this.words[0]&Z},X.prototype.bincn=function(Z){F(typeof Z=="number");var V=Z%26,I=(Z-V)/26,O=1<<V;if(this.length<=I)return this._expand(I+1),this.words[I]|=O,this;for(var U=O,Q=I;U!==0&&Q<this.length;Q++){var K=this.words[Q]|0;K+=U,U=K>>>26,K&=67108863,this.words[Q]=K}return U!==0&&(this.words[Q]=U,this.length++),this},X.prototype.isZero=function(){return this.length===1&&this.words[0]===0},X.prototype.cmpn=function(Z){var V=Z<0;if(this.negative!==0&&!V)return-1;if(this.negative===0&&V)return 1;this._strip();var I;if(this.length>1)I=1;else{V&&(Z=-Z),F(Z<=67108863,"Number is too big");var O=this.words[0]|0;I=O===Z?0:O<Z?-1:1}return this.negative!==0?-I|0:I},X.prototype.cmp=function(Z){if(this.negative!==0&&Z.negative===0)return-1;if(this.negative===0&&Z.negative!==0)return 1;var V=this.ucmp(Z);return this.negative!==0?-V|0:V},X.prototype.ucmp=function(Z){if(this.length>Z.length)return 1;if(this.length<Z.length)return-1;for(var V=0,I=this.length-1;I>=0;I--){var O=this.words[I]|0,U=Z.words[I]|0;if(O!==U){O<U?V=-1:O>U&&(V=1);break}}return V},X.prototype.gtn=function(Z){return this.cmpn(Z)===1},X.prototype.gt=function(Z){return this.cmp(Z)===1},X.prototype.gten=function(Z){return this.cmpn(Z)>=0},X.prototype.gte=function(Z){return this.cmp(Z)>=0},X.prototype.ltn=function(Z){return this.cmpn(Z)===-1},X.prototype.lt=function(Z){return this.cmp(Z)===-1},X.prototype.lten=function(Z){return this.cmpn(Z)<=0},X.prototype.lte=function(Z){return this.cmp(Z)<=0},X.prototype.eqn=function(Z){return this.cmpn(Z)===0},X.prototype.eq=function(Z){return this.cmp(Z)===0},X.red=function(Z){return new Y(Z)},X.prototype.toRed=function(Z){return F(!this.red,"Already a number in reduction context"),F(this.negative===0,"red works only with positives"),Z.convertTo(this)._forceRed(Z)},X.prototype.fromRed=function(){return F(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},X.prototype._forceRed=function(Z){return this.red=Z,this},X.prototype.forceRed=function(Z){return F(!this.red,"Already a number in reduction context"),this._forceRed(Z)},X.prototype.redAdd=function(Z){return F(this.red,"redAdd works only with red numbers"),this.red.add(this,Z)},X.prototype.redIAdd=function(Z){return F(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,Z)},X.prototype.redSub=function(Z){return F(this.red,"redSub works only with red numbers"),this.red.sub(this,Z)},X.prototype.redISub=function(Z){return F(this.red,"redISub works only with red numbers"),this.red.isub(this,Z)},X.prototype.redShl=function(Z){return F(this.red,"redShl works only with red numbers"),this.red.shl(this,Z)},X.prototype.redMul=function(Z){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,Z),this.red.mul(this,Z)},X.prototype.redIMul=function(Z){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,Z),this.red.imul(this,Z)},X.prototype.redSqr=function(){return F(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},X.prototype.redISqr=function(){return F(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},X.prototype.redSqrt=function(){return F(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},X.prototype.redInvm=function(){return F(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},X.prototype.redNeg=function(){return F(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},X.prototype.redPow=function(Z){return F(this.red&&!Z.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,Z)};var b={k256:null,p224:null,p192:null,p25519:null};function u(Z,V){this.name=Z,this.p=new X(V,16),this.n=this.p.bitLength(),this.k=new X(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}u.prototype._tmp=function(){var Z=new X(null);return Z.words=new Array(Math.ceil(this.n/13)),Z},u.prototype.ireduce=function(Z){var V=Z,I;do this.split(V,this.tmp),V=this.imulK(V),V=V.iadd(this.tmp),I=V.bitLength();while(I>this.n);var O=I<this.n?-1:V.ucmp(this.p);return O===0?(V.words[0]=0,V.length=1):O>0?V.isub(this.p):V.strip!==void 0?V.strip():V._strip(),V},u.prototype.split=function(Z,V){Z.iushrn(this.n,0,V)},u.prototype.imulK=function(Z){return Z.imul(this.k)};function Y0(){u.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(Y0,u),Y0.prototype.split=function(Z,V){for(var I=4194303,O=Math.min(Z.length,9),U=0;U<O;U++)V.words[U]=Z.words[U];if(V.length=O,Z.length<=9){Z.words[0]=0,Z.length=1;return}var Q=Z.words[9];for(V.words[V.length++]=Q&I,U=10;U<Z.length;U++){var K=Z.words[U]|0;Z.words[U-10]=(K&I)<<4|Q>>>22,Q=K}Q>>>=22,Z.words[U-10]=Q,Q===0&&Z.length>10?Z.length-=10:Z.length-=9},Y0.prototype.imulK=function(Z){Z.words[Z.length]=0,Z.words[Z.length+1]=0,Z.length+=2;for(var V=0,I=0;I<Z.length;I++){var O=Z.words[I]|0;V+=O*977,Z.words[I]=V&67108863,V=O*64+(V/67108864|0)}return Z.words[Z.length-1]===0&&(Z.length--,Z.words[Z.length-1]===0&&Z.length--),Z};function p(){u.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(p,u);function v0(){u.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(v0,u);function $(){u.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z($,u),$.prototype.imulK=function(Z){for(var V=0,I=0;I<Z.length;I++){var O=(Z.words[I]|0)*19+V,U=O&67108863;O>>>=26,Z.words[I]=U,V=O}return V!==0&&(Z.words[Z.length++]=V),Z},X._prime=function(Z){if(b[Z])return b[Z];var V;if(Z==="k256")V=new Y0;else if(Z==="p224")V=new p;else if(Z==="p192")V=new v0;else if(Z==="p25519")V=new $;else throw new Error("Unknown prime "+Z);return b[Z]=V,V};function Y(Z){if(typeof Z=="string"){var V=X._prime(Z);this.m=V.p,this.prime=V}else F(Z.gtn(1),"modulus must be greater than 1"),this.m=Z,this.prime=null}Y.prototype._verify1=function(Z){F(Z.negative===0,"red works only with positives"),F(Z.red,"red works only with red numbers")},Y.prototype._verify2=function(Z,V){F((Z.negative|V.negative)===0,"red works only with positives"),F(Z.red&&Z.red===V.red,"red works only with red numbers")},Y.prototype.imod=function(Z){return this.prime?this.prime.ireduce(Z)._forceRed(this):(J(Z,Z.umod(this.m)._forceRed(this)),Z)},Y.prototype.neg=function(Z){return Z.isZero()?Z.clone():this.m.sub(Z)._forceRed(this)},Y.prototype.add=function(Z,V){this._verify2(Z,V);var I=Z.add(V);return I.cmp(this.m)>=0&&I.isub(this.m),I._forceRed(this)},Y.prototype.iadd=function(Z,V){this._verify2(Z,V);var I=Z.iadd(V);return I.cmp(this.m)>=0&&I.isub(this.m),I},Y.prototype.sub=function(Z,V){this._verify2(Z,V);var I=Z.sub(V);return I.cmpn(0)<0&&I.iadd(this.m),I._forceRed(this)},Y.prototype.isub=function(Z,V){this._verify2(Z,V);var I=Z.isub(V);return I.cmpn(0)<0&&I.iadd(this.m),I},Y.prototype.shl=function(Z,V){return this._verify1(Z),this.imod(Z.ushln(V))},Y.prototype.imul=function(Z,V){return this._verify2(Z,V),this.imod(Z.imul(V))},Y.prototype.mul=function(Z,V){return this._verify2(Z,V),this.imod(Z.mul(V))},Y.prototype.isqr=function(Z){return this.imul(Z,Z.clone())},Y.prototype.sqr=function(Z){return this.mul(Z,Z)},Y.prototype.sqrt=function(Z){if(Z.isZero())return Z.clone();var V=this.m.andln(3);if(F(V%2===1),V===3){var I=this.m.add(new X(1)).iushrn(2);return this.pow(Z,I)}for(var O=this.m.subn(1),U=0;!O.isZero()&&O.andln(1)===0;)U++,O.iushrn(1);F(!O.isZero());var Q=new X(1).toRed(this),K=Q.redNeg(),R=this.m.subn(1).iushrn(1),A=this.m.bitLength();for(A=new X(2*A*A).toRed(this);this.pow(A,R).cmp(K)!==0;)A.redIAdd(K);for(var S=this.pow(A,O),x=this.pow(Z,O.addn(1).iushrn(1)),B=this.pow(Z,O),c=U;B.cmp(Q)!==0;){for(var q0=B,h=0;q0.cmp(Q)!==0;h++)q0=q0.redSqr();F(h<c);var d=this.pow(S,new X(1).iushln(c-h-1));x=x.redMul(d),S=d.redSqr(),B=B.redMul(S),c=h}return x},Y.prototype.invm=function(Z){var V=Z._invmp(this.m);return V.negative!==0?(V.negative=0,this.imod(V).redNeg()):this.imod(V)},Y.prototype.pow=function(Z,V){if(V.isZero())return new X(1).toRed(this);if(V.cmpn(1)===0)return Z.clone();var I=4,O=new Array(1<<I);O[0]=new X(1).toRed(this),O[1]=Z;for(var U=2;U<O.length;U++)O[U]=this.mul(O[U-1],Z);var Q=O[0],K=0,R=0,A=V.bitLength()%26;for(A===0&&(A=26),U=V.length-1;U>=0;U--){for(var S=V.words[U],x=A-1;x>=0;x--){var B=S>>x&1;if(Q!==O[0]&&(Q=this.sqr(Q)),B===0&&K===0){R=0;continue}K<<=1,K|=B,R++,!(R!==I&&(U!==0||x!==0))&&(Q=this.mul(Q,O[K]),R=0,K=0)}A=26}return Q},Y.prototype.convertTo=function(Z){var V=Z.umod(this.m);return V===Z?V.clone():V},Y.prototype.convertFrom=function(Z){var V=Z.clone();return V.red=null,V},X.mont=function(Z){return new G(Z)};function G(Z){Y.call(this,Z),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new X(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(G,Y),G.prototype.convertTo=function(Z){return this.imod(Z.ushln(this.shift))},G.prototype.convertFrom=function(Z){var V=this.imod(Z.mul(this.rinv));return V.red=null,V},G.prototype.imul=function(Z,V){if(Z.isZero()||V.isZero())return Z.words[0]=0,Z.length=1,Z;var I=Z.imul(V),O=I.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),U=I.isub(O).iushrn(this.shift),Q=U;return U.cmp(this.m)>=0?Q=U.isub(this.m):U.cmpn(0)<0&&(Q=U.iadd(this.m)),Q._forceRed(this)},G.prototype.mul=function(Z,V){if(Z.isZero()||V.isZero())return new X(0)._forceRed(this);var I=Z.mul(V),O=I.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),U=I.isub(O).iushrn(this.shift),Q=U;return U.cmp(this.m)>=0?Q=U.isub(this.m):U.cmpn(0)<0&&(Q=U.iadd(this.m)),Q._forceRed(this)},G.prototype.invm=function(Z){var V=this.imod(Z._invmp(this.m).mul(this.r2));return V._forceRed(this)}})(typeof _>"u"||_,N)}}),h$=S0({"node_modules/browserify-rsa/index.js"(N,_){var k=c$(),j=L$();function F(C){var P=z(C),T=P.toRed(k.mont(C.modulus)).redPow(new k(C.publicExponent)).fromRed();return{blinder:T,unblinder:P.invm(C.modulus)}}function z(C){var P=C.modulus.byteLength(),T;do T=new k(j(P));while(T.cmp(C.modulus)>=0||!T.umod(C.prime1)||!T.umod(C.prime2));return T}function X(C,P){var T=F(P),W=P.modulus.byteLength(),J=new k(C).mul(T.blinder).umod(P.modulus),H=J.toRed(k.mont(P.prime1)),D=J.toRed(k.mont(P.prime2)),E=P.coefficient,L=P.prime1,M=P.prime2,v=H.redPow(P.exponent1).fromRed(),q=D.redPow(P.exponent2).fromRed(),g=v.isub(q).imul(E).umod(L).imul(M);return q.iadd(g).imul(T.unblinder).umod(P.modulus).toArrayLike(g0,"be",W)}X.getr=z,_.exports=X}}),TY=S0({"node_modules/elliptic/package.json"(N,_){_.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}}}),D$=S0({"node_modules/elliptic/node_modules/bn.js/lib/bn.js"(N,_){(function(k,j){function F($,Y){if(!$)throw new Error(Y||"Assertion failed")}function z($,Y){$.super_=Y;var G=function(){};G.prototype=Y.prototype,$.prototype=new G,$.prototype.constructor=$}function X($,Y,G){if(X.isBN($))return $;this.negative=0,this.words=null,this.length=0,this.red=null,$!==null&&((Y==="le"||Y==="be")&&(G=Y,Y=10),this._init($||0,Y||10,G||"be"))}typeof k=="object"?k.exports=X:j.BN=X,X.BN=X,X.wordSize=26;var C=g0;X.isBN=function($){return $ instanceof X?!0:$!==null&&typeof $=="object"&&$.constructor.wordSize===X.wordSize&&Array.isArray($.words)},X.max=function($,Y){return $.cmp(Y)>0?$:Y},X.min=function($,Y){return $.cmp(Y)<0?$:Y},X.prototype._init=function($,Y,G){if(typeof $=="number")return this._initNumber($,Y,G);if(typeof $=="object")return this._initArray($,Y,G);Y==="hex"&&(Y=16),F(Y===(Y|0)&&Y>=2&&Y<=36),$=$.toString().replace(/\s+/g,"");var Z=0;$[0]==="-"&&(Z++,this.negative=1),Z<$.length&&(Y===16?this._parseHex($,Z,G):(this._parseBase($,Y,Z),G==="le"&&this._initArray(this.toArray(),Y,G)))},X.prototype._initNumber=function($,Y,G){$<0&&(this.negative=1,$=-$),$<67108864?(this.words=[$&67108863],this.length=1):$<4503599627370496?(this.words=[$&67108863,$/67108864&67108863],this.length=2):(F($<9007199254740992),this.words=[$&67108863,$/67108864&67108863,1],this.length=3),G==="le"&&this._initArray(this.toArray(),Y,G)},X.prototype._initArray=function($,Y,G){if(F(typeof $.length=="number"),$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil($.length/3),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V,I,O=0;if(G==="be")for(Z=$.length-1,V=0;Z>=0;Z-=3)I=$[Z]|$[Z-1]<<8|$[Z-2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);else if(G==="le")for(Z=0,V=0;Z<$.length;Z+=3)I=$[Z]|$[Z+1]<<8|$[Z+2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);return this.strip()};function P($,Y){var G=$.charCodeAt(Y);return G>=65&&G<=70?G-55:G>=97&&G<=102?G-87:G-48&15}function T($,Y,G){var Z=P($,G);return G-1>=Y&&(Z|=P($,G-1)<<4),Z}X.prototype._parseHex=function($,Y,G){this.length=Math.ceil(($.length-Y)/6),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V=0,I=0,O;if(G==="be")for(Z=$.length-1;Z>=Y;Z-=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8;else{var U=$.length-Y;for(Z=U%2===0?Y+1:Y;Z<$.length;Z+=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8}this.strip()};function W($,Y,G,Z){for(var V=0,I=Math.min($.length,G),O=Y;O<I;O++){var U=$.charCodeAt(O)-48;V*=Z,U>=49?V+=U-49+10:U>=17?V+=U-17+10:V+=U}return V}X.prototype._parseBase=function($,Y,G){this.words=[0],this.length=1;for(var Z=0,V=1;V<=67108863;V*=Y)Z++;Z--,V=V/Y|0;for(var I=$.length-G,O=I%Z,U=Math.min(I,I-O)+G,Q=0,K=G;K<U;K+=Z)Q=W($,K,K+Z,Y),this.imuln(V),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q);if(O!==0){var R=1;for(Q=W($,K,$.length,Y),K=0;K<O;K++)R*=Y;this.imuln(R),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q)}this.strip()},X.prototype.copy=function($){$.words=new Array(this.length);for(var Y=0;Y<this.length;Y++)$.words[Y]=this.words[Y];$.length=this.length,$.negative=this.negative,$.red=this.red},X.prototype.clone=function(){var $=new X(null);return this.copy($),$},X.prototype._expand=function($){for(;this.length<$;)this.words[this.length++]=0;return this},X.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},X.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},X.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var J=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],H=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];X.prototype.toString=function($,Y){$=$||10,Y=Y|0||1;var G;if($===16||$==="hex"){G="";for(var Z=0,V=0,I=0;I<this.length;I++){var O=this.words[I],U=((O<<Z|V)&16777215).toString(16);V=O>>>24-Z&16777215,V!==0||I!==this.length-1?G=J[6-U.length]+U+G:G=U+G,Z+=2,Z>=26&&(Z-=26,I--)}for(V!==0&&(G=V.toString(16)+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}if($===($|0)&&$>=2&&$<=36){var Q=H[$],K=D[$];G="";var R=this.clone();for(R.negative=0;!R.isZero();){var A=R.modn(K).toString($);R=R.idivn(K),R.isZero()?G=A+G:G=J[Q-A.length]+A+G}for(this.isZero()&&(G="0"+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}F(!1,"Base should be between 2 and 36")},X.prototype.toNumber=function(){var $=this.words[0];return this.length===2?$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?$+=4503599627370496+this.words[1]*67108864:this.length>2&&F(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-$:$},X.prototype.toJSON=function(){return this.toString(16)},X.prototype.toBuffer=function($,Y){return F(typeof C<"u"),this.toArrayLike(C,$,Y)},X.prototype.toArray=function($,Y){return this.toArrayLike(Array,$,Y)},X.prototype.toArrayLike=function($,Y,G){var Z=this.byteLength(),V=G||Math.max(1,Z);F(Z<=V,"byte array longer than desired length"),F(V>0,"Requested array length <= 0"),this.strip();var I=Y==="le",O=new $(V),U,Q,K=this.clone();if(I){for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[Q]=U;for(;Q<V;Q++)O[Q]=0}else{for(Q=0;Q<V-Z;Q++)O[Q]=0;for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[V-Q-1]=U}return O},Math.clz32?X.prototype._countBits=function($){return 32-Math.clz32($)}:X.prototype._countBits=function($){var Y=$,G=0;return Y>=4096&&(G+=13,Y>>>=13),Y>=64&&(G+=7,Y>>>=7),Y>=8&&(G+=4,Y>>>=4),Y>=2&&(G+=2,Y>>>=2),G+Y},X.prototype._zeroBits=function($){if($===0)return 26;var Y=$,G=0;return(Y&8191)===0&&(G+=13,Y>>>=13),(Y&127)===0&&(G+=7,Y>>>=7),(Y&15)===0&&(G+=4,Y>>>=4),(Y&3)===0&&(G+=2,Y>>>=2),(Y&1)===0&&G++,G},X.prototype.bitLength=function(){var $=this.words[this.length-1],Y=this._countBits($);return(this.length-1)*26+Y};function E($){for(var Y=new Array($.bitLength()),G=0;G<Y.length;G++){var Z=G/26|0,V=G%26;Y[G]=($.words[Z]&1<<V)>>>V}return Y}X.prototype.zeroBits=function(){if(this.isZero())return 0;for(var $=0,Y=0;Y<this.length;Y++){var G=this._zeroBits(this.words[Y]);if($+=G,G!==26)break}return $},X.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},X.prototype.toTwos=function($){return this.negative!==0?this.abs().inotn($).iaddn(1):this.clone()},X.prototype.fromTwos=function($){return this.testn($-1)?this.notn($).iaddn(1).ineg():this.clone()},X.prototype.isNeg=function(){return this.negative!==0},X.prototype.neg=function(){return this.clone().ineg()},X.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},X.prototype.iuor=function($){for(;this.length<$.length;)this.words[this.length++]=0;for(var Y=0;Y<$.length;Y++)this.words[Y]=this.words[Y]|$.words[Y];return this.strip()},X.prototype.ior=function($){return F((this.negative|$.negative)===0),this.iuor($)},X.prototype.or=function($){return this.length>$.length?this.clone().ior($):$.clone().ior(this)},X.prototype.uor=function($){return this.length>$.length?this.clone().iuor($):$.clone().iuor(this)},X.prototype.iuand=function($){var Y;this.length>$.length?Y=$:Y=this;for(var G=0;G<Y.length;G++)this.words[G]=this.words[G]&$.words[G];return this.length=Y.length,this.strip()},X.prototype.iand=function($){return F((this.negative|$.negative)===0),this.iuand($)},X.prototype.and=function($){return this.length>$.length?this.clone().iand($):$.clone().iand(this)},X.prototype.uand=function($){return this.length>$.length?this.clone().iuand($):$.clone().iuand(this)},X.prototype.iuxor=function($){var Y,G;this.length>$.length?(Y=this,G=$):(Y=$,G=this);for(var Z=0;Z<G.length;Z++)this.words[Z]=Y.words[Z]^G.words[Z];if(this!==Y)for(;Z<Y.length;Z++)this.words[Z]=Y.words[Z];return this.length=Y.length,this.strip()},X.prototype.ixor=function($){return F((this.negative|$.negative)===0),this.iuxor($)},X.prototype.xor=function($){return this.length>$.length?this.clone().ixor($):$.clone().ixor(this)},X.prototype.uxor=function($){return this.length>$.length?this.clone().iuxor($):$.clone().iuxor(this)},X.prototype.inotn=function($){F(typeof $=="number"&&$>=0);var Y=Math.ceil($/26)|0,G=$%26;this._expand(Y),G>0&&Y--;for(var Z=0;Z<Y;Z++)this.words[Z]=~this.words[Z]&67108863;return G>0&&(this.words[Z]=~this.words[Z]&67108863>>26-G),this.strip()},X.prototype.notn=function($){return this.clone().inotn($)},X.prototype.setn=function($,Y){F(typeof $=="number"&&$>=0);var G=$/26|0,Z=$%26;return this._expand(G+1),Y?this.words[G]=this.words[G]|1<<Z:this.words[G]=this.words[G]&~(1<<Z),this.strip()},X.prototype.iadd=function($){var Y;if(this.negative!==0&&$.negative===0)return this.negative=0,Y=this.isub($),this.negative^=1,this._normSign();if(this.negative===0&&$.negative!==0)return $.negative=0,Y=this.isub($),$.negative=1,Y._normSign();var G,Z;this.length>$.length?(G=this,Z=$):(G=$,Z=this);for(var V=0,I=0;I<Z.length;I++)Y=(G.words[I]|0)+(Z.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;for(;V!==0&&I<G.length;I++)Y=(G.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;if(this.length=G.length,V!==0)this.words[this.length]=V,this.length++;else if(G!==this)for(;I<G.length;I++)this.words[I]=G.words[I];return this},X.prototype.add=function($){var Y;return $.negative!==0&&this.negative===0?($.negative=0,Y=this.sub($),$.negative^=1,Y):$.negative===0&&this.negative!==0?(this.negative=0,Y=$.sub(this),this.negative=1,Y):this.length>$.length?this.clone().iadd($):$.clone().iadd(this)},X.prototype.isub=function($){if($.negative!==0){$.negative=0;var Y=this.iadd($);return $.negative=1,Y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd($),this.negative=1,this._normSign();var G=this.cmp($);if(G===0)return this.negative=0,this.length=1,this.words[0]=0,this;var Z,V;G>0?(Z=this,V=$):(Z=$,V=this);for(var I=0,O=0;O<V.length;O++)Y=(Z.words[O]|0)-(V.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;for(;I!==0&&O<Z.length;O++)Y=(Z.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;if(I===0&&O<Z.length&&Z!==this)for(;O<Z.length;O++)this.words[O]=Z.words[O];return this.length=Math.max(this.length,O),Z!==this&&(this.negative=1),this.strip()},X.prototype.sub=function($){return this.clone().isub($)};function L($,Y,G){G.negative=Y.negative^$.negative;var Z=$.length+Y.length|0;G.length=Z,Z=Z-1|0;var V=$.words[0]|0,I=Y.words[0]|0,O=V*I,U=O&67108863,Q=O/67108864|0;G.words[0]=U;for(var K=1;K<Z;K++){for(var R=Q>>>26,A=Q&67108863,S=Math.min(K,Y.length-1),x=Math.max(0,K-$.length+1);x<=S;x++){var B=K-x|0;V=$.words[B]|0,I=Y.words[x]|0,O=V*I+A,R+=O/67108864|0,A=O&67108863}G.words[K]=A|0,Q=R|0}return Q!==0?G.words[K]=Q|0:G.length--,G.strip()}var M=function($,Y,G){var Z=$.words,V=Y.words,I=G.words,O=0,U,Q,K,R=Z[0]|0,A=R&8191,S=R>>>13,x=Z[1]|0,B=x&8191,c=x>>>13,q0=Z[2]|0,h=q0&8191,d=q0>>>13,_0=Z[3]|0,l=_0&8191,n=_0>>>13,y0=Z[4]|0,t=y0&8191,s=y0>>>13,w0=Z[5]|0,m=w0&8191,r=w0>>>13,$$=Z[6]|0,i=$$&8191,e=$$>>>13,x0=Z[7]|0,o=x0&8191,a=x0>>>13,p0=Z[8]|0,$0=p0&8191,Q0=p0>>>13,Y$=Z[9]|0,Z0=Y$&8191,G0=Y$>>>13,Z$=V[0]|0,V0=Z$&8191,U0=Z$>>>13,G$=V[1]|0,X0=G$&8191,K0=G$>>>13,V$=V[2]|0,I0=V$&8191,O0=V$>>>13,U$=V[3]|0,J0=U$&8191,F0=U$>>>13,X$=V[4]|0,A0=X$&8191,H0=X$>>>13,K$=V[5]|0,W0=K$&8191,E0=K$>>>13,I$=V[6]|0,T0=I$&8191,D0=I$>>>13,O$=V[7]|0,C0=O$&8191,L0=O$>>>13,J$=V[8]|0,R0=J$&8191,P0=J$>>>13,F$=V[9]|0,z0=F$&8191,M0=F$>>>13;G.negative=$.negative^Y.negative,G.length=19,U=Math.imul(A,V0),Q=Math.imul(A,U0),Q=Q+Math.imul(S,V0)|0,K=Math.imul(S,U0);var Q$=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(Q$>>>26)|0,Q$&=67108863,U=Math.imul(B,V0),Q=Math.imul(B,U0),Q=Q+Math.imul(c,V0)|0,K=Math.imul(c,U0),U=U+Math.imul(A,X0)|0,Q=Q+Math.imul(A,K0)|0,Q=Q+Math.imul(S,X0)|0,K=K+Math.imul(S,K0)|0;var j0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(j0>>>26)|0,j0&=67108863,U=Math.imul(h,V0),Q=Math.imul(h,U0),Q=Q+Math.imul(d,V0)|0,K=Math.imul(d,U0),U=U+Math.imul(B,X0)|0,Q=Q+Math.imul(B,K0)|0,Q=Q+Math.imul(c,X0)|0,K=K+Math.imul(c,K0)|0,U=U+Math.imul(A,I0)|0,Q=Q+Math.imul(A,O0)|0,Q=Q+Math.imul(S,I0)|0,K=K+Math.imul(S,O0)|0;var k0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(k0>>>26)|0,k0&=67108863,U=Math.imul(l,V0),Q=Math.imul(l,U0),Q=Q+Math.imul(n,V0)|0,K=Math.imul(n,U0),U=U+Math.imul(h,X0)|0,Q=Q+Math.imul(h,K0)|0,Q=Q+Math.imul(d,X0)|0,K=K+Math.imul(d,K0)|0,U=U+Math.imul(B,I0)|0,Q=Q+Math.imul(B,O0)|0,Q=Q+Math.imul(c,I0)|0,K=K+Math.imul(c,O0)|0,U=U+Math.imul(A,J0)|0,Q=Q+Math.imul(A,F0)|0,Q=Q+Math.imul(S,J0)|0,K=K+Math.imul(S,F0)|0;var f0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(f0>>>26)|0,f0&=67108863,U=Math.imul(t,V0),Q=Math.imul(t,U0),Q=Q+Math.imul(s,V0)|0,K=Math.imul(s,U0),U=U+Math.imul(l,X0)|0,Q=Q+Math.imul(l,K0)|0,Q=Q+Math.imul(n,X0)|0,K=K+Math.imul(n,K0)|0,U=U+Math.imul(h,I0)|0,Q=Q+Math.imul(h,O0)|0,Q=Q+Math.imul(d,I0)|0,K=K+Math.imul(d,O0)|0,U=U+Math.imul(B,J0)|0,Q=Q+Math.imul(B,F0)|0,Q=Q+Math.imul(c,J0)|0,K=K+Math.imul(c,F0)|0,U=U+Math.imul(A,A0)|0,Q=Q+Math.imul(A,H0)|0,Q=Q+Math.imul(S,A0)|0,K=K+Math.imul(S,H0)|0;var c0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(c0>>>26)|0,c0&=67108863,U=Math.imul(m,V0),Q=Math.imul(m,U0),Q=Q+Math.imul(r,V0)|0,K=Math.imul(r,U0),U=U+Math.imul(t,X0)|0,Q=Q+Math.imul(t,K0)|0,Q=Q+Math.imul(s,X0)|0,K=K+Math.imul(s,K0)|0,U=U+Math.imul(l,I0)|0,Q=Q+Math.imul(l,O0)|0,Q=Q+Math.imul(n,I0)|0,K=K+Math.imul(n,O0)|0,U=U+Math.imul(h,J0)|0,Q=Q+Math.imul(h,F0)|0,Q=Q+Math.imul(d,J0)|0,K=K+Math.imul(d,F0)|0,U=U+Math.imul(B,A0)|0,Q=Q+Math.imul(B,H0)|0,Q=Q+Math.imul(c,A0)|0,K=K+Math.imul(c,H0)|0,U=U+Math.imul(A,W0)|0,Q=Q+Math.imul(A,E0)|0,Q=Q+Math.imul(S,W0)|0,K=K+Math.imul(S,E0)|0;var h0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(h0>>>26)|0,h0&=67108863,U=Math.imul(i,V0),Q=Math.imul(i,U0),Q=Q+Math.imul(e,V0)|0,K=Math.imul(e,U0),U=U+Math.imul(m,X0)|0,Q=Q+Math.imul(m,K0)|0,Q=Q+Math.imul(r,X0)|0,K=K+Math.imul(r,K0)|0,U=U+Math.imul(t,I0)|0,Q=Q+Math.imul(t,O0)|0,Q=Q+Math.imul(s,I0)|0,K=K+Math.imul(s,O0)|0,U=U+Math.imul(l,J0)|0,Q=Q+Math.imul(l,F0)|0,Q=Q+Math.imul(n,J0)|0,K=K+Math.imul(n,F0)|0,U=U+Math.imul(h,A0)|0,Q=Q+Math.imul(h,H0)|0,Q=Q+Math.imul(d,A0)|0,K=K+Math.imul(d,H0)|0,U=U+Math.imul(B,W0)|0,Q=Q+Math.imul(B,E0)|0,Q=Q+Math.imul(c,W0)|0,K=K+Math.imul(c,E0)|0,U=U+Math.imul(A,T0)|0,Q=Q+Math.imul(A,D0)|0,Q=Q+Math.imul(S,T0)|0,K=K+Math.imul(S,D0)|0;var d0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(d0>>>26)|0,d0&=67108863,U=Math.imul(o,V0),Q=Math.imul(o,U0),Q=Q+Math.imul(a,V0)|0,K=Math.imul(a,U0),U=U+Math.imul(i,X0)|0,Q=Q+Math.imul(i,K0)|0,Q=Q+Math.imul(e,X0)|0,K=K+Math.imul(e,K0)|0,U=U+Math.imul(m,I0)|0,Q=Q+Math.imul(m,O0)|0,Q=Q+Math.imul(r,I0)|0,K=K+Math.imul(r,O0)|0,U=U+Math.imul(t,J0)|0,Q=Q+Math.imul(t,F0)|0,Q=Q+Math.imul(s,J0)|0,K=K+Math.imul(s,F0)|0,U=U+Math.imul(l,A0)|0,Q=Q+Math.imul(l,H0)|0,Q=Q+Math.imul(n,A0)|0,K=K+Math.imul(n,H0)|0,U=U+Math.imul(h,W0)|0,Q=Q+Math.imul(h,E0)|0,Q=Q+Math.imul(d,W0)|0,K=K+Math.imul(d,E0)|0,U=U+Math.imul(B,T0)|0,Q=Q+Math.imul(B,D0)|0,Q=Q+Math.imul(c,T0)|0,K=K+Math.imul(c,D0)|0,U=U+Math.imul(A,C0)|0,Q=Q+Math.imul(A,L0)|0,Q=Q+Math.imul(S,C0)|0,K=K+Math.imul(S,L0)|0;var b0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(b0>>>26)|0,b0&=67108863,U=Math.imul($0,V0),Q=Math.imul($0,U0),Q=Q+Math.imul(Q0,V0)|0,K=Math.imul(Q0,U0),U=U+Math.imul(o,X0)|0,Q=Q+Math.imul(o,K0)|0,Q=Q+Math.imul(a,X0)|0,K=K+Math.imul(a,K0)|0,U=U+Math.imul(i,I0)|0,Q=Q+Math.imul(i,O0)|0,Q=Q+Math.imul(e,I0)|0,K=K+Math.imul(e,O0)|0,U=U+Math.imul(m,J0)|0,Q=Q+Math.imul(m,F0)|0,Q=Q+Math.imul(r,J0)|0,K=K+Math.imul(r,F0)|0,U=U+Math.imul(t,A0)|0,Q=Q+Math.imul(t,H0)|0,Q=Q+Math.imul(s,A0)|0,K=K+Math.imul(s,H0)|0,U=U+Math.imul(l,W0)|0,Q=Q+Math.imul(l,E0)|0,Q=Q+Math.imul(n,W0)|0,K=K+Math.imul(n,E0)|0,U=U+Math.imul(h,T0)|0,Q=Q+Math.imul(h,D0)|0,Q=Q+Math.imul(d,T0)|0,K=K+Math.imul(d,D0)|0,U=U+Math.imul(B,C0)|0,Q=Q+Math.imul(B,L0)|0,Q=Q+Math.imul(c,C0)|0,K=K+Math.imul(c,L0)|0,U=U+Math.imul(A,R0)|0,Q=Q+Math.imul(A,P0)|0,Q=Q+Math.imul(S,R0)|0,K=K+Math.imul(S,P0)|0;var l0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(l0>>>26)|0,l0&=67108863,U=Math.imul(Z0,V0),Q=Math.imul(Z0,U0),Q=Q+Math.imul(G0,V0)|0,K=Math.imul(G0,U0),U=U+Math.imul($0,X0)|0,Q=Q+Math.imul($0,K0)|0,Q=Q+Math.imul(Q0,X0)|0,K=K+Math.imul(Q0,K0)|0,U=U+Math.imul(o,I0)|0,Q=Q+Math.imul(o,O0)|0,Q=Q+Math.imul(a,I0)|0,K=K+Math.imul(a,O0)|0,U=U+Math.imul(i,J0)|0,Q=Q+Math.imul(i,F0)|0,Q=Q+Math.imul(e,J0)|0,K=K+Math.imul(e,F0)|0,U=U+Math.imul(m,A0)|0,Q=Q+Math.imul(m,H0)|0,Q=Q+Math.imul(r,A0)|0,K=K+Math.imul(r,H0)|0,U=U+Math.imul(t,W0)|0,Q=Q+Math.imul(t,E0)|0,Q=Q+Math.imul(s,W0)|0,K=K+Math.imul(s,E0)|0,U=U+Math.imul(l,T0)|0,Q=Q+Math.imul(l,D0)|0,Q=Q+Math.imul(n,T0)|0,K=K+Math.imul(n,D0)|0,U=U+Math.imul(h,C0)|0,Q=Q+Math.imul(h,L0)|0,Q=Q+Math.imul(d,C0)|0,K=K+Math.imul(d,L0)|0,U=U+Math.imul(B,R0)|0,Q=Q+Math.imul(B,P0)|0,Q=Q+Math.imul(c,R0)|0,K=K+Math.imul(c,P0)|0,U=U+Math.imul(A,z0)|0,Q=Q+Math.imul(A,M0)|0,Q=Q+Math.imul(S,z0)|0,K=K+Math.imul(S,M0)|0;var o0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(o0>>>26)|0,o0&=67108863,U=Math.imul(Z0,X0),Q=Math.imul(Z0,K0),Q=Q+Math.imul(G0,X0)|0,K=Math.imul(G0,K0),U=U+Math.imul($0,I0)|0,Q=Q+Math.imul($0,O0)|0,Q=Q+Math.imul(Q0,I0)|0,K=K+Math.imul(Q0,O0)|0,U=U+Math.imul(o,J0)|0,Q=Q+Math.imul(o,F0)|0,Q=Q+Math.imul(a,J0)|0,K=K+Math.imul(a,F0)|0,U=U+Math.imul(i,A0)|0,Q=Q+Math.imul(i,H0)|0,Q=Q+Math.imul(e,A0)|0,K=K+Math.imul(e,H0)|0,U=U+Math.imul(m,W0)|0,Q=Q+Math.imul(m,E0)|0,Q=Q+Math.imul(r,W0)|0,K=K+Math.imul(r,E0)|0,U=U+Math.imul(t,T0)|0,Q=Q+Math.imul(t,D0)|0,Q=Q+Math.imul(s,T0)|0,K=K+Math.imul(s,D0)|0,U=U+Math.imul(l,C0)|0,Q=Q+Math.imul(l,L0)|0,Q=Q+Math.imul(n,C0)|0,K=K+Math.imul(n,L0)|0,U=U+Math.imul(h,R0)|0,Q=Q+Math.imul(h,P0)|0,Q=Q+Math.imul(d,R0)|0,K=K+Math.imul(d,P0)|0,U=U+Math.imul(B,z0)|0,Q=Q+Math.imul(B,M0)|0,Q=Q+Math.imul(c,z0)|0,K=K+Math.imul(c,M0)|0;var u0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(u0>>>26)|0,u0&=67108863,U=Math.imul(Z0,I0),Q=Math.imul(Z0,O0),Q=Q+Math.imul(G0,I0)|0,K=Math.imul(G0,O0),U=U+Math.imul($0,J0)|0,Q=Q+Math.imul($0,F0)|0,Q=Q+Math.imul(Q0,J0)|0,K=K+Math.imul(Q0,F0)|0,U=U+Math.imul(o,A0)|0,Q=Q+Math.imul(o,H0)|0,Q=Q+Math.imul(a,A0)|0,K=K+Math.imul(a,H0)|0,U=U+Math.imul(i,W0)|0,Q=Q+Math.imul(i,E0)|0,Q=Q+Math.imul(e,W0)|0,K=K+Math.imul(e,E0)|0,U=U+Math.imul(m,T0)|0,Q=Q+Math.imul(m,D0)|0,Q=Q+Math.imul(r,T0)|0,K=K+Math.imul(r,D0)|0,U=U+Math.imul(t,C0)|0,Q=Q+Math.imul(t,L0)|0,Q=Q+Math.imul(s,C0)|0,K=K+Math.imul(s,L0)|0,U=U+Math.imul(l,R0)|0,Q=Q+Math.imul(l,P0)|0,Q=Q+Math.imul(n,R0)|0,K=K+Math.imul(n,P0)|0,U=U+Math.imul(h,z0)|0,Q=Q+Math.imul(h,M0)|0,Q=Q+Math.imul(d,z0)|0,K=K+Math.imul(d,M0)|0;var n0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(n0>>>26)|0,n0&=67108863,U=Math.imul(Z0,J0),Q=Math.imul(Z0,F0),Q=Q+Math.imul(G0,J0)|0,K=Math.imul(G0,F0),U=U+Math.imul($0,A0)|0,Q=Q+Math.imul($0,H0)|0,Q=Q+Math.imul(Q0,A0)|0,K=K+Math.imul(Q0,H0)|0,U=U+Math.imul(o,W0)|0,Q=Q+Math.imul(o,E0)|0,Q=Q+Math.imul(a,W0)|0,K=K+Math.imul(a,E0)|0,U=U+Math.imul(i,T0)|0,Q=Q+Math.imul(i,D0)|0,Q=Q+Math.imul(e,T0)|0,K=K+Math.imul(e,D0)|0,U=U+Math.imul(m,C0)|0,Q=Q+Math.imul(m,L0)|0,Q=Q+Math.imul(r,C0)|0,K=K+Math.imul(r,L0)|0,U=U+Math.imul(t,R0)|0,Q=Q+Math.imul(t,P0)|0,Q=Q+Math.imul(s,R0)|0,K=K+Math.imul(s,P0)|0,U=U+Math.imul(l,z0)|0,Q=Q+Math.imul(l,M0)|0,Q=Q+Math.imul(n,z0)|0,K=K+Math.imul(n,M0)|0;var s0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(s0>>>26)|0,s0&=67108863,U=Math.imul(Z0,A0),Q=Math.imul(Z0,H0),Q=Q+Math.imul(G0,A0)|0,K=Math.imul(G0,H0),U=U+Math.imul($0,W0)|0,Q=Q+Math.imul($0,E0)|0,Q=Q+Math.imul(Q0,W0)|0,K=K+Math.imul(Q0,E0)|0,U=U+Math.imul(o,T0)|0,Q=Q+Math.imul(o,D0)|0,Q=Q+Math.imul(a,T0)|0,K=K+Math.imul(a,D0)|0,U=U+Math.imul(i,C0)|0,Q=Q+Math.imul(i,L0)|0,Q=Q+Math.imul(e,C0)|0,K=K+Math.imul(e,L0)|0,U=U+Math.imul(m,R0)|0,Q=Q+Math.imul(m,P0)|0,Q=Q+Math.imul(r,R0)|0,K=K+Math.imul(r,P0)|0,U=U+Math.imul(t,z0)|0,Q=Q+Math.imul(t,M0)|0,Q=Q+Math.imul(s,z0)|0,K=K+Math.imul(s,M0)|0;var t0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(t0>>>26)|0,t0&=67108863,U=Math.imul(Z0,W0),Q=Math.imul(Z0,E0),Q=Q+Math.imul(G0,W0)|0,K=Math.imul(G0,E0),U=U+Math.imul($0,T0)|0,Q=Q+Math.imul($0,D0)|0,Q=Q+Math.imul(Q0,T0)|0,K=K+Math.imul(Q0,D0)|0,U=U+Math.imul(o,C0)|0,Q=Q+Math.imul(o,L0)|0,Q=Q+Math.imul(a,C0)|0,K=K+Math.imul(a,L0)|0,U=U+Math.imul(i,R0)|0,Q=Q+Math.imul(i,P0)|0,Q=Q+Math.imul(e,R0)|0,K=K+Math.imul(e,P0)|0,U=U+Math.imul(m,z0)|0,Q=Q+Math.imul(m,M0)|0,Q=Q+Math.imul(r,z0)|0,K=K+Math.imul(r,M0)|0;var m0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(m0>>>26)|0,m0&=67108863,U=Math.imul(Z0,T0),Q=Math.imul(Z0,D0),Q=Q+Math.imul(G0,T0)|0,K=Math.imul(G0,D0),U=U+Math.imul($0,C0)|0,Q=Q+Math.imul($0,L0)|0,Q=Q+Math.imul(Q0,C0)|0,K=K+Math.imul(Q0,L0)|0,U=U+Math.imul(o,R0)|0,Q=Q+Math.imul(o,P0)|0,Q=Q+Math.imul(a,R0)|0,K=K+Math.imul(a,P0)|0,U=U+Math.imul(i,z0)|0,Q=Q+Math.imul(i,M0)|0,Q=Q+Math.imul(e,z0)|0,K=K+Math.imul(e,M0)|0;var a0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(a0>>>26)|0,a0&=67108863,U=Math.imul(Z0,C0),Q=Math.imul(Z0,L0),Q=Q+Math.imul(G0,C0)|0,K=Math.imul(G0,L0),U=U+Math.imul($0,R0)|0,Q=Q+Math.imul($0,P0)|0,Q=Q+Math.imul(Q0,R0)|0,K=K+Math.imul(Q0,P0)|0,U=U+Math.imul(o,z0)|0,Q=Q+Math.imul(o,M0)|0,Q=Q+Math.imul(a,z0)|0,K=K+Math.imul(a,M0)|0;var e0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(e0>>>26)|0,e0&=67108863,U=Math.imul(Z0,R0),Q=Math.imul(Z0,P0),Q=Q+Math.imul(G0,R0)|0,K=Math.imul(G0,P0),U=U+Math.imul($0,z0)|0,Q=Q+Math.imul($0,M0)|0,Q=Q+Math.imul(Q0,z0)|0,K=K+Math.imul(Q0,M0)|0;var r0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(r0>>>26)|0,r0&=67108863,U=Math.imul(Z0,z0),Q=Math.imul(Z0,M0),Q=Q+Math.imul(G0,z0)|0,K=Math.imul(G0,M0);var i0=(O+U|0)+((Q&8191)<<13)|0;return O=(K+(Q>>>13)|0)+(i0>>>26)|0,i0&=67108863,I[0]=Q$,I[1]=j0,I[2]=k0,I[3]=f0,I[4]=c0,I[5]=h0,I[6]=d0,I[7]=b0,I[8]=l0,I[9]=o0,I[10]=u0,I[11]=n0,I[12]=s0,I[13]=t0,I[14]=m0,I[15]=a0,I[16]=e0,I[17]=r0,I[18]=i0,O!==0&&(I[19]=O,G.length++),G};Math.imul||(M=L);function v($,Y,G){G.negative=Y.negative^$.negative,G.length=$.length+Y.length;for(var Z=0,V=0,I=0;I<G.length-1;I++){var O=V;V=0;for(var U=Z&67108863,Q=Math.min(I,Y.length-1),K=Math.max(0,I-$.length+1);K<=Q;K++){var R=I-K,A=$.words[R]|0,S=Y.words[K]|0,x=A*S,B=x&67108863;O=O+(x/67108864|0)|0,B=B+U|0,U=B&67108863,O=O+(B>>>26)|0,V+=O>>>26,O&=67108863}G.words[I]=U,Z=O,O=V}return Z!==0?G.words[I]=Z:G.length--,G.strip()}function q($,Y,G){var Z=new g;return Z.mulp($,Y,G)}X.prototype.mulTo=function($,Y){var G,Z=this.length+$.length;return this.length===10&&$.length===10?G=M(this,$,Y):Z<63?G=L(this,$,Y):Z<1024?G=v(this,$,Y):G=q(this,$,Y),G};function g($,Y){this.x=$,this.y=Y}g.prototype.makeRBT=function($){for(var Y=new Array($),G=X.prototype._countBits($)-1,Z=0;Z<$;Z++)Y[Z]=this.revBin(Z,G,$);return Y},g.prototype.revBin=function($,Y,G){if($===0||$===G-1)return $;for(var Z=0,V=0;V<Y;V++)Z|=($&1)<<Y-V-1,$>>=1;return Z},g.prototype.permute=function($,Y,G,Z,V,I){for(var O=0;O<I;O++)Z[O]=Y[$[O]],V[O]=G[$[O]]},g.prototype.transform=function($,Y,G,Z,V,I){this.permute(I,$,Y,G,Z,V);for(var O=1;O<V;O<<=1)for(var U=O<<1,Q=Math.cos(2*Math.PI/U),K=Math.sin(2*Math.PI/U),R=0;R<V;R+=U)for(var A=Q,S=K,x=0;x<O;x++){var B=G[R+x],c=Z[R+x],q0=G[R+x+O],h=Z[R+x+O],d=A*q0-S*h;h=A*h+S*q0,q0=d,G[R+x]=B+q0,Z[R+x]=c+h,G[R+x+O]=B-q0,Z[R+x+O]=c-h,x!==U&&(d=Q*A-K*S,S=Q*S+K*A,A=d)}},g.prototype.guessLen13b=function($,Y){var G=Math.max(Y,$)|1,Z=G&1,V=0;for(G=G/2|0;G;G=G>>>1)V++;return 1<<V+1+Z},g.prototype.conjugate=function($,Y,G){if(!(G<=1))for(var Z=0;Z<G/2;Z++){var V=$[Z];$[Z]=$[G-Z-1],$[G-Z-1]=V,V=Y[Z],Y[Z]=-Y[G-Z-1],Y[G-Z-1]=-V}},g.prototype.normalize13b=function($,Y){for(var G=0,Z=0;Z<Y/2;Z++){var V=Math.round($[2*Z+1]/Y)*8192+Math.round($[2*Z]/Y)+G;$[Z]=V&67108863,V<67108864?G=0:G=V/67108864|0}return $},g.prototype.convert13b=function($,Y,G,Z){for(var V=0,I=0;I<Y;I++)V=V+($[I]|0),G[2*I]=V&8191,V=V>>>13,G[2*I+1]=V&8191,V=V>>>13;for(I=2*Y;I<Z;++I)G[I]=0;F(V===0),F((V&-8192)===0)},g.prototype.stub=function($){for(var Y=new Array($),G=0;G<$;G++)Y[G]=0;return Y},g.prototype.mulp=function($,Y,G){var Z=2*this.guessLen13b($.length,Y.length),V=this.makeRBT(Z),I=this.stub(Z),O=new Array(Z),U=new Array(Z),Q=new Array(Z),K=new Array(Z),R=new Array(Z),A=new Array(Z),S=G.words;S.length=Z,this.convert13b($.words,$.length,O,Z),this.convert13b(Y.words,Y.length,K,Z),this.transform(O,I,U,Q,Z,V),this.transform(K,I,R,A,Z,V);for(var x=0;x<Z;x++){var B=U[x]*R[x]-Q[x]*A[x];Q[x]=U[x]*A[x]+Q[x]*R[x],U[x]=B}return this.conjugate(U,Q,Z),this.transform(U,Q,S,I,Z,V),this.conjugate(S,I,Z),this.normalize13b(S,Z),G.negative=$.negative^Y.negative,G.length=$.length+Y.length,G.strip()},X.prototype.mul=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),this.mulTo($,Y)},X.prototype.mulf=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),q(this,$,Y)},X.prototype.imul=function($){return this.clone().mulTo($,this)},X.prototype.imuln=function($){F(typeof $=="number"),F($<67108864);for(var Y=0,G=0;G<this.length;G++){var Z=(this.words[G]|0)*$,V=(Z&67108863)+(Y&67108863);Y>>=26,Y+=Z/67108864|0,Y+=V>>>26,this.words[G]=V&67108863}return Y!==0&&(this.words[G]=Y,this.length++),this},X.prototype.muln=function($){return this.clone().imuln($)},X.prototype.sqr=function(){return this.mul(this)},X.prototype.isqr=function(){return this.imul(this.clone())},X.prototype.pow=function($){var Y=E($);if(Y.length===0)return new X(1);for(var G=this,Z=0;Z<Y.length&&Y[Z]===0;Z++,G=G.sqr());if(++Z<Y.length)for(var V=G.sqr();Z<Y.length;Z++,V=V.sqr())Y[Z]!==0&&(G=G.mul(V));return G},X.prototype.iushln=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=67108863>>>26-Y<<26-Y,V;if(Y!==0){var I=0;for(V=0;V<this.length;V++){var O=this.words[V]&Z,U=(this.words[V]|0)-O<<Y;this.words[V]=U|I,I=O>>>26-Y}I&&(this.words[V]=I,this.length++)}if(G!==0){for(V=this.length-1;V>=0;V--)this.words[V+G]=this.words[V];for(V=0;V<G;V++)this.words[V]=0;this.length+=G}return this.strip()},X.prototype.ishln=function($){return F(this.negative===0),this.iushln($)},X.prototype.iushrn=function($,Y,G){F(typeof $=="number"&&$>=0);var Z;Y?Z=(Y-Y%26)/26:Z=0;var V=$%26,I=Math.min(($-V)/26,this.length),O=67108863^67108863>>>V<<V,U=G;if(Z-=I,Z=Math.max(0,Z),U){for(var Q=0;Q<I;Q++)U.words[Q]=this.words[Q];U.length=I}if(I!==0)if(this.length>I)for(this.length-=I,Q=0;Q<this.length;Q++)this.words[Q]=this.words[Q+I];else this.words[0]=0,this.length=1;var K=0;for(Q=this.length-1;Q>=0&&(K!==0||Q>=Z);Q--){var R=this.words[Q]|0;this.words[Q]=K<<26-V|R>>>V,K=R&O}return U&&K!==0&&(U.words[U.length++]=K),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},X.prototype.ishrn=function($,Y,G){return F(this.negative===0),this.iushrn($,Y,G)},X.prototype.shln=function($){return this.clone().ishln($)},X.prototype.ushln=function($){return this.clone().iushln($)},X.prototype.shrn=function($){return this.clone().ishrn($)},X.prototype.ushrn=function($){return this.clone().iushrn($)},X.prototype.testn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return!1;var V=this.words[G];return!!(V&Z)},X.prototype.imaskn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26;if(F(this.negative===0,"imaskn works only with positive numbers"),this.length<=G)return this;if(Y!==0&&G++,this.length=Math.min(G,this.length),Y!==0){var Z=67108863^67108863>>>Y<<Y;this.words[this.length-1]&=Z}return this.strip()},X.prototype.maskn=function($){return this.clone().imaskn($)},X.prototype.iaddn=function($){return F(typeof $=="number"),F($<67108864),$<0?this.isubn(-$):this.negative!==0?this.length===1&&(this.words[0]|0)<$?(this.words[0]=$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn($),this.negative=1,this):this._iaddn($)},X.prototype._iaddn=function($){this.words[0]+=$;for(var Y=0;Y<this.length&&this.words[Y]>=67108864;Y++)this.words[Y]-=67108864,Y===this.length-1?this.words[Y+1]=1:this.words[Y+1]++;return this.length=Math.max(this.length,Y+1),this},X.prototype.isubn=function($){if(F(typeof $=="number"),F($<67108864),$<0)return this.iaddn(-$);if(this.negative!==0)return this.negative=0,this.iaddn($),this.negative=1,this;if(this.words[0]-=$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var Y=0;Y<this.length&&this.words[Y]<0;Y++)this.words[Y]+=67108864,this.words[Y+1]-=1;return this.strip()},X.prototype.addn=function($){return this.clone().iaddn($)},X.prototype.subn=function($){return this.clone().isubn($)},X.prototype.iabs=function(){return this.negative=0,this},X.prototype.abs=function(){return this.clone().iabs()},X.prototype._ishlnsubmul=function($,Y,G){var Z=$.length+G,V;this._expand(Z);var I,O=0;for(V=0;V<$.length;V++){I=(this.words[V+G]|0)+O;var U=($.words[V]|0)*Y;I-=U&67108863,O=(I>>26)-(U/67108864|0),this.words[V+G]=I&67108863}for(;V<this.length-G;V++)I=(this.words[V+G]|0)+O,O=I>>26,this.words[V+G]=I&67108863;if(O===0)return this.strip();for(F(O===-1),O=0,V=0;V<this.length;V++)I=-(this.words[V]|0)+O,O=I>>26,this.words[V]=I&67108863;return this.negative=1,this.strip()},X.prototype._wordDiv=function($,Y){var G=this.length-$.length,Z=this.clone(),V=$,I=V.words[V.length-1]|0,O=this._countBits(I);G=26-O,G!==0&&(V=V.ushln(G),Z.iushln(G),I=V.words[V.length-1]|0);var U=Z.length-V.length,Q;if(Y!=="mod"){Q=new X(null),Q.length=U+1,Q.words=new Array(Q.length);for(var K=0;K<Q.length;K++)Q.words[K]=0}var R=Z.clone()._ishlnsubmul(V,1,U);R.negative===0&&(Z=R,Q&&(Q.words[U]=1));for(var A=U-1;A>=0;A--){var S=(Z.words[V.length+A]|0)*67108864+(Z.words[V.length+A-1]|0);for(S=Math.min(S/I|0,67108863),Z._ishlnsubmul(V,S,A);Z.negative!==0;)S--,Z.negative=0,Z._ishlnsubmul(V,1,A),Z.isZero()||(Z.negative^=1);Q&&(Q.words[A]=S)}return Q&&Q.strip(),Z.strip(),Y!=="div"&&G!==0&&Z.iushrn(G),{div:Q||null,mod:Z}},X.prototype.divmod=function($,Y,G){if(F(!$.isZero()),this.isZero())return{div:new X(0),mod:new X(0)};var Z,V,I;return this.negative!==0&&$.negative===0?(I=this.neg().divmod($,Y),Y!=="mod"&&(Z=I.div.neg()),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.iadd($)),{div:Z,mod:V}):this.negative===0&&$.negative!==0?(I=this.divmod($.neg(),Y),Y!=="mod"&&(Z=I.div.neg()),{div:Z,mod:I.mod}):(this.negative&$.negative)!==0?(I=this.neg().divmod($.neg(),Y),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.isub($)),{div:I.div,mod:V}):$.length>this.length||this.cmp($)<0?{div:new X(0),mod:this}:$.length===1?Y==="div"?{div:this.divn($.words[0]),mod:null}:Y==="mod"?{div:null,mod:new X(this.modn($.words[0]))}:{div:this.divn($.words[0]),mod:new X(this.modn($.words[0]))}:this._wordDiv($,Y)},X.prototype.div=function($){return this.divmod($,"div",!1).div},X.prototype.mod=function($){return this.divmod($,"mod",!1).mod},X.prototype.umod=function($){return this.divmod($,"mod",!0).mod},X.prototype.divRound=function($){var Y=this.divmod($);if(Y.mod.isZero())return Y.div;var G=Y.div.negative!==0?Y.mod.isub($):Y.mod,Z=$.ushrn(1),V=$.andln(1),I=G.cmp(Z);return I<0||V===1&&I===0?Y.div:Y.div.negative!==0?Y.div.isubn(1):Y.div.iaddn(1)},X.prototype.modn=function($){F($<=67108863);for(var Y=(1<<26)%$,G=0,Z=this.length-1;Z>=0;Z--)G=(Y*G+(this.words[Z]|0))%$;return G},X.prototype.idivn=function($){F($<=67108863);for(var Y=0,G=this.length-1;G>=0;G--){var Z=(this.words[G]|0)+Y*67108864;this.words[G]=Z/$|0,Y=Z%$}return this.strip()},X.prototype.divn=function($){return this.clone().idivn($)},X.prototype.egcd=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=new X(0),O=new X(1),U=0;Y.isEven()&&G.isEven();)Y.iushrn(1),G.iushrn(1),++U;for(var Q=G.clone(),K=Y.clone();!Y.isZero();){for(var R=0,A=1;(Y.words[0]&A)===0&&R<26;++R,A<<=1);if(R>0)for(Y.iushrn(R);R-- >0;)(Z.isOdd()||V.isOdd())&&(Z.iadd(Q),V.isub(K)),Z.iushrn(1),V.iushrn(1);for(var S=0,x=1;(G.words[0]&x)===0&&S<26;++S,x<<=1);if(S>0)for(G.iushrn(S);S-- >0;)(I.isOdd()||O.isOdd())&&(I.iadd(Q),O.isub(K)),I.iushrn(1),O.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(I),V.isub(O)):(G.isub(Y),I.isub(Z),O.isub(V))}return{a:I,b:O,gcd:G.iushln(U)}},X.prototype._invmp=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=G.clone();Y.cmpn(1)>0&&G.cmpn(1)>0;){for(var O=0,U=1;(Y.words[0]&U)===0&&O<26;++O,U<<=1);if(O>0)for(Y.iushrn(O);O-- >0;)Z.isOdd()&&Z.iadd(I),Z.iushrn(1);for(var Q=0,K=1;(G.words[0]&K)===0&&Q<26;++Q,K<<=1);if(Q>0)for(G.iushrn(Q);Q-- >0;)V.isOdd()&&V.iadd(I),V.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(V)):(G.isub(Y),V.isub(Z))}var R;return Y.cmpn(1)===0?R=Z:R=V,R.cmpn(0)<0&&R.iadd($),R},X.prototype.gcd=function($){if(this.isZero())return $.abs();if($.isZero())return this.abs();var Y=this.clone(),G=$.clone();Y.negative=0,G.negative=0;for(var Z=0;Y.isEven()&&G.isEven();Z++)Y.iushrn(1),G.iushrn(1);do{for(;Y.isEven();)Y.iushrn(1);for(;G.isEven();)G.iushrn(1);var V=Y.cmp(G);if(V<0){var I=Y;Y=G,G=I}else if(V===0||G.cmpn(1)===0)break;Y.isub(G)}while(!0);return G.iushln(Z)},X.prototype.invm=function($){return this.egcd($).a.umod($)},X.prototype.isEven=function(){return(this.words[0]&1)===0},X.prototype.isOdd=function(){return(this.words[0]&1)===1},X.prototype.andln=function($){return this.words[0]&$},X.prototype.bincn=function($){F(typeof $=="number");var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return this._expand(G+1),this.words[G]|=Z,this;for(var V=Z,I=G;V!==0&&I<this.length;I++){var O=this.words[I]|0;O+=V,V=O>>>26,O&=67108863,this.words[I]=O}return V!==0&&(this.words[I]=V,this.length++),this},X.prototype.isZero=function(){return this.length===1&&this.words[0]===0},X.prototype.cmpn=function($){var Y=$<0;if(this.negative!==0&&!Y)return-1;if(this.negative===0&&Y)return 1;this.strip();var G;if(this.length>1)G=1;else{Y&&($=-$),F($<=67108863,"Number is too big");var Z=this.words[0]|0;G=Z===$?0:Z<$?-1:1}return this.negative!==0?-G|0:G},X.prototype.cmp=function($){if(this.negative!==0&&$.negative===0)return-1;if(this.negative===0&&$.negative!==0)return 1;var Y=this.ucmp($);return this.negative!==0?-Y|0:Y},X.prototype.ucmp=function($){if(this.length>$.length)return 1;if(this.length<$.length)return-1;for(var Y=0,G=this.length-1;G>=0;G--){var Z=this.words[G]|0,V=$.words[G]|0;if(Z!==V){Z<V?Y=-1:Z>V&&(Y=1);break}}return Y},X.prototype.gtn=function($){return this.cmpn($)===1},X.prototype.gt=function($){return this.cmp($)===1},X.prototype.gten=function($){return this.cmpn($)>=0},X.prototype.gte=function($){return this.cmp($)>=0},X.prototype.ltn=function($){return this.cmpn($)===-1},X.prototype.lt=function($){return this.cmp($)===-1},X.prototype.lten=function($){return this.cmpn($)<=0},X.prototype.lte=function($){return this.cmp($)<=0},X.prototype.eqn=function($){return this.cmpn($)===0},X.prototype.eq=function($){return this.cmp($)===0},X.red=function($){return new p($)},X.prototype.toRed=function($){return F(!this.red,"Already a number in reduction context"),F(this.negative===0,"red works only with positives"),$.convertTo(this)._forceRed($)},X.prototype.fromRed=function(){return F(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},X.prototype._forceRed=function($){return this.red=$,this},X.prototype.forceRed=function($){return F(!this.red,"Already a number in reduction context"),this._forceRed($)},X.prototype.redAdd=function($){return F(this.red,"redAdd works only with red numbers"),this.red.add(this,$)},X.prototype.redIAdd=function($){return F(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,$)},X.prototype.redSub=function($){return F(this.red,"redSub works only with red numbers"),this.red.sub(this,$)},X.prototype.redISub=function($){return F(this.red,"redISub works only with red numbers"),this.red.isub(this,$)},X.prototype.redShl=function($){return F(this.red,"redShl works only with red numbers"),this.red.shl(this,$)},X.prototype.redMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.mul(this,$)},X.prototype.redIMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.imul(this,$)},X.prototype.redSqr=function(){return F(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},X.prototype.redISqr=function(){return F(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},X.prototype.redSqrt=function(){return F(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},X.prototype.redInvm=function(){return F(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},X.prototype.redNeg=function(){return F(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},X.prototype.redPow=function($){return F(this.red&&!$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,$)};var y={k256:null,p224:null,p192:null,p25519:null};function w($,Y){this.name=$,this.p=new X(Y,16),this.n=this.p.bitLength(),this.k=new X(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}w.prototype._tmp=function(){var $=new X(null);return $.words=new Array(Math.ceil(this.n/13)),$},w.prototype.ireduce=function($){var Y=$,G;do this.split(Y,this.tmp),Y=this.imulK(Y),Y=Y.iadd(this.tmp),G=Y.bitLength();while(G>this.n);var Z=G<this.n?-1:Y.ucmp(this.p);return Z===0?(Y.words[0]=0,Y.length=1):Z>0?Y.isub(this.p):Y.strip!==void 0?Y.strip():Y._strip(),Y},w.prototype.split=function($,Y){$.iushrn(this.n,0,Y)},w.prototype.imulK=function($){return $.imul(this.k)};function f(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(f,w),f.prototype.split=function($,Y){for(var G=4194303,Z=Math.min($.length,9),V=0;V<Z;V++)Y.words[V]=$.words[V];if(Y.length=Z,$.length<=9){$.words[0]=0,$.length=1;return}var I=$.words[9];for(Y.words[Y.length++]=I&G,V=10;V<$.length;V++){var O=$.words[V]|0;$.words[V-10]=(O&G)<<4|I>>>22,I=O}I>>>=22,$.words[V-10]=I,I===0&&$.length>10?$.length-=10:$.length-=9},f.prototype.imulK=function($){$.words[$.length]=0,$.words[$.length+1]=0,$.length+=2;for(var Y=0,G=0;G<$.length;G++){var Z=$.words[G]|0;Y+=Z*977,$.words[G]=Y&67108863,Y=Z*64+(Y/67108864|0)}return $.words[$.length-1]===0&&($.length--,$.words[$.length-1]===0&&$.length--),$};function b(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(b,w);function u(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(u,w);function Y0(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(Y0,w),Y0.prototype.imulK=function($){for(var Y=0,G=0;G<$.length;G++){var Z=($.words[G]|0)*19+Y,V=Z&67108863;Z>>>=26,$.words[G]=V,Y=Z}return Y!==0&&($.words[$.length++]=Y),$},X._prime=function($){if(y[$])return y[$];var Y;if($==="k256")Y=new f;else if($==="p224")Y=new b;else if($==="p192")Y=new u;else if($==="p25519")Y=new Y0;else throw new Error("Unknown prime "+$);return y[$]=Y,Y};function p($){if(typeof $=="string"){var Y=X._prime($);this.m=Y.p,this.prime=Y}else F($.gtn(1),"modulus must be greater than 1"),this.m=$,this.prime=null}p.prototype._verify1=function($){F($.negative===0,"red works only with positives"),F($.red,"red works only with red numbers")},p.prototype._verify2=function($,Y){F(($.negative|Y.negative)===0,"red works only with positives"),F($.red&&$.red===Y.red,"red works only with red numbers")},p.prototype.imod=function($){return this.prime?this.prime.ireduce($)._forceRed(this):$.umod(this.m)._forceRed(this)},p.prototype.neg=function($){return $.isZero()?$.clone():this.m.sub($)._forceRed(this)},p.prototype.add=function($,Y){this._verify2($,Y);var G=$.add(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G._forceRed(this)},p.prototype.iadd=function($,Y){this._verify2($,Y);var G=$.iadd(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G},p.prototype.sub=function($,Y){this._verify2($,Y);var G=$.sub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G._forceRed(this)},p.prototype.isub=function($,Y){this._verify2($,Y);var G=$.isub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G},p.prototype.shl=function($,Y){return this._verify1($),this.imod($.ushln(Y))},p.prototype.imul=function($,Y){return this._verify2($,Y),this.imod($.imul(Y))},p.prototype.mul=function($,Y){return this._verify2($,Y),this.imod($.mul(Y))},p.prototype.isqr=function($){return this.imul($,$.clone())},p.prototype.sqr=function($){return this.mul($,$)},p.prototype.sqrt=function($){if($.isZero())return $.clone();var Y=this.m.andln(3);if(F(Y%2===1),Y===3){var G=this.m.add(new X(1)).iushrn(2);return this.pow($,G)}for(var Z=this.m.subn(1),V=0;!Z.isZero()&&Z.andln(1)===0;)V++,Z.iushrn(1);F(!Z.isZero());var I=new X(1).toRed(this),O=I.redNeg(),U=this.m.subn(1).iushrn(1),Q=this.m.bitLength();for(Q=new X(2*Q*Q).toRed(this);this.pow(Q,U).cmp(O)!==0;)Q.redIAdd(O);for(var K=this.pow(Q,Z),R=this.pow($,Z.addn(1).iushrn(1)),A=this.pow($,Z),S=V;A.cmp(I)!==0;){for(var x=A,B=0;x.cmp(I)!==0;B++)x=x.redSqr();F(B<S);var c=this.pow(K,new X(1).iushln(S-B-1));R=R.redMul(c),K=c.redSqr(),A=A.redMul(K),S=B}return R},p.prototype.invm=function($){var Y=$._invmp(this.m);return Y.negative!==0?(Y.negative=0,this.imod(Y).redNeg()):this.imod(Y)},p.prototype.pow=function($,Y){if(Y.isZero())return new X(1).toRed(this);if(Y.cmpn(1)===0)return $.clone();var G=4,Z=new Array(1<<G);Z[0]=new X(1).toRed(this),Z[1]=$;for(var V=2;V<Z.length;V++)Z[V]=this.mul(Z[V-1],$);var I=Z[0],O=0,U=0,Q=Y.bitLength()%26;for(Q===0&&(Q=26),V=Y.length-1;V>=0;V--){for(var K=Y.words[V],R=Q-1;R>=0;R--){var A=K>>R&1;if(I!==Z[0]&&(I=this.sqr(I)),A===0&&O===0){U=0;continue}O<<=1,O|=A,U++,!(U!==G&&(V!==0||R!==0))&&(I=this.mul(I,Z[O]),U=0,O=0)}Q=26}return I},p.prototype.convertTo=function($){var Y=$.umod(this.m);return Y===$?Y.clone():Y},p.prototype.convertFrom=function($){var Y=$.clone();return Y.red=null,Y},X.mont=function($){return new v0($)};function v0($){p.call(this,$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new X(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(v0,p),v0.prototype.convertTo=function($){return this.imod($.ushln(this.shift))},v0.prototype.convertFrom=function($){var Y=this.imod($.mul(this.rinv));return Y.red=null,Y},v0.prototype.imul=function($,Y){if($.isZero()||Y.isZero())return $.words[0]=0,$.length=1,$;var G=$.imul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.mul=function($,Y){if($.isZero()||Y.isZero())return new X(0)._forceRed(this);var G=$.mul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.invm=function($){var Y=this.imod($._invmp(this.m).mul(this.r2));return Y._forceRed(this)}})(typeof _>"u"||_,N)}}),zQ=S0({"node_modules/minimalistic-crypto-utils/lib/utils.js"(N){var _=N;function k(z,X){if(Array.isArray(z))return z.slice();if(!z)return[];var C=[];if(typeof z!="string"){for(var P=0;P<z.length;P++)C[P]=z[P]|0;return C}if(X==="hex"){z=z.replace(/[^a-z0-9]+/gi,""),z.length%2!==0&&(z="0"+z);for(var P=0;P<z.length;P+=2)C.push(parseInt(z[P]+z[P+1],16))}else for(var P=0;P<z.length;P++){var T=z.charCodeAt(P),W=T>>8,J=T&255;W?C.push(W,J):C.push(J)}return C}_.toArray=k;function j(z){return z.length===1?"0"+z:z}_.zero2=j;function F(z){for(var X="",C=0;C<z.length;C++)X+=j(z[C].toString(16));return X}_.toHex=F,_.encode=function(z,X){return X==="hex"?F(z):z}}}),E$=S0({"node_modules/elliptic/lib/elliptic/utils.js"(N){var _=N,k=D$(),j=W$(),F=zQ();_.assert=j,_.toArray=F.toArray,_.zero2=F.zero2,_.toHex=F.toHex,_.encode=F.encode;function z(W,J,H){var D=new Array(Math.max(W.bitLength(),H)+1);D.fill(0);for(var E=1<<J+1,L=W.clone(),M=0;M<D.length;M++){var v,q=L.andln(E-1);L.isOdd()?(q>(E>>1)-1?v=(E>>1)-q:v=q,L.isubn(v)):v=0,D[M]=v,L.iushrn(1)}return D}_.getNAF=z;function X(W,J){var H=[[],[]];W=W.clone(),J=J.clone();for(var D=0,E=0,L;W.cmpn(-D)>0||J.cmpn(-E)>0;){var M=W.andln(3)+D&3,v=J.andln(3)+E&3;M===3&&(M=-1),v===3&&(v=-1);var q;(M&1)===0?q=0:(L=W.andln(7)+D&7,(L===3||L===5)&&v===2?q=-M:q=M),H[0].push(q);var g;(v&1)===0?g=0:(L=J.andln(7)+E&7,(L===3||L===5)&&M===2?g=-v:g=v),H[1].push(g),2*D===q+1&&(D=1-D),2*E===g+1&&(E=1-E),W.iushrn(1),J.iushrn(1)}return H}_.getJSF=X;function C(W,J,H){var D="_"+J;W.prototype[J]=function(){return this[D]!==void 0?this[D]:this[D]=H.call(this)}}_.cachedProperty=C;function P(W){return typeof W=="string"?_.toArray(W,"hex"):W}_.parseBytes=P;function T(W){return new k(W,"hex","le")}_.intFromLE=T}}),k$=S0({"node_modules/elliptic/lib/elliptic/curve/base.js"(N,_){var k=D$(),j=E$(),F=j.getNAF,z=j.getJSF,X=j.assert;function C(T,W){this.type=T,this.p=new k(W.p,16),this.red=W.prime?k.red(W.prime):k.mont(this.p),this.zero=new k(0).toRed(this.red),this.one=new k(1).toRed(this.red),this.two=new k(2).toRed(this.red),this.n=W.n&&new k(W.n,16),this.g=W.g&&this.pointFromJSON(W.g,W.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var J=this.n&&this.p.div(this.n);!J||J.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}_.exports=C,C.prototype.point=function(){throw new Error("Not implemented")},C.prototype.validate=function(){throw new Error("Not implemented")},C.prototype._fixedNafMul=function(T,W){X(T.precomputed);var J=T._getDoubles(),H=F(W,1,this._bitLength),D=(1<<J.step+1)-(J.step%2===0?2:1);D/=3;var E=[],L,M;for(L=0;L<H.length;L+=J.step){M=0;for(var v=L+J.step-1;v>=L;v--)M=(M<<1)+H[v];E.push(M)}for(var q=this.jpoint(null,null,null),g=this.jpoint(null,null,null),y=D;y>0;y--){for(L=0;L<E.length;L++)M=E[L],M===y?g=g.mixedAdd(J.points[L]):M===-y&&(g=g.mixedAdd(J.points[L].neg()));q=q.add(g)}return q.toP()},C.prototype._wnafMul=function(T,W){var J=4,H=T._getNAFPoints(J);J=H.wnd;for(var D=H.points,E=F(W,J,this._bitLength),L=this.jpoint(null,null,null),M=E.length-1;M>=0;M--){for(var v=0;M>=0&&E[M]===0;M--)v++;if(M>=0&&v++,L=L.dblp(v),M<0)break;var q=E[M];X(q!==0),T.type==="affine"?q>0?L=L.mixedAdd(D[q-1>>1]):L=L.mixedAdd(D[-q-1>>1].neg()):q>0?L=L.add(D[q-1>>1]):L=L.add(D[-q-1>>1].neg())}return T.type==="affine"?L.toP():L},C.prototype._wnafMulAdd=function(T,W,J,H,D){var E=this._wnafT1,L=this._wnafT2,M=this._wnafT3,v=0,q,g,y;for(q=0;q<H;q++){y=W[q];var w=y._getNAFPoints(T);E[q]=w.wnd,L[q]=w.points}for(q=H-1;q>=1;q-=2){var f=q-1,b=q;if(E[f]!==1||E[b]!==1){M[f]=F(J[f],E[f],this._bitLength),M[b]=F(J[b],E[b],this._bitLength),v=Math.max(M[f].length,v),v=Math.max(M[b].length,v);continue}var u=[W[f],null,null,W[b]];W[f].y.cmp(W[b].y)===0?(u[1]=W[f].add(W[b]),u[2]=W[f].toJ().mixedAdd(W[b].neg())):W[f].y.cmp(W[b].y.redNeg())===0?(u[1]=W[f].toJ().mixedAdd(W[b]),u[2]=W[f].add(W[b].neg())):(u[1]=W[f].toJ().mixedAdd(W[b]),u[2]=W[f].toJ().mixedAdd(W[b].neg()));var Y0=[-3,-1,-5,-7,0,7,5,1,3],p=z(J[f],J[b]);for(v=Math.max(p[0].length,v),M[f]=new Array(v),M[b]=new Array(v),g=0;g<v;g++){var v0=p[0][g]|0,$=p[1][g]|0;M[f][g]=Y0[(v0+1)*3+($+1)],M[b][g]=0,L[f]=u}}var Y=this.jpoint(null,null,null),G=this._wnafT4;for(q=v;q>=0;q--){for(var Z=0;q>=0;){var V=!0;for(g=0;g<H;g++)G[g]=M[g][q]|0,G[g]!==0&&(V=!1);if(!V)break;Z++,q--}if(q>=0&&Z++,Y=Y.dblp(Z),q<0)break;for(g=0;g<H;g++){var I=G[g];I!==0&&(I>0?y=L[g][I-1>>1]:I<0&&(y=L[g][-I-1>>1].neg()),y.type==="affine"?Y=Y.mixedAdd(y):Y=Y.add(y))}}for(q=0;q<H;q++)L[q]=null;return D?Y:Y.toP()};function P(T,W){this.curve=T,this.type=W,this.precomputed=null}C.BasePoint=P,P.prototype.eq=function(){throw new Error("Not implemented")},P.prototype.validate=function(){return this.curve.validate(this)},C.prototype.decodePoint=function(T,W){T=j.toArray(T,W);var J=this.p.byteLength();if((T[0]===4||T[0]===6||T[0]===7)&&T.length-1===2*J){T[0]===6?X(T[T.length-1]%2===0):T[0]===7&&X(T[T.length-1]%2===1);var H=this.point(T.slice(1,1+J),T.slice(1+J,1+2*J));return H}else if((T[0]===2||T[0]===3)&&T.length-1===J)return this.pointFromX(T.slice(1,1+J),T[0]===3);throw new Error("Unknown point format")},P.prototype.encodeCompressed=function(T){return this.encode(T,!0)},P.prototype._encode=function(T){var W=this.curve.p.byteLength(),J=this.getX().toArray("be",W);return T?[this.getY().isEven()?2:3].concat(J):[4].concat(J,this.getY().toArray("be",W))},P.prototype.encode=function(T,W){return j.encode(this._encode(W),T)},P.prototype.precompute=function(T){if(this.precomputed)return this;var W={doubles:null,naf:null,beta:null};return W.naf=this._getNAFPoints(8),W.doubles=this._getDoubles(4,T),W.beta=this._getBeta(),this.precomputed=W,this},P.prototype._hasDoubles=function(T){if(!this.precomputed)return!1;var W=this.precomputed.doubles;return W?W.points.length>=Math.ceil((T.bitLength()+1)/W.step):!1},P.prototype._getDoubles=function(T,W){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var J=[this],H=this,D=0;D<W;D+=T){for(var E=0;E<T;E++)H=H.dbl();J.push(H)}return{step:T,points:J}},P.prototype._getNAFPoints=function(T){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var W=[this],J=(1<<T)-1,H=J===1?null:this.dbl(),D=1;D<J;D++)W[D]=W[D-1].add(H);return{wnd:T,points:W}},P.prototype._getBeta=function(){return null},P.prototype.dblp=function(T){for(var W=this,J=0;J<T;J++)W=W.dbl();return W}}}),DY=S0({"node_modules/elliptic/lib/elliptic/curve/short.js"(N,_){var k=E$(),j=D$(),F=B0(),z=k$(),X=k.assert;function C(W){z.call(this,"short",W),this.a=new j(W.a,16).toRed(this.red),this.b=new j(W.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(W),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}F(C,z),_.exports=C,C.prototype._getEndomorphism=function(W){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var J,H;if(W.beta)J=new j(W.beta,16).toRed(this.red);else{var D=this._getEndoRoots(this.p);J=D[0].cmp(D[1])<0?D[0]:D[1],J=J.toRed(this.red)}if(W.lambda)H=new j(W.lambda,16);else{var E=this._getEndoRoots(this.n);this.g.mul(E[0]).x.cmp(this.g.x.redMul(J))===0?H=E[0]:(H=E[1],X(this.g.mul(H).x.cmp(this.g.x.redMul(J))===0))}var L;return W.basis?L=W.basis.map(function(M){return{a:new j(M.a,16),b:new j(M.b,16)}}):L=this._getEndoBasis(H),{beta:J,lambda:H,basis:L}}},C.prototype._getEndoRoots=function(W){var J=W===this.p?this.red:j.mont(W),H=new j(2).toRed(J).redInvm(),D=H.redNeg(),E=new j(3).toRed(J).redNeg().redSqrt().redMul(H),L=D.redAdd(E).fromRed(),M=D.redSub(E).fromRed();return[L,M]},C.prototype._getEndoBasis=function(W){for(var J=this.n.ushrn(Math.floor(this.n.bitLength()/2)),H=W,D=this.n.clone(),E=new j(1),L=new j(0),M=new j(0),v=new j(1),q,g,y,w,f,b,u,Y0=0,p,v0;H.cmpn(0)!==0;){var $=D.div(H);p=D.sub($.mul(H)),v0=M.sub($.mul(E));var Y=v.sub($.mul(L));if(!y&&p.cmp(J)<0)q=u.neg(),g=E,y=p.neg(),w=v0;else if(y&&++Y0===2)break;u=p,D=H,H=p,M=E,E=v0,v=L,L=Y}f=p.neg(),b=v0;var G=y.sqr().add(w.sqr()),Z=f.sqr().add(b.sqr());return Z.cmp(G)>=0&&(f=q,b=g),y.negative&&(y=y.neg(),w=w.neg()),f.negative&&(f=f.neg(),b=b.neg()),[{a:y,b:w},{a:f,b}]},C.prototype._endoSplit=function(W){var J=this.endo.basis,H=J[0],D=J[1],E=D.b.mul(W).divRound(this.n),L=H.b.neg().mul(W).divRound(this.n),M=E.mul(H.a),v=L.mul(D.a),q=E.mul(H.b),g=L.mul(D.b),y=W.sub(M).sub(v),w=q.add(g).neg();return{k1:y,k2:w}},C.prototype.pointFromX=function(W,J){W=new j(W,16),W.red||(W=W.toRed(this.red));var H=W.redSqr().redMul(W).redIAdd(W.redMul(this.a)).redIAdd(this.b),D=H.redSqrt();if(D.redSqr().redSub(H).cmp(this.zero)!==0)throw new Error("invalid point");var E=D.fromRed().isOdd();return(J&&!E||!J&&E)&&(D=D.redNeg()),this.point(W,D)},C.prototype.validate=function(W){if(W.inf)return!0;var{x:J,y:H}=W,D=this.a.redMul(J),E=J.redSqr().redMul(J).redIAdd(D).redIAdd(this.b);return H.redSqr().redISub(E).cmpn(0)===0},C.prototype._endoWnafMulAdd=function(W,J,H){for(var D=this._endoWnafT1,E=this._endoWnafT2,L=0;L<W.length;L++){var M=this._endoSplit(J[L]),v=W[L],q=v._getBeta();M.k1.negative&&(M.k1.ineg(),v=v.neg(!0)),M.k2.negative&&(M.k2.ineg(),q=q.neg(!0)),D[L*2]=v,D[L*2+1]=q,E[L*2]=M.k1,E[L*2+1]=M.k2}for(var g=this._wnafMulAdd(1,D,E,L*2,H),y=0;y<L*2;y++)D[y]=null,E[y]=null;return g};function P(W,J,H,D){z.BasePoint.call(this,W,"affine"),J===null&&H===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new j(J,16),this.y=new j(H,16),D&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}F(P,z.BasePoint),C.prototype.point=function(W,J,H){return new P(this,W,J,H)},C.prototype.pointFromJSON=function(W,J){return P.fromJSON(this,W,J)},P.prototype._getBeta=function(){if(this.curve.endo){var W=this.precomputed;if(W&&W.beta)return W.beta;var J=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(W){var H=this.curve,D=function(E){return H.point(E.x.redMul(H.endo.beta),E.y)};W.beta=J,J.precomputed={beta:null,naf:W.naf&&{wnd:W.naf.wnd,points:W.naf.points.map(D)},doubles:W.doubles&&{step:W.doubles.step,points:W.doubles.points.map(D)}}}return J}},P.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},P.fromJSON=function(W,J,H){typeof J=="string"&&(J=JSON.parse(J));var D=W.point(J[0],J[1],H);if(!J[2])return D;function E(M){return W.point(M[0],M[1],H)}var L=J[2];return D.precomputed={beta:null,doubles:L.doubles&&{step:L.doubles.step,points:[D].concat(L.doubles.points.map(E))},naf:L.naf&&{wnd:L.naf.wnd,points:[D].concat(L.naf.points.map(E))}},D},P.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},P.prototype.isInfinity=function(){return this.inf},P.prototype.add=function(W){if(this.inf)return W;if(W.inf)return this;if(this.eq(W))return this.dbl();if(this.neg().eq(W))return this.curve.point(null,null);if(this.x.cmp(W.x)===0)return this.curve.point(null,null);var J=this.y.redSub(W.y);J.cmpn(0)!==0&&(J=J.redMul(this.x.redSub(W.x).redInvm()));var H=J.redSqr().redISub(this.x).redISub(W.x),D=J.redMul(this.x.redSub(H)).redISub(this.y);return this.curve.point(H,D)},P.prototype.dbl=function(){if(this.inf)return this;var W=this.y.redAdd(this.y);if(W.cmpn(0)===0)return this.curve.point(null,null);var J=this.curve.a,H=this.x.redSqr(),D=W.redInvm(),E=H.redAdd(H).redIAdd(H).redIAdd(J).redMul(D),L=E.redSqr().redISub(this.x.redAdd(this.x)),M=E.redMul(this.x.redSub(L)).redISub(this.y);return this.curve.point(L,M)},P.prototype.getX=function(){return this.x.fromRed()},P.prototype.getY=function(){return this.y.fromRed()},P.prototype.mul=function(W){return W=new j(W,16),this.isInfinity()?this:this._hasDoubles(W)?this.curve._fixedNafMul(this,W):this.curve.endo?this.curve._endoWnafMulAdd([this],[W]):this.curve._wnafMul(this,W)},P.prototype.mulAdd=function(W,J,H){var D=[this,J],E=[W,H];return this.curve.endo?this.curve._endoWnafMulAdd(D,E):this.curve._wnafMulAdd(1,D,E,2)},P.prototype.jmulAdd=function(W,J,H){var D=[this,J],E=[W,H];return this.curve.endo?this.curve._endoWnafMulAdd(D,E,!0):this.curve._wnafMulAdd(1,D,E,2,!0)},P.prototype.eq=function(W){return this===W||this.inf===W.inf&&(this.inf||this.x.cmp(W.x)===0&&this.y.cmp(W.y)===0)},P.prototype.neg=function(W){if(this.inf)return this;var J=this.curve.point(this.x,this.y.redNeg());if(W&&this.precomputed){var H=this.precomputed,D=function(E){return E.neg()};J.precomputed={naf:H.naf&&{wnd:H.naf.wnd,points:H.naf.points.map(D)},doubles:H.doubles&&{step:H.doubles.step,points:H.doubles.points.map(D)}}}return J},P.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var W=this.curve.jpoint(this.x,this.y,this.curve.one);return W};function T(W,J,H,D){z.BasePoint.call(this,W,"jacobian"),J===null&&H===null&&D===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new j(0)):(this.x=new j(J,16),this.y=new j(H,16),this.z=new j(D,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}F(T,z.BasePoint),C.prototype.jpoint=function(W,J,H){return new T(this,W,J,H)},T.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var W=this.z.redInvm(),J=W.redSqr(),H=this.x.redMul(J),D=this.y.redMul(J).redMul(W);return this.curve.point(H,D)},T.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},T.prototype.add=function(W){if(this.isInfinity())return W;if(W.isInfinity())return this;var J=W.z.redSqr(),H=this.z.redSqr(),D=this.x.redMul(J),E=W.x.redMul(H),L=this.y.redMul(J.redMul(W.z)),M=W.y.redMul(H.redMul(this.z)),v=D.redSub(E),q=L.redSub(M);if(v.cmpn(0)===0)return q.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var g=v.redSqr(),y=g.redMul(v),w=D.redMul(g),f=q.redSqr().redIAdd(y).redISub(w).redISub(w),b=q.redMul(w.redISub(f)).redISub(L.redMul(y)),u=this.z.redMul(W.z).redMul(v);return this.curve.jpoint(f,b,u)},T.prototype.mixedAdd=function(W){if(this.isInfinity())return W.toJ();if(W.isInfinity())return this;var J=this.z.redSqr(),H=this.x,D=W.x.redMul(J),E=this.y,L=W.y.redMul(J).redMul(this.z),M=H.redSub(D),v=E.redSub(L);if(M.cmpn(0)===0)return v.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var q=M.redSqr(),g=q.redMul(M),y=H.redMul(q),w=v.redSqr().redIAdd(g).redISub(y).redISub(y),f=v.redMul(y.redISub(w)).redISub(E.redMul(g)),b=this.z.redMul(M);return this.curve.jpoint(w,f,b)},T.prototype.dblp=function(W){if(W===0)return this;if(this.isInfinity())return this;if(!W)return this.dbl();var J;if(this.curve.zeroA||this.curve.threeA){var H=this;for(J=0;J<W;J++)H=H.dbl();return H}var D=this.curve.a,E=this.curve.tinv,L=this.x,M=this.y,v=this.z,q=v.redSqr().redSqr(),g=M.redAdd(M);for(J=0;J<W;J++){var y=L.redSqr(),w=g.redSqr(),f=w.redSqr(),b=y.redAdd(y).redIAdd(y).redIAdd(D.redMul(q)),u=L.redMul(w),Y0=b.redSqr().redISub(u.redAdd(u)),p=u.redISub(Y0),v0=b.redMul(p);v0=v0.redIAdd(v0).redISub(f);var $=g.redMul(v);J+1<W&&(q=q.redMul(f)),L=Y0,v=$,g=v0}return this.curve.jpoint(L,g.redMul(E),v)},T.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},T.prototype._zeroDbl=function(){var W,J,H;if(this.zOne){var D=this.x.redSqr(),E=this.y.redSqr(),L=E.redSqr(),M=this.x.redAdd(E).redSqr().redISub(D).redISub(L);M=M.redIAdd(M);var v=D.redAdd(D).redIAdd(D),q=v.redSqr().redISub(M).redISub(M),g=L.redIAdd(L);g=g.redIAdd(g),g=g.redIAdd(g),W=q,J=v.redMul(M.redISub(q)).redISub(g),H=this.y.redAdd(this.y)}else{var y=this.x.redSqr(),w=this.y.redSqr(),f=w.redSqr(),b=this.x.redAdd(w).redSqr().redISub(y).redISub(f);b=b.redIAdd(b);var u=y.redAdd(y).redIAdd(y),Y0=u.redSqr(),p=f.redIAdd(f);p=p.redIAdd(p),p=p.redIAdd(p),W=Y0.redISub(b).redISub(b),J=u.redMul(b.redISub(W)).redISub(p),H=this.y.redMul(this.z),H=H.redIAdd(H)}return this.curve.jpoint(W,J,H)},T.prototype._threeDbl=function(){var W,J,H;if(this.zOne){var D=this.x.redSqr(),E=this.y.redSqr(),L=E.redSqr(),M=this.x.redAdd(E).redSqr().redISub(D).redISub(L);M=M.redIAdd(M);var v=D.redAdd(D).redIAdd(D).redIAdd(this.curve.a),q=v.redSqr().redISub(M).redISub(M);W=q;var g=L.redIAdd(L);g=g.redIAdd(g),g=g.redIAdd(g),J=v.redMul(M.redISub(q)).redISub(g),H=this.y.redAdd(this.y)}else{var y=this.z.redSqr(),w=this.y.redSqr(),f=this.x.redMul(w),b=this.x.redSub(y).redMul(this.x.redAdd(y));b=b.redAdd(b).redIAdd(b);var u=f.redIAdd(f);u=u.redIAdd(u);var Y0=u.redAdd(u);W=b.redSqr().redISub(Y0),H=this.y.redAdd(this.z).redSqr().redISub(w).redISub(y);var p=w.redSqr();p=p.redIAdd(p),p=p.redIAdd(p),p=p.redIAdd(p),J=b.redMul(u.redISub(W)).redISub(p)}return this.curve.jpoint(W,J,H)},T.prototype._dbl=function(){var W=this.curve.a,J=this.x,H=this.y,D=this.z,E=D.redSqr().redSqr(),L=J.redSqr(),M=H.redSqr(),v=L.redAdd(L).redIAdd(L).redIAdd(W.redMul(E)),q=J.redAdd(J);q=q.redIAdd(q);var g=q.redMul(M),y=v.redSqr().redISub(g.redAdd(g)),w=g.redISub(y),f=M.redSqr();f=f.redIAdd(f),f=f.redIAdd(f),f=f.redIAdd(f);var b=v.redMul(w).redISub(f),u=H.redAdd(H).redMul(D);return this.curve.jpoint(y,b,u)},T.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var W=this.x.redSqr(),J=this.y.redSqr(),H=this.z.redSqr(),D=J.redSqr(),E=W.redAdd(W).redIAdd(W),L=E.redSqr(),M=this.x.redAdd(J).redSqr().redISub(W).redISub(D);M=M.redIAdd(M),M=M.redAdd(M).redIAdd(M),M=M.redISub(L);var v=M.redSqr(),q=D.redIAdd(D);q=q.redIAdd(q),q=q.redIAdd(q),q=q.redIAdd(q);var g=E.redIAdd(M).redSqr().redISub(L).redISub(v).redISub(q),y=J.redMul(g);y=y.redIAdd(y),y=y.redIAdd(y);var w=this.x.redMul(v).redISub(y);w=w.redIAdd(w),w=w.redIAdd(w);var f=this.y.redMul(g.redMul(q.redISub(g)).redISub(M.redMul(v)));f=f.redIAdd(f),f=f.redIAdd(f),f=f.redIAdd(f);var b=this.z.redAdd(M).redSqr().redISub(H).redISub(v);return this.curve.jpoint(w,f,b)},T.prototype.mul=function(W,J){return W=new j(W,J),this.curve._wnafMul(this,W)},T.prototype.eq=function(W){if(W.type==="affine")return this.eq(W.toJ());if(this===W)return!0;var J=this.z.redSqr(),H=W.z.redSqr();if(this.x.redMul(H).redISub(W.x.redMul(J)).cmpn(0)!==0)return!1;var D=J.redMul(this.z),E=H.redMul(W.z);return this.y.redMul(E).redISub(W.y.redMul(D)).cmpn(0)===0},T.prototype.eqXToP=function(W){var J=this.z.redSqr(),H=W.toRed(this.curve.red).redMul(J);if(this.x.cmp(H)===0)return!0;for(var D=W.clone(),E=this.curve.redN.redMul(J);;){if(D.iadd(this.curve.n),D.cmp(this.curve.p)>=0)return!1;if(H.redIAdd(E),this.x.cmp(H)===0)return!0}},T.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},T.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}}),CY=S0({"node_modules/elliptic/lib/elliptic/curve/mont.js"(N,_){var k=D$(),j=B0(),F=k$(),z=E$();function X(P){F.call(this,"mont",P),this.a=new k(P.a,16).toRed(this.red),this.b=new k(P.b,16).toRed(this.red),this.i4=new k(4).toRed(this.red).redInvm(),this.two=new k(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}j(X,F),_.exports=X,X.prototype.validate=function(P){var T=P.normalize().x,W=T.redSqr(),J=W.redMul(T).redAdd(W.redMul(this.a)).redAdd(T),H=J.redSqrt();return H.redSqr().cmp(J)===0};function C(P,T,W){F.BasePoint.call(this,P,"projective"),T===null&&W===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new k(T,16),this.z=new k(W,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}j(C,F.BasePoint),X.prototype.decodePoint=function(P,T){return this.point(z.toArray(P,T),1)},X.prototype.point=function(P,T){return new C(this,P,T)},X.prototype.pointFromJSON=function(P){return C.fromJSON(this,P)},C.prototype.precompute=function(){},C.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},C.fromJSON=function(P,T){return new C(P,T[0],T[1]||P.one)},C.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},C.prototype.isInfinity=function(){return this.z.cmpn(0)===0},C.prototype.dbl=function(){var P=this.x.redAdd(this.z),T=P.redSqr(),W=this.x.redSub(this.z),J=W.redSqr(),H=T.redSub(J),D=T.redMul(J),E=H.redMul(J.redAdd(this.curve.a24.redMul(H)));return this.curve.point(D,E)},C.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.diffAdd=function(P,T){var W=this.x.redAdd(this.z),J=this.x.redSub(this.z),H=P.x.redAdd(P.z),D=P.x.redSub(P.z),E=D.redMul(W),L=H.redMul(J),M=T.z.redMul(E.redAdd(L).redSqr()),v=T.x.redMul(E.redISub(L).redSqr());return this.curve.point(M,v)},C.prototype.mul=function(P){for(var T=P.clone(),W=this,J=this.curve.point(null,null),H=this,D=[];T.cmpn(0)!==0;T.iushrn(1))D.push(T.andln(1));for(var E=D.length-1;E>=0;E--)D[E]===0?(W=W.diffAdd(J,H),J=J.dbl()):(J=W.diffAdd(J,H),W=W.dbl());return J},C.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},C.prototype.eq=function(P){return this.getX().cmp(P.getX())===0},C.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},C.prototype.getX=function(){return this.normalize(),this.x.fromRed()}}}),LY=S0({"node_modules/elliptic/lib/elliptic/curve/edwards.js"(N,_){var k=E$(),j=D$(),F=B0(),z=k$(),X=k.assert;function C(T){this.twisted=(T.a|0)!==1,this.mOneA=this.twisted&&(T.a|0)===-1,this.extended=this.mOneA,z.call(this,"edwards",T),this.a=new j(T.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new j(T.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new j(T.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),X(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(T.c|0)===1}F(C,z),_.exports=C,C.prototype._mulA=function(T){return this.mOneA?T.redNeg():this.a.redMul(T)},C.prototype._mulC=function(T){return this.oneC?T:this.c.redMul(T)},C.prototype.jpoint=function(T,W,J,H){return this.point(T,W,J,H)},C.prototype.pointFromX=function(T,W){T=new j(T,16),T.red||(T=T.toRed(this.red));var J=T.redSqr(),H=this.c2.redSub(this.a.redMul(J)),D=this.one.redSub(this.c2.redMul(this.d).redMul(J)),E=H.redMul(D.redInvm()),L=E.redSqrt();if(L.redSqr().redSub(E).cmp(this.zero)!==0)throw new Error("invalid point");var M=L.fromRed().isOdd();return(W&&!M||!W&&M)&&(L=L.redNeg()),this.point(T,L)},C.prototype.pointFromY=function(T,W){T=new j(T,16),T.red||(T=T.toRed(this.red));var J=T.redSqr(),H=J.redSub(this.c2),D=J.redMul(this.d).redMul(this.c2).redSub(this.a),E=H.redMul(D.redInvm());if(E.cmp(this.zero)===0){if(W)throw new Error("invalid point");return this.point(this.zero,T)}var L=E.redSqrt();if(L.redSqr().redSub(E).cmp(this.zero)!==0)throw new Error("invalid point");return L.fromRed().isOdd()!==W&&(L=L.redNeg()),this.point(L,T)},C.prototype.validate=function(T){if(T.isInfinity())return!0;T.normalize();var W=T.x.redSqr(),J=T.y.redSqr(),H=W.redMul(this.a).redAdd(J),D=this.c2.redMul(this.one.redAdd(this.d.redMul(W).redMul(J)));return H.cmp(D)===0};function P(T,W,J,H,D){z.BasePoint.call(this,T,"projective"),W===null&&J===null&&H===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new j(W,16),this.y=new j(J,16),this.z=H?new j(H,16):this.curve.one,this.t=D&&new j(D,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}F(P,z.BasePoint),C.prototype.pointFromJSON=function(T){return P.fromJSON(this,T)},C.prototype.point=function(T,W,J,H){return new P(this,T,W,J,H)},P.fromJSON=function(T,W){return new P(T,W[0],W[1],W[2])},P.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},P.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},P.prototype._extDbl=function(){var T=this.x.redSqr(),W=this.y.redSqr(),J=this.z.redSqr();J=J.redIAdd(J);var H=this.curve._mulA(T),D=this.x.redAdd(this.y).redSqr().redISub(T).redISub(W),E=H.redAdd(W),L=E.redSub(J),M=H.redSub(W),v=D.redMul(L),q=E.redMul(M),g=D.redMul(M),y=L.redMul(E);return this.curve.point(v,q,y,g)},P.prototype._projDbl=function(){var T=this.x.redAdd(this.y).redSqr(),W=this.x.redSqr(),J=this.y.redSqr(),H,D,E,L,M,v;if(this.curve.twisted){L=this.curve._mulA(W);var q=L.redAdd(J);this.zOne?(H=T.redSub(W).redSub(J).redMul(q.redSub(this.curve.two)),D=q.redMul(L.redSub(J)),E=q.redSqr().redSub(q).redSub(q)):(M=this.z.redSqr(),v=q.redSub(M).redISub(M),H=T.redSub(W).redISub(J).redMul(v),D=q.redMul(L.redSub(J)),E=q.redMul(v))}else L=W.redAdd(J),M=this.curve._mulC(this.z).redSqr(),v=L.redSub(M).redSub(M),H=this.curve._mulC(T.redISub(L)).redMul(v),D=this.curve._mulC(L).redMul(W.redISub(J)),E=L.redMul(v);return this.curve.point(H,D,E)},P.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},P.prototype._extAdd=function(T){var W=this.y.redSub(this.x).redMul(T.y.redSub(T.x)),J=this.y.redAdd(this.x).redMul(T.y.redAdd(T.x)),H=this.t.redMul(this.curve.dd).redMul(T.t),D=this.z.redMul(T.z.redAdd(T.z)),E=J.redSub(W),L=D.redSub(H),M=D.redAdd(H),v=J.redAdd(W),q=E.redMul(L),g=M.redMul(v),y=E.redMul(v),w=L.redMul(M);return this.curve.point(q,g,w,y)},P.prototype._projAdd=function(T){var W=this.z.redMul(T.z),J=W.redSqr(),H=this.x.redMul(T.x),D=this.y.redMul(T.y),E=this.curve.d.redMul(H).redMul(D),L=J.redSub(E),M=J.redAdd(E),v=this.x.redAdd(this.y).redMul(T.x.redAdd(T.y)).redISub(H).redISub(D),q=W.redMul(L).redMul(v),g,y;return this.curve.twisted?(g=W.redMul(M).redMul(D.redSub(this.curve._mulA(H))),y=L.redMul(M)):(g=W.redMul(M).redMul(D.redSub(H)),y=this.curve._mulC(L).redMul(M)),this.curve.point(q,g,y)},P.prototype.add=function(T){return this.isInfinity()?T:T.isInfinity()?this:this.curve.extended?this._extAdd(T):this._projAdd(T)},P.prototype.mul=function(T){return this._hasDoubles(T)?this.curve._fixedNafMul(this,T):this.curve._wnafMul(this,T)},P.prototype.mulAdd=function(T,W,J){return this.curve._wnafMulAdd(1,[this,W],[T,J],2,!1)},P.prototype.jmulAdd=function(T,W,J){return this.curve._wnafMulAdd(1,[this,W],[T,J],2,!0)},P.prototype.normalize=function(){if(this.zOne)return this;var T=this.z.redInvm();return this.x=this.x.redMul(T),this.y=this.y.redMul(T),this.t&&(this.t=this.t.redMul(T)),this.z=this.curve.one,this.zOne=!0,this},P.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},P.prototype.getX=function(){return this.normalize(),this.x.fromRed()},P.prototype.getY=function(){return this.normalize(),this.y.fromRed()},P.prototype.eq=function(T){return this===T||this.getX().cmp(T.getX())===0&&this.getY().cmp(T.getY())===0},P.prototype.eqXToP=function(T){var W=T.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(W)===0)return!0;for(var J=T.clone(),H=this.curve.redN.redMul(this.z);;){if(J.iadd(this.curve.n),J.cmp(this.curve.p)>=0)return!1;if(W.redIAdd(H),this.x.cmp(W)===0)return!0}},P.prototype.toP=P.prototype.normalize,P.prototype.mixedAdd=P.prototype.add}}),MQ=S0({"node_modules/elliptic/lib/elliptic/curve/index.js"(N){var _=N;_.base=k$(),_.short=DY(),_.mont=CY(),_.edwards=LY()}}),T$=S0({"node_modules/hash.js/lib/hash/utils.js"(N){var _=W$(),k=B0();N.inherits=k;function j(Y,G){return(Y.charCodeAt(G)&64512)!==55296||G<0||G+1>=Y.length?!1:(Y.charCodeAt(G+1)&64512)===56320}function F(Y,G){if(Array.isArray(Y))return Y.slice();if(!Y)return[];var Z=[];if(typeof Y=="string")if(G){if(G==="hex")for(Y=Y.replace(/[^a-z0-9]+/gi,""),Y.length%2!==0&&(Y="0"+Y),I=0;I<Y.length;I+=2)Z.push(parseInt(Y[I]+Y[I+1],16))}else for(var V=0,I=0;I<Y.length;I++){var O=Y.charCodeAt(I);O<128?Z[V++]=O:O<2048?(Z[V++]=O>>6|192,Z[V++]=O&63|128):j(Y,I)?(O=65536+((O&1023)<<10)+(Y.charCodeAt(++I)&1023),Z[V++]=O>>18|240,Z[V++]=O>>12&63|128,Z[V++]=O>>6&63|128,Z[V++]=O&63|128):(Z[V++]=O>>12|224,Z[V++]=O>>6&63|128,Z[V++]=O&63|128)}else for(I=0;I<Y.length;I++)Z[I]=Y[I]|0;return Z}N.toArray=F;function z(Y){for(var G="",Z=0;Z<Y.length;Z++)G+=P(Y[Z].toString(16));return G}N.toHex=z;function X(Y){var G=Y>>>24|Y>>>8&65280|Y<<8&16711680|(Y&255)<<24;return G>>>0}N.htonl=X;function C(Y,G){for(var Z="",V=0;V<Y.length;V++){var I=Y[V];G==="little"&&(I=X(I)),Z+=T(I.toString(16))}return Z}N.toHex32=C;function P(Y){return Y.length===1?"0"+Y:Y}N.zero2=P;function T(Y){return Y.length===7?"0"+Y:Y.length===6?"00"+Y:Y.length===5?"000"+Y:Y.length===4?"0000"+Y:Y.length===3?"00000"+Y:Y.length===2?"000000"+Y:Y.length===1?"0000000"+Y:Y}N.zero8=T;function W(Y,G,Z,V){var I=Z-G;_(I%4===0);for(var O=new Array(I/4),U=0,Q=G;U<O.length;U++,Q+=4){var K;V==="big"?K=Y[Q]<<24|Y[Q+1]<<16|Y[Q+2]<<8|Y[Q+3]:K=Y[Q+3]<<24|Y[Q+2]<<16|Y[Q+1]<<8|Y[Q],O[U]=K>>>0}return O}N.join32=W;function J(Y,G){for(var Z=new Array(Y.length*4),V=0,I=0;V<Y.length;V++,I+=4){var O=Y[V];G==="big"?(Z[I]=O>>>24,Z[I+1]=O>>>16&255,Z[I+2]=O>>>8&255,Z[I+3]=O&255):(Z[I+3]=O>>>24,Z[I+2]=O>>>16&255,Z[I+1]=O>>>8&255,Z[I]=O&255)}return Z}N.split32=J;function H(Y,G){return Y>>>G|Y<<32-G}N.rotr32=H;function D(Y,G){return Y<<G|Y>>>32-G}N.rotl32=D;function E(Y,G){return Y+G>>>0}N.sum32=E;function L(Y,G,Z){return Y+G+Z>>>0}N.sum32_3=L;function M(Y,G,Z,V){return Y+G+Z+V>>>0}N.sum32_4=M;function v(Y,G,Z,V,I){return Y+G+Z+V+I>>>0}N.sum32_5=v;function q(Y,G,Z,V){var I=Y[G],O=Y[G+1],U=V+O>>>0,Q=(U<V?1:0)+Z+I;Y[G]=Q>>>0,Y[G+1]=U}N.sum64=q;function g(Y,G,Z,V){var I=G+V>>>0,O=(I<G?1:0)+Y+Z;return O>>>0}N.sum64_hi=g;function y(Y,G,Z,V){var I=G+V;return I>>>0}N.sum64_lo=y;function w(Y,G,Z,V,I,O,U,Q){var K=0,R=G;R=R+V>>>0,K+=R<G?1:0,R=R+O>>>0,K+=R<O?1:0,R=R+Q>>>0,K+=R<Q?1:0;var A=Y+Z+I+U+K;return A>>>0}N.sum64_4_hi=w;function f(Y,G,Z,V,I,O,U,Q){var K=G+V+O+Q;return K>>>0}N.sum64_4_lo=f;function b(Y,G,Z,V,I,O,U,Q,K,R){var A=0,S=G;S=S+V>>>0,A+=S<G?1:0,S=S+O>>>0,A+=S<O?1:0,S=S+Q>>>0,A+=S<Q?1:0,S=S+R>>>0,A+=S<R?1:0;var x=Y+Z+I+U+K+A;return x>>>0}N.sum64_5_hi=b;function u(Y,G,Z,V,I,O,U,Q,K,R){var A=G+V+O+Q+R;return A>>>0}N.sum64_5_lo=u;function Y0(Y,G,Z){var V=G<<32-Z|Y>>>Z;return V>>>0}N.rotr64_hi=Y0;function p(Y,G,Z){var V=Y<<32-Z|G>>>Z;return V>>>0}N.rotr64_lo=p;function v0(Y,G,Z){return Y>>>Z}N.shr64_hi=v0;function $(Y,G,Z){var V=Y<<32-Z|G>>>Z;return V>>>0}N.shr64_lo=$}}),v$=S0({"node_modules/hash.js/lib/hash/common.js"(N){var _=T$(),k=W$();function j(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}N.BlockHash=j,j.prototype.update=function(F,z){if(F=_.toArray(F,z),this.pending?this.pending=this.pending.concat(F):this.pending=F,this.pendingTotal+=F.length,this.pending.length>=this._delta8){F=this.pending;var X=F.length%this._delta8;this.pending=F.slice(F.length-X,F.length),this.pending.length===0&&(this.pending=null),F=_.join32(F,0,F.length-X,this.endian);for(var C=0;C<F.length;C+=this._delta32)this._update(F,C,C+this._delta32)}return this},j.prototype.digest=function(F){return this.update(this._pad()),k(this.pending===null),this._digest(F)},j.prototype._pad=function(){var F=this.pendingTotal,z=this._delta8,X=z-(F+this.padLength)%z,C=new Array(X+this.padLength);C[0]=128;for(var P=1;P<X;P++)C[P]=0;if(F<<=3,this.endian==="big"){for(var T=8;T<this.padLength;T++)C[P++]=0;C[P++]=0,C[P++]=0,C[P++]=0,C[P++]=0,C[P++]=F>>>24&255,C[P++]=F>>>16&255,C[P++]=F>>>8&255,C[P++]=F&255}else for(C[P++]=F&255,C[P++]=F>>>8&255,C[P++]=F>>>16&255,C[P++]=F>>>24&255,C[P++]=0,C[P++]=0,C[P++]=0,C[P++]=0,T=8;T<this.padLength;T++)C[P++]=0;return C}}}),SQ=S0({"node_modules/hash.js/lib/hash/sha/common.js"(N){var _=T$(),k=_.rotr32;function j(J,H,D,E){if(J===0)return F(H,D,E);if(J===1||J===3)return X(H,D,E);if(J===2)return z(H,D,E)}N.ft_1=j;function F(J,H,D){return J&H^~J&D}N.ch32=F;function z(J,H,D){return J&H^J&D^H&D}N.maj32=z;function X(J,H,D){return J^H^D}N.p32=X;function C(J){return k(J,2)^k(J,13)^k(J,22)}N.s0_256=C;function P(J){return k(J,6)^k(J,11)^k(J,25)}N.s1_256=P;function T(J){return k(J,7)^k(J,18)^J>>>3}N.g0_256=T;function W(J){return k(J,17)^k(J,19)^J>>>10}N.g1_256=W}}),RY=S0({"node_modules/hash.js/lib/hash/sha/1.js"(N,_){var k=T$(),j=v$(),F=SQ(),z=k.rotl32,X=k.sum32,C=k.sum32_5,P=F.ft_1,T=j.BlockHash,W=[1518500249,1859775393,2400959708,3395469782];function J(){if(!(this instanceof J))return new J;T.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}k.inherits(J,T),_.exports=J,J.blockSize=512,J.outSize=160,J.hmacStrength=80,J.padLength=64,J.prototype._update=function(H,D){for(var E=this.W,L=0;L<16;L++)E[L]=H[D+L];for(;L<E.length;L++)E[L]=z(E[L-3]^E[L-8]^E[L-14]^E[L-16],1);var M=this.h[0],v=this.h[1],q=this.h[2],g=this.h[3],y=this.h[4];for(L=0;L<E.length;L++){var w=~~(L/20),f=C(z(M,5),P(w,v,q,g),y,E[L],W[w]);y=g,g=q,q=z(v,30),v=M,M=f}this.h[0]=X(this.h[0],M),this.h[1]=X(this.h[1],v),this.h[2]=X(this.h[2],q),this.h[3]=X(this.h[3],g),this.h[4]=X(this.h[4],y)},J.prototype._digest=function(H){return H==="hex"?k.toHex32(this.h,"big"):k.split32(this.h,"big")}}}),vQ=S0({"node_modules/hash.js/lib/hash/sha/256.js"(N,_){var k=T$(),j=v$(),F=SQ(),z=W$(),X=k.sum32,C=k.sum32_4,P=k.sum32_5,T=F.ch32,W=F.maj32,J=F.s0_256,H=F.s1_256,D=F.g0_256,E=F.g1_256,L=j.BlockHash,M=[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 v(){if(!(this instanceof v))return new v;L.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=M,this.W=new Array(64)}k.inherits(v,L),_.exports=v,v.blockSize=512,v.outSize=256,v.hmacStrength=192,v.padLength=64,v.prototype._update=function(q,g){for(var y=this.W,w=0;w<16;w++)y[w]=q[g+w];for(;w<y.length;w++)y[w]=C(E(y[w-2]),y[w-7],D(y[w-15]),y[w-16]);var f=this.h[0],b=this.h[1],u=this.h[2],Y0=this.h[3],p=this.h[4],v0=this.h[5],$=this.h[6],Y=this.h[7];for(z(this.k.length===y.length),w=0;w<y.length;w++){var G=P(Y,H(p),T(p,v0,$),this.k[w],y[w]),Z=X(J(f),W(f,b,u));Y=$,$=v0,v0=p,p=X(Y0,G),Y0=u,u=b,b=f,f=X(G,Z)}this.h[0]=X(this.h[0],f),this.h[1]=X(this.h[1],b),this.h[2]=X(this.h[2],u),this.h[3]=X(this.h[3],Y0),this.h[4]=X(this.h[4],p),this.h[5]=X(this.h[5],v0),this.h[6]=X(this.h[6],$),this.h[7]=X(this.h[7],Y)},v.prototype._digest=function(q){return q==="hex"?k.toHex32(this.h,"big"):k.split32(this.h,"big")}}}),PY=S0({"node_modules/hash.js/lib/hash/sha/224.js"(N,_){var k=T$(),j=vQ();function F(){if(!(this instanceof F))return new F;j.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}k.inherits(F,j),_.exports=F,F.blockSize=512,F.outSize=224,F.hmacStrength=192,F.padLength=64,F.prototype._digest=function(z){return z==="hex"?k.toHex32(this.h.slice(0,7),"big"):k.split32(this.h.slice(0,7),"big")}}}),qQ=S0({"node_modules/hash.js/lib/hash/sha/512.js"(N,_){var k=T$(),j=v$(),F=W$(),z=k.rotr64_hi,X=k.rotr64_lo,C=k.shr64_hi,P=k.shr64_lo,T=k.sum64,W=k.sum64_hi,J=k.sum64_lo,H=k.sum64_4_hi,D=k.sum64_4_lo,E=k.sum64_5_hi,L=k.sum64_5_lo,M=j.BlockHash,v=[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 q(){if(!(this instanceof q))return new q;M.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=v,this.W=new Array(160)}k.inherits(q,M),_.exports=q,q.blockSize=1024,q.outSize=512,q.hmacStrength=192,q.padLength=128,q.prototype._prepareBlock=function(Z,V){for(var I=this.W,O=0;O<32;O++)I[O]=Z[V+O];for(;O<I.length;O+=2){var U=Y(I[O-4],I[O-3]),Q=G(I[O-4],I[O-3]),K=I[O-14],R=I[O-13],A=v0(I[O-30],I[O-29]),S=$(I[O-30],I[O-29]),x=I[O-32],B=I[O-31];I[O]=H(U,Q,K,R,A,S,x,B),I[O+1]=D(U,Q,K,R,A,S,x,B)}},q.prototype._update=function(Z,V){this._prepareBlock(Z,V);var I=this.W,O=this.h[0],U=this.h[1],Q=this.h[2],K=this.h[3],R=this.h[4],A=this.h[5],S=this.h[6],x=this.h[7],B=this.h[8],c=this.h[9],q0=this.h[10],h=this.h[11],d=this.h[12],_0=this.h[13],l=this.h[14],n=this.h[15];F(this.k.length===I.length);for(var y0=0;y0<I.length;y0+=2){var t=l,s=n,w0=Y0(B,c),m=p(B,c),r=g(B,c,q0,h,d,_0),$$=y(B,c,q0,h,d,_0),i=this.k[y0],e=this.k[y0+1],x0=I[y0],o=I[y0+1],a=E(t,s,w0,m,r,$$,i,e,x0,o),p0=L(t,s,w0,m,r,$$,i,e,x0,o);t=b(O,U),s=u(O,U),w0=w(O,U,Q,K,R,A),m=f(O,U,Q,K,R,A);var $0=W(t,s,w0,m),Q0=J(t,s,w0,m);l=d,n=_0,d=q0,_0=h,q0=B,h=c,B=W(S,x,a,p0),c=J(x,x,a,p0),S=R,x=A,R=Q,A=K,Q=O,K=U,O=W(a,p0,$0,Q0),U=J(a,p0,$0,Q0)}T(this.h,0,O,U),T(this.h,2,Q,K),T(this.h,4,R,A),T(this.h,6,S,x),T(this.h,8,B,c),T(this.h,10,q0,h),T(this.h,12,d,_0),T(this.h,14,l,n)},q.prototype._digest=function(Z){return Z==="hex"?k.toHex32(this.h,"big"):k.split32(this.h,"big")};function g(Z,V,I,O,U){var Q=Z&I^~Z&U;return Q<0&&(Q+=4294967296),Q}function y(Z,V,I,O,U,Q){var K=V&O^~V&Q;return K<0&&(K+=4294967296),K}function w(Z,V,I,O,U){var Q=Z&I^Z&U^I&U;return Q<0&&(Q+=4294967296),Q}function f(Z,V,I,O,U,Q){var K=V&O^V&Q^O&Q;return K<0&&(K+=4294967296),K}function b(Z,V){var I=z(Z,V,28),O=z(V,Z,2),U=z(V,Z,7),Q=I^O^U;return Q<0&&(Q+=4294967296),Q}function u(Z,V){var I=X(Z,V,28),O=X(V,Z,2),U=X(V,Z,7),Q=I^O^U;return Q<0&&(Q+=4294967296),Q}function Y0(Z,V){var I=z(Z,V,14),O=z(Z,V,18),U=z(V,Z,9),Q=I^O^U;return Q<0&&(Q+=4294967296),Q}function p(Z,V){var I=X(Z,V,14),O=X(Z,V,18),U=X(V,Z,9),Q=I^O^U;return Q<0&&(Q+=4294967296),Q}function v0(Z,V){var I=z(Z,V,1),O=z(Z,V,8),U=C(Z,V,7),Q=I^O^U;return Q<0&&(Q+=4294967296),Q}function $(Z,V){var I=X(Z,V,1),O=X(Z,V,8),U=P(Z,V,7),Q=I^O^U;return Q<0&&(Q+=4294967296),Q}function Y(Z,V){var I=z(Z,V,19),O=z(V,Z,29),U=C(Z,V,6),Q=I^O^U;return Q<0&&(Q+=4294967296),Q}function G(Z,V){var I=X(Z,V,19),O=X(V,Z,29),U=P(Z,V,6),Q=I^O^U;return Q<0&&(Q+=4294967296),Q}}}),zY=S0({"node_modules/hash.js/lib/hash/sha/384.js"(N,_){var k=T$(),j=qQ();function F(){if(!(this instanceof F))return new F;j.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}k.inherits(F,j),_.exports=F,F.blockSize=1024,F.outSize=384,F.hmacStrength=192,F.padLength=128,F.prototype._digest=function(z){return z==="hex"?k.toHex32(this.h.slice(0,12),"big"):k.split32(this.h.slice(0,12),"big")}}}),MY=S0({"node_modules/hash.js/lib/hash/sha.js"(N){N.sha1=RY(),N.sha224=PY(),N.sha256=vQ(),N.sha384=zY(),N.sha512=qQ()}}),SY=S0({"node_modules/hash.js/lib/hash/ripemd.js"(N){var _=T$(),k=v$(),j=_.rotl32,F=_.sum32,z=_.sum32_3,X=_.sum32_4,C=k.BlockHash;function P(){if(!(this instanceof P))return new P;C.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}_.inherits(P,C),N.ripemd160=P,P.blockSize=512,P.outSize=160,P.hmacStrength=192,P.padLength=64,P.prototype._update=function(M,v){for(var q=this.h[0],g=this.h[1],y=this.h[2],w=this.h[3],f=this.h[4],b=q,u=g,Y0=y,p=w,v0=f,$=0;$<80;$++){var Y=F(j(X(q,T($,g,y,w),M[H[$]+v],W($)),E[$]),f);q=f,f=w,w=j(y,10),y=g,g=Y,Y=F(j(X(b,T(79-$,u,Y0,p),M[D[$]+v],J($)),L[$]),v0),b=v0,v0=p,p=j(Y0,10),Y0=u,u=Y}Y=z(this.h[1],y,p),this.h[1]=z(this.h[2],w,v0),this.h[2]=z(this.h[3],f,b),this.h[3]=z(this.h[4],q,u),this.h[4]=z(this.h[0],g,Y0),this.h[0]=Y},P.prototype._digest=function(M){return M==="hex"?_.toHex32(this.h,"little"):_.split32(this.h,"little")};function T(M,v,q,g){return M<=15?v^q^g:M<=31?v&q|~v&g:M<=47?(v|~q)^g:M<=63?v&g|q&~g:v^(q|~g)}function W(M){return M<=15?0:M<=31?1518500249:M<=47?1859775393:M<=63?2400959708:2840853838}function J(M){return M<=15?1352829926:M<=31?1548603684:M<=47?1836072691:M<=63?2053994217:0}var H=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],D=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],E=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],L=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}}),vY=S0({"node_modules/hash.js/lib/hash/hmac.js"(N,_){var k=T$(),j=W$();function F(z,X,C){if(!(this instanceof F))return new F(z,X,C);this.Hash=z,this.blockSize=z.blockSize/8,this.outSize=z.outSize/8,this.inner=null,this.outer=null,this._init(k.toArray(X,C))}_.exports=F,F.prototype._init=function(z){z.length>this.blockSize&&(z=new this.Hash().update(z).digest()),j(z.length<=this.blockSize);for(var X=z.length;X<this.blockSize;X++)z.push(0);for(X=0;X<z.length;X++)z[X]^=54;for(this.inner=new this.Hash().update(z),X=0;X<z.length;X++)z[X]^=106;this.outer=new this.Hash().update(z)},F.prototype.update=function(z,X){return this.inner.update(z,X),this},F.prototype.digest=function(z){return this.outer.update(this.inner.digest()),this.outer.digest(z)}}}),d$=S0({"node_modules/hash.js/lib/hash.js"(N){var _=N;_.utils=T$(),_.common=v$(),_.sha=MY(),_.ripemd=SY(),_.hmac=vY(),_.sha1=_.sha.sha1,_.sha256=_.sha.sha256,_.sha224=_.sha.sha224,_.sha384=_.sha.sha384,_.sha512=_.sha.sha512,_.ripemd160=_.ripemd.ripemd160}}),qY=S0({"node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"(N,_){_.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}}}),b$=S0({"node_modules/elliptic/lib/elliptic/curves.js"(N){var _=N,k=d$(),j=MQ(),F=E$(),z=F.assert;function X(T){T.type==="short"?this.curve=new j.short(T):T.type==="edwards"?this.curve=new j.edwards(T):this.curve=new j.mont(T),this.g=this.curve.g,this.n=this.curve.n,this.hash=T.hash,z(this.g.validate(),"Invalid curve"),z(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}_.PresetCurve=X;function C(T,W){Object.defineProperty(_,T,{configurable:!0,enumerable:!0,get:function(){var J=new X(W);return Object.defineProperty(_,T,{configurable:!0,enumerable:!0,value:J}),J}})}C("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:k.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),C("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:k.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),C("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:k.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),C("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:k.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),C("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:k.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),C("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:k.sha256,gRed:!1,g:["9"]}),C("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:k.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var P;try{P=qY()}catch{P=void 0}C("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:k.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",P]})}}),jY=S0({"node_modules/hmac-drbg/lib/hmac-drbg.js"(N,_){var k=d$(),j=zQ(),F=W$();function z(X){if(!(this instanceof z))return new z(X);this.hash=X.hash,this.predResist=!!X.predResist,this.outLen=this.hash.outSize,this.minEntropy=X.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var C=j.toArray(X.entropy,X.entropyEnc||"hex"),P=j.toArray(X.nonce,X.nonceEnc||"hex"),T=j.toArray(X.pers,X.persEnc||"hex");F(C.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(C,P,T)}_.exports=z,z.prototype._init=function(X,C,P){var T=X.concat(C).concat(P);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var W=0;W<this.V.length;W++)this.K[W]=0,this.V[W]=1;this._update(T),this._reseed=1,this.reseedInterval=281474976710656},z.prototype._hmac=function(){return new k.hmac(this.hash,this.K)},z.prototype._update=function(X){var C=this._hmac().update(this.V).update([0]);X&&(C=C.update(X)),this.K=C.digest(),this.V=this._hmac().update(this.V).digest(),X&&(this.K=this._hmac().update(this.V).update([1]).update(X).digest(),this.V=this._hmac().update(this.V).digest())},z.prototype.reseed=function(X,C,P,T){typeof C!="string"&&(T=P,P=C,C=null),X=j.toArray(X,C),P=j.toArray(P,T),F(X.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(X.concat(P||[])),this._reseed=1},z.prototype.generate=function(X,C,P,T){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof C!="string"&&(T=P,P=C,C=null),P&&(P=j.toArray(P,T||"hex"),this._update(P));for(var W=[];W.length<X;)this.V=this._hmac().update(this.V).digest(),W=W.concat(this.V);var J=W.slice(0,X);return this._update(P),this._reseed++,j.encode(J,C)}}}),kY=S0({"node_modules/elliptic/lib/elliptic/ec/key.js"(N,_){var k=D$(),j=E$(),F=j.assert;function z(X,C){this.ec=X,this.priv=null,this.pub=null,C.priv&&this._importPrivate(C.priv,C.privEnc),C.pub&&this._importPublic(C.pub,C.pubEnc)}_.exports=z,z.fromPublic=function(X,C,P){return C instanceof z?C:new z(X,{pub:C,pubEnc:P})},z.fromPrivate=function(X,C,P){return C instanceof z?C:new z(X,{priv:C,privEnc:P})},z.prototype.validate=function(){var X=this.getPublic();return X.isInfinity()?{result:!1,reason:"Invalid public key"}:X.validate()?X.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},z.prototype.getPublic=function(X,C){return typeof X=="string"&&(C=X,X=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),C?this.pub.encode(C,X):this.pub},z.prototype.getPrivate=function(X){return X==="hex"?this.priv.toString(16,2):this.priv},z.prototype._importPrivate=function(X,C){this.priv=new k(X,C||16),this.priv=this.priv.umod(this.ec.curve.n)},z.prototype._importPublic=function(X,C){if(X.x||X.y){this.ec.curve.type==="mont"?F(X.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&F(X.x&&X.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(X.x,X.y);return}this.pub=this.ec.curve.decodePoint(X,C)},z.prototype.derive=function(X){return X.validate()||F(X.validate(),"public point not validated"),X.mul(this.priv).getX()},z.prototype.sign=function(X,C,P){return this.ec.sign(X,this,C,P)},z.prototype.verify=function(X,C){return this.ec.verify(X,C,this)},z.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}}),gY=S0({"node_modules/elliptic/lib/elliptic/ec/signature.js"(N,_){var k=D$(),j=E$(),F=j.assert;function z(W,J){if(W instanceof z)return W;this._importDER(W,J)||(F(W.r&&W.s,"Signature without r or s"),this.r=new k(W.r,16),this.s=new k(W.s,16),W.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=W.recoveryParam)}_.exports=z;function X(){this.place=0}function C(W,J){var H=W[J.place++];if(!(H&128))return H;var D=H&15;if(D===0||D>4)return!1;for(var E=0,L=0,M=J.place;L<D;L++,M++)E<<=8,E|=W[M],E>>>=0;return E<=127?!1:(J.place=M,E)}function P(W){for(var J=0,H=W.length-1;!W[J]&&!(W[J+1]&128)&&J<H;)J++;return J===0?W:W.slice(J)}z.prototype._importDER=function(W,J){W=j.toArray(W,J);var H=new X;if(W[H.place++]!==48)return!1;var D=C(W,H);if(D===!1||D+H.place!==W.length||W[H.place++]!==2)return!1;var E=C(W,H);if(E===!1)return!1;var L=W.slice(H.place,E+H.place);if(H.place+=E,W[H.place++]!==2)return!1;var M=C(W,H);if(M===!1||W.length!==M+H.place)return!1;var v=W.slice(H.place,M+H.place);if(L[0]===0)if(L[1]&128)L=L.slice(1);else return!1;if(v[0]===0)if(v[1]&128)v=v.slice(1);else return!1;return this.r=new k(L),this.s=new k(v),this.recoveryParam=null,!0};function T(W,J){if(J<128){W.push(J);return}var H=1+(Math.log(J)/Math.LN2>>>3);for(W.push(H|128);--H;)W.push(J>>>(H<<3)&255);W.push(J)}z.prototype.toDER=function(W){var J=this.r.toArray(),H=this.s.toArray();for(J[0]&128&&(J=[0].concat(J)),H[0]&128&&(H=[0].concat(H)),J=P(J),H=P(H);!H[0]&&!(H[1]&128);)H=H.slice(1);var D=[2];T(D,J.length),D=D.concat(J),D.push(2),T(D,H.length);var E=D.concat(H),L=[48];return T(L,E.length),L=L.concat(E),j.encode(L,W)}}}),_Y=S0({"node_modules/elliptic/lib/elliptic/ec/index.js"(N,_){var k=D$(),j=jY(),F=E$(),z=b$(),X=f$(),C=F.assert,P=kY(),T=gY();function W(J){if(!(this instanceof W))return new W(J);typeof J=="string"&&(C(Object.prototype.hasOwnProperty.call(z,J),"Unknown curve "+J),J=z[J]),J instanceof z.PresetCurve&&(J={curve:J}),this.curve=J.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=J.curve.g,this.g.precompute(J.curve.n.bitLength()+1),this.hash=J.hash||J.curve.hash}_.exports=W,W.prototype.keyPair=function(J){return new P(this,J)},W.prototype.keyFromPrivate=function(J,H){return P.fromPrivate(this,J,H)},W.prototype.keyFromPublic=function(J,H){return P.fromPublic(this,J,H)},W.prototype.genKeyPair=function(J){J||(J={});for(var H=new j({hash:this.hash,pers:J.pers,persEnc:J.persEnc||"utf8",entropy:J.entropy||X(this.hash.hmacStrength),entropyEnc:J.entropy&&J.entropyEnc||"utf8",nonce:this.n.toArray()}),D=this.n.byteLength(),E=this.n.sub(new k(2));;){var L=new k(H.generate(D));if(!(L.cmp(E)>0))return L.iaddn(1),this.keyFromPrivate(L)}},W.prototype._truncateToN=function(J,H){var D=J.byteLength()*8-this.n.bitLength();return D>0&&(J=J.ushrn(D)),!H&&J.cmp(this.n)>=0?J.sub(this.n):J},W.prototype.sign=function(J,H,D,E){typeof D=="object"&&(E=D,D=null),E||(E={}),H=this.keyFromPrivate(H,D),J=this._truncateToN(new k(J,16));for(var L=this.n.byteLength(),M=H.getPrivate().toArray("be",L),v=J.toArray("be",L),q=new j({hash:this.hash,entropy:M,nonce:v,pers:E.pers,persEnc:E.persEnc||"utf8"}),g=this.n.sub(new k(1)),y=0;;y++){var w=E.k?E.k(y):new k(q.generate(this.n.byteLength()));if(w=this._truncateToN(w,!0),!(w.cmpn(1)<=0||w.cmp(g)>=0)){var f=this.g.mul(w);if(!f.isInfinity()){var b=f.getX(),u=b.umod(this.n);if(u.cmpn(0)!==0){var Y0=w.invm(this.n).mul(u.mul(H.getPrivate()).iadd(J));if(Y0=Y0.umod(this.n),Y0.cmpn(0)!==0){var p=(f.getY().isOdd()?1:0)|(b.cmp(u)!==0?2:0);return E.canonical&&Y0.cmp(this.nh)>0&&(Y0=this.n.sub(Y0),p^=1),new T({r:u,s:Y0,recoveryParam:p})}}}}}},W.prototype.verify=function(J,H,D,E){J=this._truncateToN(new k(J,16)),D=this.keyFromPublic(D,E),H=new T(H,"hex");var{r:L,s:M}=H;if(L.cmpn(1)<0||L.cmp(this.n)>=0||M.cmpn(1)<0||M.cmp(this.n)>=0)return!1;var v=M.invm(this.n),q=v.mul(J).umod(this.n),g=v.mul(L).umod(this.n),y;return this.curve._maxwellTrick?(y=this.g.jmulAdd(q,D.getPublic(),g),y.isInfinity()?!1:y.eqXToP(L)):(y=this.g.mulAdd(q,D.getPublic(),g),y.isInfinity()?!1:y.getX().umod(this.n).cmp(L)===0)},W.prototype.recoverPubKey=function(J,H,D,E){C((3&D)===D,"The recovery param is more than two bits"),H=new T(H,E);var L=this.n,M=new k(J),v=H.r,q=H.s,g=D&1,y=D>>1;if(v.cmp(this.curve.p.umod(this.curve.n))>=0&&y)throw new Error("Unable to find sencond key candinate");y?v=this.curve.pointFromX(v.add(this.curve.n),g):v=this.curve.pointFromX(v,g);var w=H.r.invm(L),f=L.sub(M).mul(w).umod(L),b=q.mul(w).umod(L);return this.g.mulAdd(f,v,b)},W.prototype.getKeyRecoveryParam=function(J,H,D,E){if(H=new T(H,E),H.recoveryParam!==null)return H.recoveryParam;for(var L=0;L<4;L++){var M;try{M=this.recoverPubKey(J,H,L)}catch{continue}if(M.eq(D))return L}throw new Error("Unable to find valid recovery factor")}}}),NY=S0({"node_modules/elliptic/lib/elliptic/eddsa/key.js"(N,_){var k=E$(),j=k.assert,F=k.parseBytes,z=k.cachedProperty;function X(C,P){this.eddsa=C,this._secret=F(P.secret),C.isPoint(P.pub)?this._pub=P.pub:this._pubBytes=F(P.pub)}X.fromPublic=function(C,P){return P instanceof X?P:new X(C,{pub:P})},X.fromSecret=function(C,P){return P instanceof X?P:new X(C,{secret:P})},X.prototype.secret=function(){return this._secret},z(X,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),z(X,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),z(X,"privBytes",function(){var C=this.eddsa,P=this.hash(),T=C.encodingLength-1,W=P.slice(0,C.encodingLength);return W[0]&=248,W[T]&=127,W[T]|=64,W}),z(X,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),z(X,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),z(X,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),X.prototype.sign=function(C){return j(this._secret,"KeyPair can only verify"),this.eddsa.sign(C,this)},X.prototype.verify=function(C,P){return this.eddsa.verify(C,P,this)},X.prototype.getSecret=function(C){return j(this._secret,"KeyPair is public only"),k.encode(this.secret(),C)},X.prototype.getPublic=function(C){return k.encode(this.pubBytes(),C)},_.exports=X}}),xY=S0({"node_modules/elliptic/lib/elliptic/eddsa/signature.js"(N,_){var k=D$(),j=E$(),F=j.assert,z=j.cachedProperty,X=j.parseBytes;function C(P,T){this.eddsa=P,typeof T!="object"&&(T=X(T)),Array.isArray(T)&&(T={R:T.slice(0,P.encodingLength),S:T.slice(P.encodingLength)}),F(T.R&&T.S,"Signature without R or S"),P.isPoint(T.R)&&(this._R=T.R),T.S instanceof k&&(this._S=T.S),this._Rencoded=Array.isArray(T.R)?T.R:T.Rencoded,this._Sencoded=Array.isArray(T.S)?T.S:T.Sencoded}z(C,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),z(C,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),z(C,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),z(C,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),C.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},C.prototype.toHex=function(){return j.encode(this.toBytes(),"hex").toUpperCase()},_.exports=C}}),BY=S0({"node_modules/elliptic/lib/elliptic/eddsa/index.js"(N,_){var k=d$(),j=b$(),F=E$(),z=F.assert,X=F.parseBytes,C=NY(),P=xY();function T(W){if(z(W==="ed25519","only tested with ed25519 so far"),!(this instanceof T))return new T(W);W=j[W].curve,this.curve=W,this.g=W.g,this.g.precompute(W.n.bitLength()+1),this.pointClass=W.point().constructor,this.encodingLength=Math.ceil(W.n.bitLength()/8),this.hash=k.sha512}_.exports=T,T.prototype.sign=function(W,J){W=X(W);var H=this.keyFromSecret(J),D=this.hashInt(H.messagePrefix(),W),E=this.g.mul(D),L=this.encodePoint(E),M=this.hashInt(L,H.pubBytes(),W).mul(H.priv()),v=D.add(M).umod(this.curve.n);return this.makeSignature({R:E,S:v,Rencoded:L})},T.prototype.verify=function(W,J,H){W=X(W),J=this.makeSignature(J);var D=this.keyFromPublic(H),E=this.hashInt(J.Rencoded(),D.pubBytes(),W),L=this.g.mul(J.S()),M=J.R().add(D.pub().mul(E));return M.eq(L)},T.prototype.hashInt=function(){for(var W=this.hash(),J=0;J<arguments.length;J++)W.update(arguments[J]);return F.intFromLE(W.digest()).umod(this.curve.n)},T.prototype.keyFromPublic=function(W){return C.fromPublic(this,W)},T.prototype.keyFromSecret=function(W){return C.fromSecret(this,W)},T.prototype.makeSignature=function(W){return W instanceof P?W:new P(this,W)},T.prototype.encodePoint=function(W){var J=W.getY().toArray("le",this.encodingLength);return J[this.encodingLength-1]|=W.getX().isOdd()?128:0,J},T.prototype.decodePoint=function(W){W=F.parseBytes(W);var J=W.length-1,H=W.slice(0,J).concat(W[J]&-129),D=(W[J]&128)!==0,E=F.intFromLE(H);return this.curve.pointFromY(E,D)},T.prototype.encodeInt=function(W){return W.toArray("le",this.encodingLength)},T.prototype.decodeInt=function(W){return F.intFromLE(W)},T.prototype.isPoint=function(W){return W instanceof this.pointClass}}}),l$=S0({"node_modules/elliptic/lib/elliptic.js"(N){var _=N;_.version=TY().version,_.utils=E$(),_.rand=f$(),_.curve=MQ(),_.curves=b$(),_.ec=_Y(),_.eddsa=BY()}}),jQ=S0({"node_modules/asn1.js/node_modules/bn.js/lib/bn.js"(N,_){(function(k,j){function F($,Y){if(!$)throw new Error(Y||"Assertion failed")}function z($,Y){$.super_=Y;var G=function(){};G.prototype=Y.prototype,$.prototype=new G,$.prototype.constructor=$}function X($,Y,G){if(X.isBN($))return $;this.negative=0,this.words=null,this.length=0,this.red=null,$!==null&&((Y==="le"||Y==="be")&&(G=Y,Y=10),this._init($||0,Y||10,G||"be"))}typeof k=="object"?k.exports=X:j.BN=X,X.BN=X,X.wordSize=26;var C=g0;X.isBN=function($){return $ instanceof X?!0:$!==null&&typeof $=="object"&&$.constructor.wordSize===X.wordSize&&Array.isArray($.words)},X.max=function($,Y){return $.cmp(Y)>0?$:Y},X.min=function($,Y){return $.cmp(Y)<0?$:Y},X.prototype._init=function($,Y,G){if(typeof $=="number")return this._initNumber($,Y,G);if(typeof $=="object")return this._initArray($,Y,G);Y==="hex"&&(Y=16),F(Y===(Y|0)&&Y>=2&&Y<=36),$=$.toString().replace(/\s+/g,"");var Z=0;$[0]==="-"&&(Z++,this.negative=1),Z<$.length&&(Y===16?this._parseHex($,Z,G):(this._parseBase($,Y,Z),G==="le"&&this._initArray(this.toArray(),Y,G)))},X.prototype._initNumber=function($,Y,G){$<0&&(this.negative=1,$=-$),$<67108864?(this.words=[$&67108863],this.length=1):$<4503599627370496?(this.words=[$&67108863,$/67108864&67108863],this.length=2):(F($<9007199254740992),this.words=[$&67108863,$/67108864&67108863,1],this.length=3),G==="le"&&this._initArray(this.toArray(),Y,G)},X.prototype._initArray=function($,Y,G){if(F(typeof $.length=="number"),$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil($.length/3),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V,I,O=0;if(G==="be")for(Z=$.length-1,V=0;Z>=0;Z-=3)I=$[Z]|$[Z-1]<<8|$[Z-2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);else if(G==="le")for(Z=0,V=0;Z<$.length;Z+=3)I=$[Z]|$[Z+1]<<8|$[Z+2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);return this.strip()};function P($,Y){var G=$.charCodeAt(Y);return G>=65&&G<=70?G-55:G>=97&&G<=102?G-87:G-48&15}function T($,Y,G){var Z=P($,G);return G-1>=Y&&(Z|=P($,G-1)<<4),Z}X.prototype._parseHex=function($,Y,G){this.length=Math.ceil(($.length-Y)/6),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V=0,I=0,O;if(G==="be")for(Z=$.length-1;Z>=Y;Z-=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8;else{var U=$.length-Y;for(Z=U%2===0?Y+1:Y;Z<$.length;Z+=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8}this.strip()};function W($,Y,G,Z){for(var V=0,I=Math.min($.length,G),O=Y;O<I;O++){var U=$.charCodeAt(O)-48;V*=Z,U>=49?V+=U-49+10:U>=17?V+=U-17+10:V+=U}return V}X.prototype._parseBase=function($,Y,G){this.words=[0],this.length=1;for(var Z=0,V=1;V<=67108863;V*=Y)Z++;Z--,V=V/Y|0;for(var I=$.length-G,O=I%Z,U=Math.min(I,I-O)+G,Q=0,K=G;K<U;K+=Z)Q=W($,K,K+Z,Y),this.imuln(V),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q);if(O!==0){var R=1;for(Q=W($,K,$.length,Y),K=0;K<O;K++)R*=Y;this.imuln(R),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q)}this.strip()},X.prototype.copy=function($){$.words=new Array(this.length);for(var Y=0;Y<this.length;Y++)$.words[Y]=this.words[Y];$.length=this.length,$.negative=this.negative,$.red=this.red},X.prototype.clone=function(){var $=new X(null);return this.copy($),$},X.prototype._expand=function($){for(;this.length<$;)this.words[this.length++]=0;return this},X.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},X.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},X.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var J=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],H=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];X.prototype.toString=function($,Y){$=$||10,Y=Y|0||1;var G;if($===16||$==="hex"){G="";for(var Z=0,V=0,I=0;I<this.length;I++){var O=this.words[I],U=((O<<Z|V)&16777215).toString(16);V=O>>>24-Z&16777215,V!==0||I!==this.length-1?G=J[6-U.length]+U+G:G=U+G,Z+=2,Z>=26&&(Z-=26,I--)}for(V!==0&&(G=V.toString(16)+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}if($===($|0)&&$>=2&&$<=36){var Q=H[$],K=D[$];G="";var R=this.clone();for(R.negative=0;!R.isZero();){var A=R.modn(K).toString($);R=R.idivn(K),R.isZero()?G=A+G:G=J[Q-A.length]+A+G}for(this.isZero()&&(G="0"+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}F(!1,"Base should be between 2 and 36")},X.prototype.toNumber=function(){var $=this.words[0];return this.length===2?$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?$+=4503599627370496+this.words[1]*67108864:this.length>2&&F(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-$:$},X.prototype.toJSON=function(){return this.toString(16)},X.prototype.toBuffer=function($,Y){return F(typeof C<"u"),this.toArrayLike(C,$,Y)},X.prototype.toArray=function($,Y){return this.toArrayLike(Array,$,Y)},X.prototype.toArrayLike=function($,Y,G){var Z=this.byteLength(),V=G||Math.max(1,Z);F(Z<=V,"byte array longer than desired length"),F(V>0,"Requested array length <= 0"),this.strip();var I=Y==="le",O=new $(V),U,Q,K=this.clone();if(I){for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[Q]=U;for(;Q<V;Q++)O[Q]=0}else{for(Q=0;Q<V-Z;Q++)O[Q]=0;for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[V-Q-1]=U}return O},Math.clz32?X.prototype._countBits=function($){return 32-Math.clz32($)}:X.prototype._countBits=function($){var Y=$,G=0;return Y>=4096&&(G+=13,Y>>>=13),Y>=64&&(G+=7,Y>>>=7),Y>=8&&(G+=4,Y>>>=4),Y>=2&&(G+=2,Y>>>=2),G+Y},X.prototype._zeroBits=function($){if($===0)return 26;var Y=$,G=0;return(Y&8191)===0&&(G+=13,Y>>>=13),(Y&127)===0&&(G+=7,Y>>>=7),(Y&15)===0&&(G+=4,Y>>>=4),(Y&3)===0&&(G+=2,Y>>>=2),(Y&1)===0&&G++,G},X.prototype.bitLength=function(){var $=this.words[this.length-1],Y=this._countBits($);return(this.length-1)*26+Y};function E($){for(var Y=new Array($.bitLength()),G=0;G<Y.length;G++){var Z=G/26|0,V=G%26;Y[G]=($.words[Z]&1<<V)>>>V}return Y}X.prototype.zeroBits=function(){if(this.isZero())return 0;for(var $=0,Y=0;Y<this.length;Y++){var G=this._zeroBits(this.words[Y]);if($+=G,G!==26)break}return $},X.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},X.prototype.toTwos=function($){return this.negative!==0?this.abs().inotn($).iaddn(1):this.clone()},X.prototype.fromTwos=function($){return this.testn($-1)?this.notn($).iaddn(1).ineg():this.clone()},X.prototype.isNeg=function(){return this.negative!==0},X.prototype.neg=function(){return this.clone().ineg()},X.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},X.prototype.iuor=function($){for(;this.length<$.length;)this.words[this.length++]=0;for(var Y=0;Y<$.length;Y++)this.words[Y]=this.words[Y]|$.words[Y];return this.strip()},X.prototype.ior=function($){return F((this.negative|$.negative)===0),this.iuor($)},X.prototype.or=function($){return this.length>$.length?this.clone().ior($):$.clone().ior(this)},X.prototype.uor=function($){return this.length>$.length?this.clone().iuor($):$.clone().iuor(this)},X.prototype.iuand=function($){var Y;this.length>$.length?Y=$:Y=this;for(var G=0;G<Y.length;G++)this.words[G]=this.words[G]&$.words[G];return this.length=Y.length,this.strip()},X.prototype.iand=function($){return F((this.negative|$.negative)===0),this.iuand($)},X.prototype.and=function($){return this.length>$.length?this.clone().iand($):$.clone().iand(this)},X.prototype.uand=function($){return this.length>$.length?this.clone().iuand($):$.clone().iuand(this)},X.prototype.iuxor=function($){var Y,G;this.length>$.length?(Y=this,G=$):(Y=$,G=this);for(var Z=0;Z<G.length;Z++)this.words[Z]=Y.words[Z]^G.words[Z];if(this!==Y)for(;Z<Y.length;Z++)this.words[Z]=Y.words[Z];return this.length=Y.length,this.strip()},X.prototype.ixor=function($){return F((this.negative|$.negative)===0),this.iuxor($)},X.prototype.xor=function($){return this.length>$.length?this.clone().ixor($):$.clone().ixor(this)},X.prototype.uxor=function($){return this.length>$.length?this.clone().iuxor($):$.clone().iuxor(this)},X.prototype.inotn=function($){F(typeof $=="number"&&$>=0);var Y=Math.ceil($/26)|0,G=$%26;this._expand(Y),G>0&&Y--;for(var Z=0;Z<Y;Z++)this.words[Z]=~this.words[Z]&67108863;return G>0&&(this.words[Z]=~this.words[Z]&67108863>>26-G),this.strip()},X.prototype.notn=function($){return this.clone().inotn($)},X.prototype.setn=function($,Y){F(typeof $=="number"&&$>=0);var G=$/26|0,Z=$%26;return this._expand(G+1),Y?this.words[G]=this.words[G]|1<<Z:this.words[G]=this.words[G]&~(1<<Z),this.strip()},X.prototype.iadd=function($){var Y;if(this.negative!==0&&$.negative===0)return this.negative=0,Y=this.isub($),this.negative^=1,this._normSign();if(this.negative===0&&$.negative!==0)return $.negative=0,Y=this.isub($),$.negative=1,Y._normSign();var G,Z;this.length>$.length?(G=this,Z=$):(G=$,Z=this);for(var V=0,I=0;I<Z.length;I++)Y=(G.words[I]|0)+(Z.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;for(;V!==0&&I<G.length;I++)Y=(G.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;if(this.length=G.length,V!==0)this.words[this.length]=V,this.length++;else if(G!==this)for(;I<G.length;I++)this.words[I]=G.words[I];return this},X.prototype.add=function($){var Y;return $.negative!==0&&this.negative===0?($.negative=0,Y=this.sub($),$.negative^=1,Y):$.negative===0&&this.negative!==0?(this.negative=0,Y=$.sub(this),this.negative=1,Y):this.length>$.length?this.clone().iadd($):$.clone().iadd(this)},X.prototype.isub=function($){if($.negative!==0){$.negative=0;var Y=this.iadd($);return $.negative=1,Y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd($),this.negative=1,this._normSign();var G=this.cmp($);if(G===0)return this.negative=0,this.length=1,this.words[0]=0,this;var Z,V;G>0?(Z=this,V=$):(Z=$,V=this);for(var I=0,O=0;O<V.length;O++)Y=(Z.words[O]|0)-(V.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;for(;I!==0&&O<Z.length;O++)Y=(Z.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;if(I===0&&O<Z.length&&Z!==this)for(;O<Z.length;O++)this.words[O]=Z.words[O];return this.length=Math.max(this.length,O),Z!==this&&(this.negative=1),this.strip()},X.prototype.sub=function($){return this.clone().isub($)};function L($,Y,G){G.negative=Y.negative^$.negative;var Z=$.length+Y.length|0;G.length=Z,Z=Z-1|0;var V=$.words[0]|0,I=Y.words[0]|0,O=V*I,U=O&67108863,Q=O/67108864|0;G.words[0]=U;for(var K=1;K<Z;K++){for(var R=Q>>>26,A=Q&67108863,S=Math.min(K,Y.length-1),x=Math.max(0,K-$.length+1);x<=S;x++){var B=K-x|0;V=$.words[B]|0,I=Y.words[x]|0,O=V*I+A,R+=O/67108864|0,A=O&67108863}G.words[K]=A|0,Q=R|0}return Q!==0?G.words[K]=Q|0:G.length--,G.strip()}var M=function($,Y,G){var Z=$.words,V=Y.words,I=G.words,O=0,U,Q,K,R=Z[0]|0,A=R&8191,S=R>>>13,x=Z[1]|0,B=x&8191,c=x>>>13,q0=Z[2]|0,h=q0&8191,d=q0>>>13,_0=Z[3]|0,l=_0&8191,n=_0>>>13,y0=Z[4]|0,t=y0&8191,s=y0>>>13,w0=Z[5]|0,m=w0&8191,r=w0>>>13,$$=Z[6]|0,i=$$&8191,e=$$>>>13,x0=Z[7]|0,o=x0&8191,a=x0>>>13,p0=Z[8]|0,$0=p0&8191,Q0=p0>>>13,Y$=Z[9]|0,Z0=Y$&8191,G0=Y$>>>13,Z$=V[0]|0,V0=Z$&8191,U0=Z$>>>13,G$=V[1]|0,X0=G$&8191,K0=G$>>>13,V$=V[2]|0,I0=V$&8191,O0=V$>>>13,U$=V[3]|0,J0=U$&8191,F0=U$>>>13,X$=V[4]|0,A0=X$&8191,H0=X$>>>13,K$=V[5]|0,W0=K$&8191,E0=K$>>>13,I$=V[6]|0,T0=I$&8191,D0=I$>>>13,O$=V[7]|0,C0=O$&8191,L0=O$>>>13,J$=V[8]|0,R0=J$&8191,P0=J$>>>13,F$=V[9]|0,z0=F$&8191,M0=F$>>>13;G.negative=$.negative^Y.negative,G.length=19,U=Math.imul(A,V0),Q=Math.imul(A,U0),Q=Q+Math.imul(S,V0)|0,K=Math.imul(S,U0);var Q$=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(Q$>>>26)|0,Q$&=67108863,U=Math.imul(B,V0),Q=Math.imul(B,U0),Q=Q+Math.imul(c,V0)|0,K=Math.imul(c,U0),U=U+Math.imul(A,X0)|0,Q=Q+Math.imul(A,K0)|0,Q=Q+Math.imul(S,X0)|0,K=K+Math.imul(S,K0)|0;var j0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(j0>>>26)|0,j0&=67108863,U=Math.imul(h,V0),Q=Math.imul(h,U0),Q=Q+Math.imul(d,V0)|0,K=Math.imul(d,U0),U=U+Math.imul(B,X0)|0,Q=Q+Math.imul(B,K0)|0,Q=Q+Math.imul(c,X0)|0,K=K+Math.imul(c,K0)|0,U=U+Math.imul(A,I0)|0,Q=Q+Math.imul(A,O0)|0,Q=Q+Math.imul(S,I0)|0,K=K+Math.imul(S,O0)|0;var k0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(k0>>>26)|0,k0&=67108863,U=Math.imul(l,V0),Q=Math.imul(l,U0),Q=Q+Math.imul(n,V0)|0,K=Math.imul(n,U0),U=U+Math.imul(h,X0)|0,Q=Q+Math.imul(h,K0)|0,Q=Q+Math.imul(d,X0)|0,K=K+Math.imul(d,K0)|0,U=U+Math.imul(B,I0)|0,Q=Q+Math.imul(B,O0)|0,Q=Q+Math.imul(c,I0)|0,K=K+Math.imul(c,O0)|0,U=U+Math.imul(A,J0)|0,Q=Q+Math.imul(A,F0)|0,Q=Q+Math.imul(S,J0)|0,K=K+Math.imul(S,F0)|0;var f0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(f0>>>26)|0,f0&=67108863,U=Math.imul(t,V0),Q=Math.imul(t,U0),Q=Q+Math.imul(s,V0)|0,K=Math.imul(s,U0),U=U+Math.imul(l,X0)|0,Q=Q+Math.imul(l,K0)|0,Q=Q+Math.imul(n,X0)|0,K=K+Math.imul(n,K0)|0,U=U+Math.imul(h,I0)|0,Q=Q+Math.imul(h,O0)|0,Q=Q+Math.imul(d,I0)|0,K=K+Math.imul(d,O0)|0,U=U+Math.imul(B,J0)|0,Q=Q+Math.imul(B,F0)|0,Q=Q+Math.imul(c,J0)|0,K=K+Math.imul(c,F0)|0,U=U+Math.imul(A,A0)|0,Q=Q+Math.imul(A,H0)|0,Q=Q+Math.imul(S,A0)|0,K=K+Math.imul(S,H0)|0;var c0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(c0>>>26)|0,c0&=67108863,U=Math.imul(m,V0),Q=Math.imul(m,U0),Q=Q+Math.imul(r,V0)|0,K=Math.imul(r,U0),U=U+Math.imul(t,X0)|0,Q=Q+Math.imul(t,K0)|0,Q=Q+Math.imul(s,X0)|0,K=K+Math.imul(s,K0)|0,U=U+Math.imul(l,I0)|0,Q=Q+Math.imul(l,O0)|0,Q=Q+Math.imul(n,I0)|0,K=K+Math.imul(n,O0)|0,U=U+Math.imul(h,J0)|0,Q=Q+Math.imul(h,F0)|0,Q=Q+Math.imul(d,J0)|0,K=K+Math.imul(d,F0)|0,U=U+Math.imul(B,A0)|0,Q=Q+Math.imul(B,H0)|0,Q=Q+Math.imul(c,A0)|0,K=K+Math.imul(c,H0)|0,U=U+Math.imul(A,W0)|0,Q=Q+Math.imul(A,E0)|0,Q=Q+Math.imul(S,W0)|0,K=K+Math.imul(S,E0)|0;var h0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(h0>>>26)|0,h0&=67108863,U=Math.imul(i,V0),Q=Math.imul(i,U0),Q=Q+Math.imul(e,V0)|0,K=Math.imul(e,U0),U=U+Math.imul(m,X0)|0,Q=Q+Math.imul(m,K0)|0,Q=Q+Math.imul(r,X0)|0,K=K+Math.imul(r,K0)|0,U=U+Math.imul(t,I0)|0,Q=Q+Math.imul(t,O0)|0,Q=Q+Math.imul(s,I0)|0,K=K+Math.imul(s,O0)|0,U=U+Math.imul(l,J0)|0,Q=Q+Math.imul(l,F0)|0,Q=Q+Math.imul(n,J0)|0,K=K+Math.imul(n,F0)|0,U=U+Math.imul(h,A0)|0,Q=Q+Math.imul(h,H0)|0,Q=Q+Math.imul(d,A0)|0,K=K+Math.imul(d,H0)|0,U=U+Math.imul(B,W0)|0,Q=Q+Math.imul(B,E0)|0,Q=Q+Math.imul(c,W0)|0,K=K+Math.imul(c,E0)|0,U=U+Math.imul(A,T0)|0,Q=Q+Math.imul(A,D0)|0,Q=Q+Math.imul(S,T0)|0,K=K+Math.imul(S,D0)|0;var d0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(d0>>>26)|0,d0&=67108863,U=Math.imul(o,V0),Q=Math.imul(o,U0),Q=Q+Math.imul(a,V0)|0,K=Math.imul(a,U0),U=U+Math.imul(i,X0)|0,Q=Q+Math.imul(i,K0)|0,Q=Q+Math.imul(e,X0)|0,K=K+Math.imul(e,K0)|0,U=U+Math.imul(m,I0)|0,Q=Q+Math.imul(m,O0)|0,Q=Q+Math.imul(r,I0)|0,K=K+Math.imul(r,O0)|0,U=U+Math.imul(t,J0)|0,Q=Q+Math.imul(t,F0)|0,Q=Q+Math.imul(s,J0)|0,K=K+Math.imul(s,F0)|0,U=U+Math.imul(l,A0)|0,Q=Q+Math.imul(l,H0)|0,Q=Q+Math.imul(n,A0)|0,K=K+Math.imul(n,H0)|0,U=U+Math.imul(h,W0)|0,Q=Q+Math.imul(h,E0)|0,Q=Q+Math.imul(d,W0)|0,K=K+Math.imul(d,E0)|0,U=U+Math.imul(B,T0)|0,Q=Q+Math.imul(B,D0)|0,Q=Q+Math.imul(c,T0)|0,K=K+Math.imul(c,D0)|0,U=U+Math.imul(A,C0)|0,Q=Q+Math.imul(A,L0)|0,Q=Q+Math.imul(S,C0)|0,K=K+Math.imul(S,L0)|0;var b0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(b0>>>26)|0,b0&=67108863,U=Math.imul($0,V0),Q=Math.imul($0,U0),Q=Q+Math.imul(Q0,V0)|0,K=Math.imul(Q0,U0),U=U+Math.imul(o,X0)|0,Q=Q+Math.imul(o,K0)|0,Q=Q+Math.imul(a,X0)|0,K=K+Math.imul(a,K0)|0,U=U+Math.imul(i,I0)|0,Q=Q+Math.imul(i,O0)|0,Q=Q+Math.imul(e,I0)|0,K=K+Math.imul(e,O0)|0,U=U+Math.imul(m,J0)|0,Q=Q+Math.imul(m,F0)|0,Q=Q+Math.imul(r,J0)|0,K=K+Math.imul(r,F0)|0,U=U+Math.imul(t,A0)|0,Q=Q+Math.imul(t,H0)|0,Q=Q+Math.imul(s,A0)|0,K=K+Math.imul(s,H0)|0,U=U+Math.imul(l,W0)|0,Q=Q+Math.imul(l,E0)|0,Q=Q+Math.imul(n,W0)|0,K=K+Math.imul(n,E0)|0,U=U+Math.imul(h,T0)|0,Q=Q+Math.imul(h,D0)|0,Q=Q+Math.imul(d,T0)|0,K=K+Math.imul(d,D0)|0,U=U+Math.imul(B,C0)|0,Q=Q+Math.imul(B,L0)|0,Q=Q+Math.imul(c,C0)|0,K=K+Math.imul(c,L0)|0,U=U+Math.imul(A,R0)|0,Q=Q+Math.imul(A,P0)|0,Q=Q+Math.imul(S,R0)|0,K=K+Math.imul(S,P0)|0;var l0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(l0>>>26)|0,l0&=67108863,U=Math.imul(Z0,V0),Q=Math.imul(Z0,U0),Q=Q+Math.imul(G0,V0)|0,K=Math.imul(G0,U0),U=U+Math.imul($0,X0)|0,Q=Q+Math.imul($0,K0)|0,Q=Q+Math.imul(Q0,X0)|0,K=K+Math.imul(Q0,K0)|0,U=U+Math.imul(o,I0)|0,Q=Q+Math.imul(o,O0)|0,Q=Q+Math.imul(a,I0)|0,K=K+Math.imul(a,O0)|0,U=U+Math.imul(i,J0)|0,Q=Q+Math.imul(i,F0)|0,Q=Q+Math.imul(e,J0)|0,K=K+Math.imul(e,F0)|0,U=U+Math.imul(m,A0)|0,Q=Q+Math.imul(m,H0)|0,Q=Q+Math.imul(r,A0)|0,K=K+Math.imul(r,H0)|0,U=U+Math.imul(t,W0)|0,Q=Q+Math.imul(t,E0)|0,Q=Q+Math.imul(s,W0)|0,K=K+Math.imul(s,E0)|0,U=U+Math.imul(l,T0)|0,Q=Q+Math.imul(l,D0)|0,Q=Q+Math.imul(n,T0)|0,K=K+Math.imul(n,D0)|0,U=U+Math.imul(h,C0)|0,Q=Q+Math.imul(h,L0)|0,Q=Q+Math.imul(d,C0)|0,K=K+Math.imul(d,L0)|0,U=U+Math.imul(B,R0)|0,Q=Q+Math.imul(B,P0)|0,Q=Q+Math.imul(c,R0)|0,K=K+Math.imul(c,P0)|0,U=U+Math.imul(A,z0)|0,Q=Q+Math.imul(A,M0)|0,Q=Q+Math.imul(S,z0)|0,K=K+Math.imul(S,M0)|0;var o0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(o0>>>26)|0,o0&=67108863,U=Math.imul(Z0,X0),Q=Math.imul(Z0,K0),Q=Q+Math.imul(G0,X0)|0,K=Math.imul(G0,K0),U=U+Math.imul($0,I0)|0,Q=Q+Math.imul($0,O0)|0,Q=Q+Math.imul(Q0,I0)|0,K=K+Math.imul(Q0,O0)|0,U=U+Math.imul(o,J0)|0,Q=Q+Math.imul(o,F0)|0,Q=Q+Math.imul(a,J0)|0,K=K+Math.imul(a,F0)|0,U=U+Math.imul(i,A0)|0,Q=Q+Math.imul(i,H0)|0,Q=Q+Math.imul(e,A0)|0,K=K+Math.imul(e,H0)|0,U=U+Math.imul(m,W0)|0,Q=Q+Math.imul(m,E0)|0,Q=Q+Math.imul(r,W0)|0,K=K+Math.imul(r,E0)|0,U=U+Math.imul(t,T0)|0,Q=Q+Math.imul(t,D0)|0,Q=Q+Math.imul(s,T0)|0,K=K+Math.imul(s,D0)|0,U=U+Math.imul(l,C0)|0,Q=Q+Math.imul(l,L0)|0,Q=Q+Math.imul(n,C0)|0,K=K+Math.imul(n,L0)|0,U=U+Math.imul(h,R0)|0,Q=Q+Math.imul(h,P0)|0,Q=Q+Math.imul(d,R0)|0,K=K+Math.imul(d,P0)|0,U=U+Math.imul(B,z0)|0,Q=Q+Math.imul(B,M0)|0,Q=Q+Math.imul(c,z0)|0,K=K+Math.imul(c,M0)|0;var u0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(u0>>>26)|0,u0&=67108863,U=Math.imul(Z0,I0),Q=Math.imul(Z0,O0),Q=Q+Math.imul(G0,I0)|0,K=Math.imul(G0,O0),U=U+Math.imul($0,J0)|0,Q=Q+Math.imul($0,F0)|0,Q=Q+Math.imul(Q0,J0)|0,K=K+Math.imul(Q0,F0)|0,U=U+Math.imul(o,A0)|0,Q=Q+Math.imul(o,H0)|0,Q=Q+Math.imul(a,A0)|0,K=K+Math.imul(a,H0)|0,U=U+Math.imul(i,W0)|0,Q=Q+Math.imul(i,E0)|0,Q=Q+Math.imul(e,W0)|0,K=K+Math.imul(e,E0)|0,U=U+Math.imul(m,T0)|0,Q=Q+Math.imul(m,D0)|0,Q=Q+Math.imul(r,T0)|0,K=K+Math.imul(r,D0)|0,U=U+Math.imul(t,C0)|0,Q=Q+Math.imul(t,L0)|0,Q=Q+Math.imul(s,C0)|0,K=K+Math.imul(s,L0)|0,U=U+Math.imul(l,R0)|0,Q=Q+Math.imul(l,P0)|0,Q=Q+Math.imul(n,R0)|0,K=K+Math.imul(n,P0)|0,U=U+Math.imul(h,z0)|0,Q=Q+Math.imul(h,M0)|0,Q=Q+Math.imul(d,z0)|0,K=K+Math.imul(d,M0)|0;var n0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(n0>>>26)|0,n0&=67108863,U=Math.imul(Z0,J0),Q=Math.imul(Z0,F0),Q=Q+Math.imul(G0,J0)|0,K=Math.imul(G0,F0),U=U+Math.imul($0,A0)|0,Q=Q+Math.imul($0,H0)|0,Q=Q+Math.imul(Q0,A0)|0,K=K+Math.imul(Q0,H0)|0,U=U+Math.imul(o,W0)|0,Q=Q+Math.imul(o,E0)|0,Q=Q+Math.imul(a,W0)|0,K=K+Math.imul(a,E0)|0,U=U+Math.imul(i,T0)|0,Q=Q+Math.imul(i,D0)|0,Q=Q+Math.imul(e,T0)|0,K=K+Math.imul(e,D0)|0,U=U+Math.imul(m,C0)|0,Q=Q+Math.imul(m,L0)|0,Q=Q+Math.imul(r,C0)|0,K=K+Math.imul(r,L0)|0,U=U+Math.imul(t,R0)|0,Q=Q+Math.imul(t,P0)|0,Q=Q+Math.imul(s,R0)|0,K=K+Math.imul(s,P0)|0,U=U+Math.imul(l,z0)|0,Q=Q+Math.imul(l,M0)|0,Q=Q+Math.imul(n,z0)|0,K=K+Math.imul(n,M0)|0;var s0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(s0>>>26)|0,s0&=67108863,U=Math.imul(Z0,A0),Q=Math.imul(Z0,H0),Q=Q+Math.imul(G0,A0)|0,K=Math.imul(G0,H0),U=U+Math.imul($0,W0)|0,Q=Q+Math.imul($0,E0)|0,Q=Q+Math.imul(Q0,W0)|0,K=K+Math.imul(Q0,E0)|0,U=U+Math.imul(o,T0)|0,Q=Q+Math.imul(o,D0)|0,Q=Q+Math.imul(a,T0)|0,K=K+Math.imul(a,D0)|0,U=U+Math.imul(i,C0)|0,Q=Q+Math.imul(i,L0)|0,Q=Q+Math.imul(e,C0)|0,K=K+Math.imul(e,L0)|0,U=U+Math.imul(m,R0)|0,Q=Q+Math.imul(m,P0)|0,Q=Q+Math.imul(r,R0)|0,K=K+Math.imul(r,P0)|0,U=U+Math.imul(t,z0)|0,Q=Q+Math.imul(t,M0)|0,Q=Q+Math.imul(s,z0)|0,K=K+Math.imul(s,M0)|0;var t0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(t0>>>26)|0,t0&=67108863,U=Math.imul(Z0,W0),Q=Math.imul(Z0,E0),Q=Q+Math.imul(G0,W0)|0,K=Math.imul(G0,E0),U=U+Math.imul($0,T0)|0,Q=Q+Math.imul($0,D0)|0,Q=Q+Math.imul(Q0,T0)|0,K=K+Math.imul(Q0,D0)|0,U=U+Math.imul(o,C0)|0,Q=Q+Math.imul(o,L0)|0,Q=Q+Math.imul(a,C0)|0,K=K+Math.imul(a,L0)|0,U=U+Math.imul(i,R0)|0,Q=Q+Math.imul(i,P0)|0,Q=Q+Math.imul(e,R0)|0,K=K+Math.imul(e,P0)|0,U=U+Math.imul(m,z0)|0,Q=Q+Math.imul(m,M0)|0,Q=Q+Math.imul(r,z0)|0,K=K+Math.imul(r,M0)|0;var m0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(m0>>>26)|0,m0&=67108863,U=Math.imul(Z0,T0),Q=Math.imul(Z0,D0),Q=Q+Math.imul(G0,T0)|0,K=Math.imul(G0,D0),U=U+Math.imul($0,C0)|0,Q=Q+Math.imul($0,L0)|0,Q=Q+Math.imul(Q0,C0)|0,K=K+Math.imul(Q0,L0)|0,U=U+Math.imul(o,R0)|0,Q=Q+Math.imul(o,P0)|0,Q=Q+Math.imul(a,R0)|0,K=K+Math.imul(a,P0)|0,U=U+Math.imul(i,z0)|0,Q=Q+Math.imul(i,M0)|0,Q=Q+Math.imul(e,z0)|0,K=K+Math.imul(e,M0)|0;var a0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(a0>>>26)|0,a0&=67108863,U=Math.imul(Z0,C0),Q=Math.imul(Z0,L0),Q=Q+Math.imul(G0,C0)|0,K=Math.imul(G0,L0),U=U+Math.imul($0,R0)|0,Q=Q+Math.imul($0,P0)|0,Q=Q+Math.imul(Q0,R0)|0,K=K+Math.imul(Q0,P0)|0,U=U+Math.imul(o,z0)|0,Q=Q+Math.imul(o,M0)|0,Q=Q+Math.imul(a,z0)|0,K=K+Math.imul(a,M0)|0;var e0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(e0>>>26)|0,e0&=67108863,U=Math.imul(Z0,R0),Q=Math.imul(Z0,P0),Q=Q+Math.imul(G0,R0)|0,K=Math.imul(G0,P0),U=U+Math.imul($0,z0)|0,Q=Q+Math.imul($0,M0)|0,Q=Q+Math.imul(Q0,z0)|0,K=K+Math.imul(Q0,M0)|0;var r0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(r0>>>26)|0,r0&=67108863,U=Math.imul(Z0,z0),Q=Math.imul(Z0,M0),Q=Q+Math.imul(G0,z0)|0,K=Math.imul(G0,M0);var i0=(O+U|0)+((Q&8191)<<13)|0;return O=(K+(Q>>>13)|0)+(i0>>>26)|0,i0&=67108863,I[0]=Q$,I[1]=j0,I[2]=k0,I[3]=f0,I[4]=c0,I[5]=h0,I[6]=d0,I[7]=b0,I[8]=l0,I[9]=o0,I[10]=u0,I[11]=n0,I[12]=s0,I[13]=t0,I[14]=m0,I[15]=a0,I[16]=e0,I[17]=r0,I[18]=i0,O!==0&&(I[19]=O,G.length++),G};Math.imul||(M=L);function v($,Y,G){G.negative=Y.negative^$.negative,G.length=$.length+Y.length;for(var Z=0,V=0,I=0;I<G.length-1;I++){var O=V;V=0;for(var U=Z&67108863,Q=Math.min(I,Y.length-1),K=Math.max(0,I-$.length+1);K<=Q;K++){var R=I-K,A=$.words[R]|0,S=Y.words[K]|0,x=A*S,B=x&67108863;O=O+(x/67108864|0)|0,B=B+U|0,U=B&67108863,O=O+(B>>>26)|0,V+=O>>>26,O&=67108863}G.words[I]=U,Z=O,O=V}return Z!==0?G.words[I]=Z:G.length--,G.strip()}function q($,Y,G){var Z=new g;return Z.mulp($,Y,G)}X.prototype.mulTo=function($,Y){var G,Z=this.length+$.length;return this.length===10&&$.length===10?G=M(this,$,Y):Z<63?G=L(this,$,Y):Z<1024?G=v(this,$,Y):G=q(this,$,Y),G};function g($,Y){this.x=$,this.y=Y}g.prototype.makeRBT=function($){for(var Y=new Array($),G=X.prototype._countBits($)-1,Z=0;Z<$;Z++)Y[Z]=this.revBin(Z,G,$);return Y},g.prototype.revBin=function($,Y,G){if($===0||$===G-1)return $;for(var Z=0,V=0;V<Y;V++)Z|=($&1)<<Y-V-1,$>>=1;return Z},g.prototype.permute=function($,Y,G,Z,V,I){for(var O=0;O<I;O++)Z[O]=Y[$[O]],V[O]=G[$[O]]},g.prototype.transform=function($,Y,G,Z,V,I){this.permute(I,$,Y,G,Z,V);for(var O=1;O<V;O<<=1)for(var U=O<<1,Q=Math.cos(2*Math.PI/U),K=Math.sin(2*Math.PI/U),R=0;R<V;R+=U)for(var A=Q,S=K,x=0;x<O;x++){var B=G[R+x],c=Z[R+x],q0=G[R+x+O],h=Z[R+x+O],d=A*q0-S*h;h=A*h+S*q0,q0=d,G[R+x]=B+q0,Z[R+x]=c+h,G[R+x+O]=B-q0,Z[R+x+O]=c-h,x!==U&&(d=Q*A-K*S,S=Q*S+K*A,A=d)}},g.prototype.guessLen13b=function($,Y){var G=Math.max(Y,$)|1,Z=G&1,V=0;for(G=G/2|0;G;G=G>>>1)V++;return 1<<V+1+Z},g.prototype.conjugate=function($,Y,G){if(!(G<=1))for(var Z=0;Z<G/2;Z++){var V=$[Z];$[Z]=$[G-Z-1],$[G-Z-1]=V,V=Y[Z],Y[Z]=-Y[G-Z-1],Y[G-Z-1]=-V}},g.prototype.normalize13b=function($,Y){for(var G=0,Z=0;Z<Y/2;Z++){var V=Math.round($[2*Z+1]/Y)*8192+Math.round($[2*Z]/Y)+G;$[Z]=V&67108863,V<67108864?G=0:G=V/67108864|0}return $},g.prototype.convert13b=function($,Y,G,Z){for(var V=0,I=0;I<Y;I++)V=V+($[I]|0),G[2*I]=V&8191,V=V>>>13,G[2*I+1]=V&8191,V=V>>>13;for(I=2*Y;I<Z;++I)G[I]=0;F(V===0),F((V&-8192)===0)},g.prototype.stub=function($){for(var Y=new Array($),G=0;G<$;G++)Y[G]=0;return Y},g.prototype.mulp=function($,Y,G){var Z=2*this.guessLen13b($.length,Y.length),V=this.makeRBT(Z),I=this.stub(Z),O=new Array(Z),U=new Array(Z),Q=new Array(Z),K=new Array(Z),R=new Array(Z),A=new Array(Z),S=G.words;S.length=Z,this.convert13b($.words,$.length,O,Z),this.convert13b(Y.words,Y.length,K,Z),this.transform(O,I,U,Q,Z,V),this.transform(K,I,R,A,Z,V);for(var x=0;x<Z;x++){var B=U[x]*R[x]-Q[x]*A[x];Q[x]=U[x]*A[x]+Q[x]*R[x],U[x]=B}return this.conjugate(U,Q,Z),this.transform(U,Q,S,I,Z,V),this.conjugate(S,I,Z),this.normalize13b(S,Z),G.negative=$.negative^Y.negative,G.length=$.length+Y.length,G.strip()},X.prototype.mul=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),this.mulTo($,Y)},X.prototype.mulf=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),q(this,$,Y)},X.prototype.imul=function($){return this.clone().mulTo($,this)},X.prototype.imuln=function($){F(typeof $=="number"),F($<67108864);for(var Y=0,G=0;G<this.length;G++){var Z=(this.words[G]|0)*$,V=(Z&67108863)+(Y&67108863);Y>>=26,Y+=Z/67108864|0,Y+=V>>>26,this.words[G]=V&67108863}return Y!==0&&(this.words[G]=Y,this.length++),this},X.prototype.muln=function($){return this.clone().imuln($)},X.prototype.sqr=function(){return this.mul(this)},X.prototype.isqr=function(){return this.imul(this.clone())},X.prototype.pow=function($){var Y=E($);if(Y.length===0)return new X(1);for(var G=this,Z=0;Z<Y.length&&Y[Z]===0;Z++,G=G.sqr());if(++Z<Y.length)for(var V=G.sqr();Z<Y.length;Z++,V=V.sqr())Y[Z]!==0&&(G=G.mul(V));return G},X.prototype.iushln=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=67108863>>>26-Y<<26-Y,V;if(Y!==0){var I=0;for(V=0;V<this.length;V++){var O=this.words[V]&Z,U=(this.words[V]|0)-O<<Y;this.words[V]=U|I,I=O>>>26-Y}I&&(this.words[V]=I,this.length++)}if(G!==0){for(V=this.length-1;V>=0;V--)this.words[V+G]=this.words[V];for(V=0;V<G;V++)this.words[V]=0;this.length+=G}return this.strip()},X.prototype.ishln=function($){return F(this.negative===0),this.iushln($)},X.prototype.iushrn=function($,Y,G){F(typeof $=="number"&&$>=0);var Z;Y?Z=(Y-Y%26)/26:Z=0;var V=$%26,I=Math.min(($-V)/26,this.length),O=67108863^67108863>>>V<<V,U=G;if(Z-=I,Z=Math.max(0,Z),U){for(var Q=0;Q<I;Q++)U.words[Q]=this.words[Q];U.length=I}if(I!==0)if(this.length>I)for(this.length-=I,Q=0;Q<this.length;Q++)this.words[Q]=this.words[Q+I];else this.words[0]=0,this.length=1;var K=0;for(Q=this.length-1;Q>=0&&(K!==0||Q>=Z);Q--){var R=this.words[Q]|0;this.words[Q]=K<<26-V|R>>>V,K=R&O}return U&&K!==0&&(U.words[U.length++]=K),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},X.prototype.ishrn=function($,Y,G){return F(this.negative===0),this.iushrn($,Y,G)},X.prototype.shln=function($){return this.clone().ishln($)},X.prototype.ushln=function($){return this.clone().iushln($)},X.prototype.shrn=function($){return this.clone().ishrn($)},X.prototype.ushrn=function($){return this.clone().iushrn($)},X.prototype.testn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return!1;var V=this.words[G];return!!(V&Z)},X.prototype.imaskn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26;if(F(this.negative===0,"imaskn works only with positive numbers"),this.length<=G)return this;if(Y!==0&&G++,this.length=Math.min(G,this.length),Y!==0){var Z=67108863^67108863>>>Y<<Y;this.words[this.length-1]&=Z}return this.strip()},X.prototype.maskn=function($){return this.clone().imaskn($)},X.prototype.iaddn=function($){return F(typeof $=="number"),F($<67108864),$<0?this.isubn(-$):this.negative!==0?this.length===1&&(this.words[0]|0)<$?(this.words[0]=$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn($),this.negative=1,this):this._iaddn($)},X.prototype._iaddn=function($){this.words[0]+=$;for(var Y=0;Y<this.length&&this.words[Y]>=67108864;Y++)this.words[Y]-=67108864,Y===this.length-1?this.words[Y+1]=1:this.words[Y+1]++;return this.length=Math.max(this.length,Y+1),this},X.prototype.isubn=function($){if(F(typeof $=="number"),F($<67108864),$<0)return this.iaddn(-$);if(this.negative!==0)return this.negative=0,this.iaddn($),this.negative=1,this;if(this.words[0]-=$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var Y=0;Y<this.length&&this.words[Y]<0;Y++)this.words[Y]+=67108864,this.words[Y+1]-=1;return this.strip()},X.prototype.addn=function($){return this.clone().iaddn($)},X.prototype.subn=function($){return this.clone().isubn($)},X.prototype.iabs=function(){return this.negative=0,this},X.prototype.abs=function(){return this.clone().iabs()},X.prototype._ishlnsubmul=function($,Y,G){var Z=$.length+G,V;this._expand(Z);var I,O=0;for(V=0;V<$.length;V++){I=(this.words[V+G]|0)+O;var U=($.words[V]|0)*Y;I-=U&67108863,O=(I>>26)-(U/67108864|0),this.words[V+G]=I&67108863}for(;V<this.length-G;V++)I=(this.words[V+G]|0)+O,O=I>>26,this.words[V+G]=I&67108863;if(O===0)return this.strip();for(F(O===-1),O=0,V=0;V<this.length;V++)I=-(this.words[V]|0)+O,O=I>>26,this.words[V]=I&67108863;return this.negative=1,this.strip()},X.prototype._wordDiv=function($,Y){var G=this.length-$.length,Z=this.clone(),V=$,I=V.words[V.length-1]|0,O=this._countBits(I);G=26-O,G!==0&&(V=V.ushln(G),Z.iushln(G),I=V.words[V.length-1]|0);var U=Z.length-V.length,Q;if(Y!=="mod"){Q=new X(null),Q.length=U+1,Q.words=new Array(Q.length);for(var K=0;K<Q.length;K++)Q.words[K]=0}var R=Z.clone()._ishlnsubmul(V,1,U);R.negative===0&&(Z=R,Q&&(Q.words[U]=1));for(var A=U-1;A>=0;A--){var S=(Z.words[V.length+A]|0)*67108864+(Z.words[V.length+A-1]|0);for(S=Math.min(S/I|0,67108863),Z._ishlnsubmul(V,S,A);Z.negative!==0;)S--,Z.negative=0,Z._ishlnsubmul(V,1,A),Z.isZero()||(Z.negative^=1);Q&&(Q.words[A]=S)}return Q&&Q.strip(),Z.strip(),Y!=="div"&&G!==0&&Z.iushrn(G),{div:Q||null,mod:Z}},X.prototype.divmod=function($,Y,G){if(F(!$.isZero()),this.isZero())return{div:new X(0),mod:new X(0)};var Z,V,I;return this.negative!==0&&$.negative===0?(I=this.neg().divmod($,Y),Y!=="mod"&&(Z=I.div.neg()),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.iadd($)),{div:Z,mod:V}):this.negative===0&&$.negative!==0?(I=this.divmod($.neg(),Y),Y!=="mod"&&(Z=I.div.neg()),{div:Z,mod:I.mod}):(this.negative&$.negative)!==0?(I=this.neg().divmod($.neg(),Y),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.isub($)),{div:I.div,mod:V}):$.length>this.length||this.cmp($)<0?{div:new X(0),mod:this}:$.length===1?Y==="div"?{div:this.divn($.words[0]),mod:null}:Y==="mod"?{div:null,mod:new X(this.modn($.words[0]))}:{div:this.divn($.words[0]),mod:new X(this.modn($.words[0]))}:this._wordDiv($,Y)},X.prototype.div=function($){return this.divmod($,"div",!1).div},X.prototype.mod=function($){return this.divmod($,"mod",!1).mod},X.prototype.umod=function($){return this.divmod($,"mod",!0).mod},X.prototype.divRound=function($){var Y=this.divmod($);if(Y.mod.isZero())return Y.div;var G=Y.div.negative!==0?Y.mod.isub($):Y.mod,Z=$.ushrn(1),V=$.andln(1),I=G.cmp(Z);return I<0||V===1&&I===0?Y.div:Y.div.negative!==0?Y.div.isubn(1):Y.div.iaddn(1)},X.prototype.modn=function($){F($<=67108863);for(var Y=(1<<26)%$,G=0,Z=this.length-1;Z>=0;Z--)G=(Y*G+(this.words[Z]|0))%$;return G},X.prototype.idivn=function($){F($<=67108863);for(var Y=0,G=this.length-1;G>=0;G--){var Z=(this.words[G]|0)+Y*67108864;this.words[G]=Z/$|0,Y=Z%$}return this.strip()},X.prototype.divn=function($){return this.clone().idivn($)},X.prototype.egcd=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=new X(0),O=new X(1),U=0;Y.isEven()&&G.isEven();)Y.iushrn(1),G.iushrn(1),++U;for(var Q=G.clone(),K=Y.clone();!Y.isZero();){for(var R=0,A=1;(Y.words[0]&A)===0&&R<26;++R,A<<=1);if(R>0)for(Y.iushrn(R);R-- >0;)(Z.isOdd()||V.isOdd())&&(Z.iadd(Q),V.isub(K)),Z.iushrn(1),V.iushrn(1);for(var S=0,x=1;(G.words[0]&x)===0&&S<26;++S,x<<=1);if(S>0)for(G.iushrn(S);S-- >0;)(I.isOdd()||O.isOdd())&&(I.iadd(Q),O.isub(K)),I.iushrn(1),O.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(I),V.isub(O)):(G.isub(Y),I.isub(Z),O.isub(V))}return{a:I,b:O,gcd:G.iushln(U)}},X.prototype._invmp=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=G.clone();Y.cmpn(1)>0&&G.cmpn(1)>0;){for(var O=0,U=1;(Y.words[0]&U)===0&&O<26;++O,U<<=1);if(O>0)for(Y.iushrn(O);O-- >0;)Z.isOdd()&&Z.iadd(I),Z.iushrn(1);for(var Q=0,K=1;(G.words[0]&K)===0&&Q<26;++Q,K<<=1);if(Q>0)for(G.iushrn(Q);Q-- >0;)V.isOdd()&&V.iadd(I),V.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(V)):(G.isub(Y),V.isub(Z))}var R;return Y.cmpn(1)===0?R=Z:R=V,R.cmpn(0)<0&&R.iadd($),R},X.prototype.gcd=function($){if(this.isZero())return $.abs();if($.isZero())return this.abs();var Y=this.clone(),G=$.clone();Y.negative=0,G.negative=0;for(var Z=0;Y.isEven()&&G.isEven();Z++)Y.iushrn(1),G.iushrn(1);do{for(;Y.isEven();)Y.iushrn(1);for(;G.isEven();)G.iushrn(1);var V=Y.cmp(G);if(V<0){var I=Y;Y=G,G=I}else if(V===0||G.cmpn(1)===0)break;Y.isub(G)}while(!0);return G.iushln(Z)},X.prototype.invm=function($){return this.egcd($).a.umod($)},X.prototype.isEven=function(){return(this.words[0]&1)===0},X.prototype.isOdd=function(){return(this.words[0]&1)===1},X.prototype.andln=function($){return this.words[0]&$},X.prototype.bincn=function($){F(typeof $=="number");var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return this._expand(G+1),this.words[G]|=Z,this;for(var V=Z,I=G;V!==0&&I<this.length;I++){var O=this.words[I]|0;O+=V,V=O>>>26,O&=67108863,this.words[I]=O}return V!==0&&(this.words[I]=V,this.length++),this},X.prototype.isZero=function(){return this.length===1&&this.words[0]===0},X.prototype.cmpn=function($){var Y=$<0;if(this.negative!==0&&!Y)return-1;if(this.negative===0&&Y)return 1;this.strip();var G;if(this.length>1)G=1;else{Y&&($=-$),F($<=67108863,"Number is too big");var Z=this.words[0]|0;G=Z===$?0:Z<$?-1:1}return this.negative!==0?-G|0:G},X.prototype.cmp=function($){if(this.negative!==0&&$.negative===0)return-1;if(this.negative===0&&$.negative!==0)return 1;var Y=this.ucmp($);return this.negative!==0?-Y|0:Y},X.prototype.ucmp=function($){if(this.length>$.length)return 1;if(this.length<$.length)return-1;for(var Y=0,G=this.length-1;G>=0;G--){var Z=this.words[G]|0,V=$.words[G]|0;if(Z!==V){Z<V?Y=-1:Z>V&&(Y=1);break}}return Y},X.prototype.gtn=function($){return this.cmpn($)===1},X.prototype.gt=function($){return this.cmp($)===1},X.prototype.gten=function($){return this.cmpn($)>=0},X.prototype.gte=function($){return this.cmp($)>=0},X.prototype.ltn=function($){return this.cmpn($)===-1},X.prototype.lt=function($){return this.cmp($)===-1},X.prototype.lten=function($){return this.cmpn($)<=0},X.prototype.lte=function($){return this.cmp($)<=0},X.prototype.eqn=function($){return this.cmpn($)===0},X.prototype.eq=function($){return this.cmp($)===0},X.red=function($){return new p($)},X.prototype.toRed=function($){return F(!this.red,"Already a number in reduction context"),F(this.negative===0,"red works only with positives"),$.convertTo(this)._forceRed($)},X.prototype.fromRed=function(){return F(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},X.prototype._forceRed=function($){return this.red=$,this},X.prototype.forceRed=function($){return F(!this.red,"Already a number in reduction context"),this._forceRed($)},X.prototype.redAdd=function($){return F(this.red,"redAdd works only with red numbers"),this.red.add(this,$)},X.prototype.redIAdd=function($){return F(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,$)},X.prototype.redSub=function($){return F(this.red,"redSub works only with red numbers"),this.red.sub(this,$)},X.prototype.redISub=function($){return F(this.red,"redISub works only with red numbers"),this.red.isub(this,$)},X.prototype.redShl=function($){return F(this.red,"redShl works only with red numbers"),this.red.shl(this,$)},X.prototype.redMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.mul(this,$)},X.prototype.redIMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.imul(this,$)},X.prototype.redSqr=function(){return F(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},X.prototype.redISqr=function(){return F(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},X.prototype.redSqrt=function(){return F(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},X.prototype.redInvm=function(){return F(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},X.prototype.redNeg=function(){return F(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},X.prototype.redPow=function($){return F(this.red&&!$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,$)};var y={k256:null,p224:null,p192:null,p25519:null};function w($,Y){this.name=$,this.p=new X(Y,16),this.n=this.p.bitLength(),this.k=new X(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}w.prototype._tmp=function(){var $=new X(null);return $.words=new Array(Math.ceil(this.n/13)),$},w.prototype.ireduce=function($){var Y=$,G;do this.split(Y,this.tmp),Y=this.imulK(Y),Y=Y.iadd(this.tmp),G=Y.bitLength();while(G>this.n);var Z=G<this.n?-1:Y.ucmp(this.p);return Z===0?(Y.words[0]=0,Y.length=1):Z>0?Y.isub(this.p):Y.strip!==void 0?Y.strip():Y._strip(),Y},w.prototype.split=function($,Y){$.iushrn(this.n,0,Y)},w.prototype.imulK=function($){return $.imul(this.k)};function f(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(f,w),f.prototype.split=function($,Y){for(var G=4194303,Z=Math.min($.length,9),V=0;V<Z;V++)Y.words[V]=$.words[V];if(Y.length=Z,$.length<=9){$.words[0]=0,$.length=1;return}var I=$.words[9];for(Y.words[Y.length++]=I&G,V=10;V<$.length;V++){var O=$.words[V]|0;$.words[V-10]=(O&G)<<4|I>>>22,I=O}I>>>=22,$.words[V-10]=I,I===0&&$.length>10?$.length-=10:$.length-=9},f.prototype.imulK=function($){$.words[$.length]=0,$.words[$.length+1]=0,$.length+=2;for(var Y=0,G=0;G<$.length;G++){var Z=$.words[G]|0;Y+=Z*977,$.words[G]=Y&67108863,Y=Z*64+(Y/67108864|0)}return $.words[$.length-1]===0&&($.length--,$.words[$.length-1]===0&&$.length--),$};function b(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(b,w);function u(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(u,w);function Y0(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(Y0,w),Y0.prototype.imulK=function($){for(var Y=0,G=0;G<$.length;G++){var Z=($.words[G]|0)*19+Y,V=Z&67108863;Z>>>=26,$.words[G]=V,Y=Z}return Y!==0&&($.words[$.length++]=Y),$},X._prime=function($){if(y[$])return y[$];var Y;if($==="k256")Y=new f;else if($==="p224")Y=new b;else if($==="p192")Y=new u;else if($==="p25519")Y=new Y0;else throw new Error("Unknown prime "+$);return y[$]=Y,Y};function p($){if(typeof $=="string"){var Y=X._prime($);this.m=Y.p,this.prime=Y}else F($.gtn(1),"modulus must be greater than 1"),this.m=$,this.prime=null}p.prototype._verify1=function($){F($.negative===0,"red works only with positives"),F($.red,"red works only with red numbers")},p.prototype._verify2=function($,Y){F(($.negative|Y.negative)===0,"red works only with positives"),F($.red&&$.red===Y.red,"red works only with red numbers")},p.prototype.imod=function($){return this.prime?this.prime.ireduce($)._forceRed(this):$.umod(this.m)._forceRed(this)},p.prototype.neg=function($){return $.isZero()?$.clone():this.m.sub($)._forceRed(this)},p.prototype.add=function($,Y){this._verify2($,Y);var G=$.add(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G._forceRed(this)},p.prototype.iadd=function($,Y){this._verify2($,Y);var G=$.iadd(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G},p.prototype.sub=function($,Y){this._verify2($,Y);var G=$.sub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G._forceRed(this)},p.prototype.isub=function($,Y){this._verify2($,Y);var G=$.isub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G},p.prototype.shl=function($,Y){return this._verify1($),this.imod($.ushln(Y))},p.prototype.imul=function($,Y){return this._verify2($,Y),this.imod($.imul(Y))},p.prototype.mul=function($,Y){return this._verify2($,Y),this.imod($.mul(Y))},p.prototype.isqr=function($){return this.imul($,$.clone())},p.prototype.sqr=function($){return this.mul($,$)},p.prototype.sqrt=function($){if($.isZero())return $.clone();var Y=this.m.andln(3);if(F(Y%2===1),Y===3){var G=this.m.add(new X(1)).iushrn(2);return this.pow($,G)}for(var Z=this.m.subn(1),V=0;!Z.isZero()&&Z.andln(1)===0;)V++,Z.iushrn(1);F(!Z.isZero());var I=new X(1).toRed(this),O=I.redNeg(),U=this.m.subn(1).iushrn(1),Q=this.m.bitLength();for(Q=new X(2*Q*Q).toRed(this);this.pow(Q,U).cmp(O)!==0;)Q.redIAdd(O);for(var K=this.pow(Q,Z),R=this.pow($,Z.addn(1).iushrn(1)),A=this.pow($,Z),S=V;A.cmp(I)!==0;){for(var x=A,B=0;x.cmp(I)!==0;B++)x=x.redSqr();F(B<S);var c=this.pow(K,new X(1).iushln(S-B-1));R=R.redMul(c),K=c.redSqr(),A=A.redMul(K),S=B}return R},p.prototype.invm=function($){var Y=$._invmp(this.m);return Y.negative!==0?(Y.negative=0,this.imod(Y).redNeg()):this.imod(Y)},p.prototype.pow=function($,Y){if(Y.isZero())return new X(1).toRed(this);if(Y.cmpn(1)===0)return $.clone();var G=4,Z=new Array(1<<G);Z[0]=new X(1).toRed(this),Z[1]=$;for(var V=2;V<Z.length;V++)Z[V]=this.mul(Z[V-1],$);var I=Z[0],O=0,U=0,Q=Y.bitLength()%26;for(Q===0&&(Q=26),V=Y.length-1;V>=0;V--){for(var K=Y.words[V],R=Q-1;R>=0;R--){var A=K>>R&1;if(I!==Z[0]&&(I=this.sqr(I)),A===0&&O===0){U=0;continue}O<<=1,O|=A,U++,!(U!==G&&(V!==0||R!==0))&&(I=this.mul(I,Z[O]),U=0,O=0)}Q=26}return I},p.prototype.convertTo=function($){var Y=$.umod(this.m);return Y===$?Y.clone():Y},p.prototype.convertFrom=function($){var Y=$.clone();return Y.red=null,Y},X.mont=function($){return new v0($)};function v0($){p.call(this,$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new X(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(v0,p),v0.prototype.convertTo=function($){return this.imod($.ushln(this.shift))},v0.prototype.convertFrom=function($){var Y=this.imod($.mul(this.rinv));return Y.red=null,Y},v0.prototype.imul=function($,Y){if($.isZero()||Y.isZero())return $.words[0]=0,$.length=1,$;var G=$.imul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.mul=function($,Y){if($.isZero()||Y.isZero())return new X(0)._forceRed(this);var G=$.mul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.invm=function($){var Y=this.imod($._invmp(this.m).mul(this.r2));return Y._forceRed(this)}})(typeof _>"u"||_,N)}}),o$=S0({"node_modules/safer-buffer/safer.js"(N,_){var k=r$,j=g0,F={},z;for(z in k)!k.hasOwnProperty(z)||z==="SlowBuffer"||z==="Buffer"||(F[z]=k[z]);var X=F.Buffer={};for(z in j)!j.hasOwnProperty(z)||z==="allocUnsafe"||z==="allocUnsafeSlow"||(X[z]=j[z]);if(F.Buffer.prototype=j.prototype,(!X.from||X.from===Uint8Array.from)&&(X.from=function(C,P,T){if(typeof C=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof C);if(C&&typeof C.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof C);return j(C,P,T)}),X.alloc||(X.alloc=function(C,P,T){if(typeof C!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof C);if(C<0||C>=2*(1<<30))throw new RangeError('The value "'+C+'" is invalid for option "size"');var W=j(C);return!P||P.length===0?W.fill(0):typeof T=="string"?W.fill(P,T):W.fill(P),W}),!F.kStringMaxLength)try{F.kStringMaxLength=lQ}catch{}F.constants||(F.constants={MAX_LENGTH:F.kMaxLength},F.kStringMaxLength&&(F.constants.MAX_STRING_LENGTH=F.kStringMaxLength)),_.exports=F}}),u$=S0({"node_modules/asn1.js/lib/asn1/base/reporter.js"(N){var _=B0();function k(F){this._reporterState={obj:null,path:[],options:F||{},errors:[]}}N.Reporter=k,k.prototype.isError=function(F){return F instanceof j},k.prototype.save=function(){let F=this._reporterState;return{obj:F.obj,pathLen:F.path.length}},k.prototype.restore=function(F){let z=this._reporterState;z.obj=F.obj,z.path=z.path.slice(0,F.pathLen)},k.prototype.enterKey=function(F){return this._reporterState.path.push(F)},k.prototype.exitKey=function(F){let z=this._reporterState;z.path=z.path.slice(0,F-1)},k.prototype.leaveKey=function(F,z,X){let C=this._reporterState;this.exitKey(F),C.obj!==null&&(C.obj[z]=X)},k.prototype.path=function(){return this._reporterState.path.join("/")},k.prototype.enterObject=function(){let F=this._reporterState,z=F.obj;return F.obj={},z},k.prototype.leaveObject=function(F){let z=this._reporterState,X=z.obj;return z.obj=F,X},k.prototype.error=function(F){let z,X=this._reporterState,C=F instanceof j;if(C?z=F:z=new j(X.path.map(function(P){return"["+JSON.stringify(P)+"]"}).join(""),F.message||F,F.stack),!X.options.partial)throw z;return C||X.errors.push(z),z},k.prototype.wrapResult=function(F){let z=this._reporterState;return z.options.partial?{result:this.isError(F)?null:F,errors:z.errors}:F};function j(F,z){this.path=F,this.rethrow(z)}_(j,Error),j.prototype.rethrow=function(F){if(this.message=F+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,j),!this.stack)try{throw new Error(this.message)}catch(z){this.stack=z.stack}return this}}}),P$=S0({"node_modules/asn1.js/lib/asn1/base/buffer.js"(N){var _=B0(),k=u$().Reporter,j=o$().Buffer;function F(X,C){if(k.call(this,C),!j.isBuffer(X)){this.error("Input not Buffer");return}this.base=X,this.offset=0,this.length=X.length}_(F,k),N.DecoderBuffer=F,F.isDecoderBuffer=function(X){return X instanceof F?!0:typeof X=="object"&&j.isBuffer(X.base)&&X.constructor.name==="DecoderBuffer"&&typeof X.offset=="number"&&typeof X.length=="number"&&typeof X.save=="function"&&typeof X.restore=="function"&&typeof X.isEmpty=="function"&&typeof X.readUInt8=="function"&&typeof X.skip=="function"&&typeof X.raw=="function"},F.prototype.save=function(){return{offset:this.offset,reporter:k.prototype.save.call(this)}},F.prototype.restore=function(X){let C=new F(this.base);return C.offset=X.offset,C.length=this.offset,this.offset=X.offset,k.prototype.restore.call(this,X.reporter),C},F.prototype.isEmpty=function(){return this.offset===this.length},F.prototype.readUInt8=function(X){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(X||"DecoderBuffer overrun")},F.prototype.skip=function(X,C){if(!(this.offset+X<=this.length))return this.error(C||"DecoderBuffer overrun");let P=new F(this.base);return P._reporterState=this._reporterState,P.offset=this.offset,P.length=this.offset+X,this.offset+=X,P},F.prototype.raw=function(X){return this.base.slice(X?X.offset:this.offset,this.length)};function z(X,C){if(Array.isArray(X))this.length=0,this.value=X.map(function(P){return z.isEncoderBuffer(P)||(P=new z(P,C)),this.length+=P.length,P},this);else if(typeof X=="number"){if(!(0<=X&&X<=255))return C.error("non-byte EncoderBuffer value");this.value=X,this.length=1}else if(typeof X=="string")this.value=X,this.length=j.byteLength(X);else if(j.isBuffer(X))this.value=X,this.length=X.length;else return C.error("Unsupported type: "+typeof X)}N.EncoderBuffer=z,z.isEncoderBuffer=function(X){return X instanceof z?!0:typeof X=="object"&&X.constructor.name==="EncoderBuffer"&&typeof X.length=="number"&&typeof X.join=="function"},z.prototype.join=function(X,C){return X||(X=j.alloc(this.length)),C||(C=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(P){P.join(X,C),C+=P.length}):(typeof this.value=="number"?X[C]=this.value:typeof this.value=="string"?X.write(this.value,C):j.isBuffer(this.value)&&this.value.copy(X,C),C+=this.length)),X}}}),n$=S0({"node_modules/asn1.js/lib/asn1/base/node.js"(N,_){var k=u$().Reporter,j=P$().EncoderBuffer,F=P$().DecoderBuffer,z=W$(),X=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],C=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(X),P=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function T(J,H,D){let E={};this._baseState=E,E.name=D,E.enc=J,E.parent=H||null,E.children=null,E.tag=null,E.args=null,E.reverseArgs=null,E.choice=null,E.optional=!1,E.any=!1,E.obj=!1,E.use=null,E.useDecoder=null,E.key=null,E.default=null,E.explicit=null,E.implicit=null,E.contains=null,E.parent||(E.children=[],this._wrap())}_.exports=T;var W=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];T.prototype.clone=function(){let J=this._baseState,H={};W.forEach(function(E){H[E]=J[E]});let D=new this.constructor(H.parent);return D._baseState=H,D},T.prototype._wrap=function(){let J=this._baseState;C.forEach(function(H){this[H]=function(){let D=new this.constructor(this);return J.children.push(D),D[H].apply(D,arguments)}},this)},T.prototype._init=function(J){let H=this._baseState;z(H.parent===null),J.call(this),H.children=H.children.filter(function(D){return D._baseState.parent===this},this),z.equal(H.children.length,1,"Root node can have only one child")},T.prototype._useArgs=function(J){let H=this._baseState,D=J.filter(function(E){return E instanceof this.constructor},this);J=J.filter(function(E){return!(E instanceof this.constructor)},this),D.length!==0&&(z(H.children===null),H.children=D,D.forEach(function(E){E._baseState.parent=this},this)),J.length!==0&&(z(H.args===null),H.args=J,H.reverseArgs=J.map(function(E){if(typeof E!="object"||E.constructor!==Object)return E;let L={};return Object.keys(E).forEach(function(M){M==(M|0)&&(M|=0);let v=E[M];L[v]=M}),L}))},P.forEach(function(J){T.prototype[J]=function(){let H=this._baseState;throw new Error(J+" not implemented for encoding: "+H.enc)}}),X.forEach(function(J){T.prototype[J]=function(){let H=this._baseState,D=Array.prototype.slice.call(arguments);return z(H.tag===null),H.tag=J,this._useArgs(D),this}}),T.prototype.use=function(J){z(J);let H=this._baseState;return z(H.use===null),H.use=J,this},T.prototype.optional=function(){let J=this._baseState;return J.optional=!0,this},T.prototype.def=function(J){let H=this._baseState;return z(H.default===null),H.default=J,H.optional=!0,this},T.prototype.explicit=function(J){let H=this._baseState;return z(H.explicit===null&&H.implicit===null),H.explicit=J,this},T.prototype.implicit=function(J){let H=this._baseState;return z(H.explicit===null&&H.implicit===null),H.implicit=J,this},T.prototype.obj=function(){let J=this._baseState,H=Array.prototype.slice.call(arguments);return J.obj=!0,H.length!==0&&this._useArgs(H),this},T.prototype.key=function(J){let H=this._baseState;return z(H.key===null),H.key=J,this},T.prototype.any=function(){let J=this._baseState;return J.any=!0,this},T.prototype.choice=function(J){let H=this._baseState;return z(H.choice===null),H.choice=J,this._useArgs(Object.keys(J).map(function(D){return J[D]})),this},T.prototype.contains=function(J){let H=this._baseState;return z(H.use===null),H.contains=J,this},T.prototype._decode=function(J,H){let D=this._baseState;if(D.parent===null)return J.wrapResult(D.children[0]._decode(J,H));let E=D.default,L=!0,M=null;if(D.key!==null&&(M=J.enterKey(D.key)),D.optional){let q=null;if(D.explicit!==null?q=D.explicit:D.implicit!==null?q=D.implicit:D.tag!==null&&(q=D.tag),q===null&&!D.any){let g=J.save();try{D.choice===null?this._decodeGeneric(D.tag,J,H):this._decodeChoice(J,H),L=!0}catch{L=!1}J.restore(g)}else if(L=this._peekTag(J,q,D.any),J.isError(L))return L}let v;if(D.obj&&L&&(v=J.enterObject()),L){if(D.explicit!==null){let g=this._decodeTag(J,D.explicit);if(J.isError(g))return g;J=g}let q=J.offset;if(D.use===null&&D.choice===null){let g;D.any&&(g=J.save());let y=this._decodeTag(J,D.implicit!==null?D.implicit:D.tag,D.any);if(J.isError(y))return y;D.any?E=J.raw(g):J=y}if(H&&H.track&&D.tag!==null&&H.track(J.path(),q,J.length,"tagged"),H&&H.track&&D.tag!==null&&H.track(J.path(),J.offset,J.length,"content"),D.any||(D.choice===null?E=this._decodeGeneric(D.tag,J,H):E=this._decodeChoice(J,H)),J.isError(E))return E;if(!D.any&&D.choice===null&&D.children!==null&&D.children.forEach(function(g){g._decode(J,H)}),D.contains&&(D.tag==="octstr"||D.tag==="bitstr")){let g=new F(E);E=this._getUse(D.contains,J._reporterState.obj)._decode(g,H)}}return D.obj&&L&&(E=J.leaveObject(v)),D.key!==null&&(E!==null||L===!0)?J.leaveKey(M,D.key,E):M!==null&&J.exitKey(M),E},T.prototype._decodeGeneric=function(J,H,D){let E=this._baseState;return J==="seq"||J==="set"?null:J==="seqof"||J==="setof"?this._decodeList(H,J,E.args[0],D):/str$/.test(J)?this._decodeStr(H,J,D):J==="objid"&&E.args?this._decodeObjid(H,E.args[0],E.args[1],D):J==="objid"?this._decodeObjid(H,null,null,D):J==="gentime"||J==="utctime"?this._decodeTime(H,J,D):J==="null_"?this._decodeNull(H,D):J==="bool"?this._decodeBool(H,D):J==="objDesc"?this._decodeStr(H,J,D):J==="int"||J==="enum"?this._decodeInt(H,E.args&&E.args[0],D):E.use!==null?this._getUse(E.use,H._reporterState.obj)._decode(H,D):H.error("unknown tag: "+J)},T.prototype._getUse=function(J,H){let D=this._baseState;return D.useDecoder=this._use(J,H),z(D.useDecoder._baseState.parent===null),D.useDecoder=D.useDecoder._baseState.children[0],D.implicit!==D.useDecoder._baseState.implicit&&(D.useDecoder=D.useDecoder.clone(),D.useDecoder._baseState.implicit=D.implicit),D.useDecoder},T.prototype._decodeChoice=function(J,H){let D=this._baseState,E=null,L=!1;return Object.keys(D.choice).some(function(M){let v=J.save(),q=D.choice[M];try{let g=q._decode(J,H);if(J.isError(g))return!1;E={type:M,value:g},L=!0}catch{return J.restore(v),!1}return!0},this),L?E:J.error("Choice not matched")},T.prototype._createEncoderBuffer=function(J){return new j(J,this.reporter)},T.prototype._encode=function(J,H,D){let E=this._baseState;if(E.default!==null&&E.default===J)return;let L=this._encodeValue(J,H,D);if(L!==void 0&&!this._skipDefault(L,H,D))return L},T.prototype._encodeValue=function(J,H,D){let E=this._baseState;if(E.parent===null)return E.children[0]._encode(J,H||new k);let L=null;if(this.reporter=H,E.optional&&J===void 0)if(E.default!==null)J=E.default;else return;let M=null,v=!1;if(E.any)L=this._createEncoderBuffer(J);else if(E.choice)L=this._encodeChoice(J,H);else if(E.contains)M=this._getUse(E.contains,D)._encode(J,H),v=!0;else if(E.children)M=E.children.map(function(q){if(q._baseState.tag==="null_")return q._encode(null,H,J);if(q._baseState.key===null)return H.error("Child should have a key");let g=H.enterKey(q._baseState.key);if(typeof J!="object")return H.error("Child expected, but input is not object");let y=q._encode(J[q._baseState.key],H,J);return H.leaveKey(g),y},this).filter(function(q){return q}),M=this._createEncoderBuffer(M);else if(E.tag==="seqof"||E.tag==="setof"){if(!(E.args&&E.args.length===1))return H.error("Too many args for : "+E.tag);if(!Array.isArray(J))return H.error("seqof/setof, but data is not Array");let q=this.clone();q._baseState.implicit=null,M=this._createEncoderBuffer(J.map(function(g){let y=this._baseState;return this._getUse(y.args[0],J)._encode(g,H)},q))}else E.use!==null?L=this._getUse(E.use,D)._encode(J,H):(M=this._encodePrimitive(E.tag,J),v=!0);if(!E.any&&E.choice===null){let q=E.implicit!==null?E.implicit:E.tag,g=E.implicit===null?"universal":"context";q===null?E.use===null&&H.error("Tag could be omitted only for .use()"):E.use===null&&(L=this._encodeComposite(q,v,g,M))}return E.explicit!==null&&(L=this._encodeComposite(E.explicit,!1,"context",L)),L},T.prototype._encodeChoice=function(J,H){let D=this._baseState,E=D.choice[J.type];return E||z(!1,J.type+" not found in "+JSON.stringify(Object.keys(D.choice))),E._encode(J.value,H)},T.prototype._encodePrimitive=function(J,H){let D=this._baseState;if(/str$/.test(J))return this._encodeStr(H,J);if(J==="objid"&&D.args)return this._encodeObjid(H,D.reverseArgs[0],D.args[1]);if(J==="objid")return this._encodeObjid(H,null,null);if(J==="gentime"||J==="utctime")return this._encodeTime(H,J);if(J==="null_")return this._encodeNull();if(J==="int"||J==="enum")return this._encodeInt(H,D.args&&D.reverseArgs[0]);if(J==="bool")return this._encodeBool(H);if(J==="objDesc")return this._encodeStr(H,J);throw new Error("Unsupported tag: "+J)},T.prototype._isNumstr=function(J){return/^[0-9 ]*$/.test(J)},T.prototype._isPrintstr=function(J){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(J)}}}),s$=S0({"node_modules/asn1.js/lib/asn1/constants/der.js"(N){function _(k){let j={};return Object.keys(k).forEach(function(F){(F|0)==F&&(F=F|0);let z=k[F];j[z]=F}),j}N.tagClass={0:"universal",1:"application",2:"context",3:"private"},N.tagClassByName=_(N.tagClass),N.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},N.tagByName=_(N.tag)}}),kQ=S0({"node_modules/asn1.js/lib/asn1/encoders/der.js"(N,_){var k=B0(),j=o$().Buffer,F=n$(),z=s$();function X(W){this.enc="der",this.name=W.name,this.entity=W,this.tree=new C,this.tree._init(W.body)}_.exports=X,X.prototype.encode=function(W,J){return this.tree._encode(W,J).join()};function C(W){F.call(this,"der",W)}k(C,F),C.prototype._encodeComposite=function(W,J,H,D){let E=T(W,J,H,this.reporter);if(D.length<128){let v=j.alloc(2);return v[0]=E,v[1]=D.length,this._createEncoderBuffer([v,D])}let L=1;for(let v=D.length;v>=256;v>>=8)L++;let M=j.alloc(2+L);M[0]=E,M[1]=128|L;for(let v=1+L,q=D.length;q>0;v--,q>>=8)M[v]=q&255;return this._createEncoderBuffer([M,D])},C.prototype._encodeStr=function(W,J){if(J==="bitstr")return this._createEncoderBuffer([W.unused|0,W.data]);if(J==="bmpstr"){let H=j.alloc(W.length*2);for(let D=0;D<W.length;D++)H.writeUInt16BE(W.charCodeAt(D),D*2);return this._createEncoderBuffer(H)}else return J==="numstr"?this._isNumstr(W)?this._createEncoderBuffer(W):this.reporter.error("Encoding of string type: numstr supports only digits and space"):J==="printstr"?this._isPrintstr(W)?this._createEncoderBuffer(W):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(J)?this._createEncoderBuffer(W):J==="objDesc"?this._createEncoderBuffer(W):this.reporter.error("Encoding of string type: "+J+" unsupported")},C.prototype._encodeObjid=function(W,J,H){if(typeof W=="string"){if(!J)return this.reporter.error("string objid given, but no values map found");if(!J.hasOwnProperty(W))return this.reporter.error("objid not found in values map");W=J[W].split(/[\s.]+/g);for(let M=0;M<W.length;M++)W[M]|=0}else if(Array.isArray(W)){W=W.slice();for(let M=0;M<W.length;M++)W[M]|=0}if(!Array.isArray(W))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(W));if(!H){if(W[1]>=40)return this.reporter.error("Second objid identifier OOB");W.splice(0,2,W[0]*40+W[1])}let D=0;for(let M=0;M<W.length;M++){let v=W[M];for(D++;v>=128;v>>=7)D++}let E=j.alloc(D),L=E.length-1;for(let M=W.length-1;M>=0;M--){let v=W[M];for(E[L--]=v&127;(v>>=7)>0;)E[L--]=128|v&127}return this._createEncoderBuffer(E)};function P(W){return W<10?"0"+W:W}C.prototype._encodeTime=function(W,J){let H,D=new Date(W);return J==="gentime"?H=[P(D.getUTCFullYear()),P(D.getUTCMonth()+1),P(D.getUTCDate()),P(D.getUTCHours()),P(D.getUTCMinutes()),P(D.getUTCSeconds()),"Z"].join(""):J==="utctime"?H=[P(D.getUTCFullYear()%100),P(D.getUTCMonth()+1),P(D.getUTCDate()),P(D.getUTCHours()),P(D.getUTCMinutes()),P(D.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+J+" time is not supported yet"),this._encodeStr(H,"octstr")},C.prototype._encodeNull=function(){return this._createEncoderBuffer("")},C.prototype._encodeInt=function(W,J){if(typeof W=="string"){if(!J)return this.reporter.error("String int or enum given, but no values map");if(!J.hasOwnProperty(W))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(W));W=J[W]}if(typeof W!="number"&&!j.isBuffer(W)){let E=W.toArray();!W.sign&&E[0]&128&&E.unshift(0),W=j.from(E)}if(j.isBuffer(W)){let E=W.length;W.length===0&&E++;let L=j.alloc(E);return W.copy(L),W.length===0&&(L[0]=0),this._createEncoderBuffer(L)}if(W<128)return this._createEncoderBuffer(W);if(W<256)return this._createEncoderBuffer([0,W]);let H=1;for(let E=W;E>=256;E>>=8)H++;let D=new Array(H);for(let E=D.length-1;E>=0;E--)D[E]=W&255,W>>=8;return D[0]&128&&D.unshift(0),this._createEncoderBuffer(j.from(D))},C.prototype._encodeBool=function(W){return this._createEncoderBuffer(W?255:0)},C.prototype._use=function(W,J){return typeof W=="function"&&(W=W(J)),W._getEncoder("der").tree},C.prototype._skipDefault=function(W,J,H){let D=this._baseState,E;if(D.default===null)return!1;let L=W.join();if(D.defaultBuffer===void 0&&(D.defaultBuffer=this._encodeValue(D.default,J,H).join()),L.length!==D.defaultBuffer.length)return!1;for(E=0;E<L.length;E++)if(L[E]!==D.defaultBuffer[E])return!1;return!0};function T(W,J,H,D){let E;if(W==="seqof"?W="seq":W==="setof"&&(W="set"),z.tagByName.hasOwnProperty(W))E=z.tagByName[W];else if(typeof W=="number"&&(W|0)===W)E=W;else return D.error("Unknown tag: "+W);return E>=31?D.error("Multi-octet tag encoding unsupported"):(J||(E|=32),E|=z.tagClassByName[H||"universal"]<<6,E)}}}),yY=S0({"node_modules/asn1.js/lib/asn1/encoders/pem.js"(N,_){var k=B0(),j=kQ();function F(z){j.call(this,z),this.enc="pem"}k(F,j),_.exports=F,F.prototype.encode=function(z,X){let C=j.prototype.encode.call(this,z).toString("base64"),P=["-----BEGIN "+X.label+"-----"];for(let T=0;T<C.length;T+=64)P.push(C.slice(T,T+64));return P.push("-----END "+X.label+"-----"),P.join(`
-`)}}}),gQ=S0({"node_modules/asn1.js/lib/asn1/encoders/index.js"(N){var _=N;_.der=kQ(),_.pem=yY()}}),_Q=S0({"node_modules/asn1.js/lib/asn1/decoders/der.js"(N,_){var k=B0(),j=jQ(),F=P$().DecoderBuffer,z=n$(),X=s$();function C(J){this.enc="der",this.name=J.name,this.entity=J,this.tree=new P,this.tree._init(J.body)}_.exports=C,C.prototype.decode=function(J,H){return F.isDecoderBuffer(J)||(J=new F(J,H)),this.tree._decode(J,H)};function P(J){z.call(this,"der",J)}k(P,z),P.prototype._peekTag=function(J,H,D){if(J.isEmpty())return!1;let E=J.save(),L=T(J,'Failed to peek tag: "'+H+'"');return J.isError(L)?L:(J.restore(E),L.tag===H||L.tagStr===H||L.tagStr+"of"===H||D)},P.prototype._decodeTag=function(J,H,D){let E=T(J,'Failed to decode tag of "'+H+'"');if(J.isError(E))return E;let L=W(J,E.primitive,'Failed to get length of "'+H+'"');if(J.isError(L))return L;if(!D&&E.tag!==H&&E.tagStr!==H&&E.tagStr+"of"!==H)return J.error('Failed to match tag: "'+H+'"');if(E.primitive||L!==null)return J.skip(L,'Failed to match body of: "'+H+'"');let M=J.save(),v=this._skipUntilEnd(J,'Failed to skip indefinite length body: "'+this.tag+'"');return J.isError(v)?v:(L=J.offset-M.offset,J.restore(M),J.skip(L,'Failed to match body of: "'+H+'"'))},P.prototype._skipUntilEnd=function(J,H){for(;;){let D=T(J,H);if(J.isError(D))return D;let E=W(J,D.primitive,H);if(J.isError(E))return E;let L;if(D.primitive||E!==null?L=J.skip(E):L=this._skipUntilEnd(J,H),J.isError(L))return L;if(D.tagStr==="end")break}},P.prototype._decodeList=function(J,H,D,E){let L=[];for(;!J.isEmpty();){let M=this._peekTag(J,"end");if(J.isError(M))return M;let v=D.decode(J,"der",E);if(J.isError(v)&&M)break;L.push(v)}return L},P.prototype._decodeStr=function(J,H){if(H==="bitstr"){let D=J.readUInt8();return J.isError(D)?D:{unused:D,data:J.raw()}}else if(H==="bmpstr"){let D=J.raw();if(D.length%2===1)return J.error("Decoding of string type: bmpstr length mismatch");let E="";for(let L=0;L<D.length/2;L++)E+=String.fromCharCode(D.readUInt16BE(L*2));return E}else if(H==="numstr"){let D=J.raw().toString("ascii");return this._isNumstr(D)?D:J.error("Decoding of string type: numstr unsupported characters")}else{if(H==="octstr")return J.raw();if(H==="objDesc")return J.raw();if(H==="printstr"){let D=J.raw().toString("ascii");return this._isPrintstr(D)?D:J.error("Decoding of string type: printstr unsupported characters")}else return/str$/.test(H)?J.raw().toString():J.error("Decoding of string type: "+H+" unsupported")}},P.prototype._decodeObjid=function(J,H,D){let E,L=[],M=0,v=0;for(;!J.isEmpty();)v=J.readUInt8(),M<<=7,M|=v&127,(v&128)===0&&(L.push(M),M=0);v&128&&L.push(M);let q=L[0]/40|0,g=L[0]%40;if(D?E=L:E=[q,g].concat(L.slice(1)),H){let y=H[E.join(" ")];y===void 0&&(y=H[E.join(".")]),y!==void 0&&(E=y)}return E},P.prototype._decodeTime=function(J,H){let D=J.raw().toString(),E,L,M,v,q,g;if(H==="gentime")E=D.slice(0,4)|0,L=D.slice(4,6)|0,M=D.slice(6,8)|0,v=D.slice(8,10)|0,q=D.slice(10,12)|0,g=D.slice(12,14)|0;else if(H==="utctime")E=D.slice(0,2)|0,L=D.slice(2,4)|0,M=D.slice(4,6)|0,v=D.slice(6,8)|0,q=D.slice(8,10)|0,g=D.slice(10,12)|0,E<70?E=2000+E:E=1900+E;else return J.error("Decoding "+H+" time is not supported yet");return Date.UTC(E,L-1,M,v,q,g,0)},P.prototype._decodeNull=function(){return null},P.prototype._decodeBool=function(J){let H=J.readUInt8();return J.isError(H)?H:H!==0},P.prototype._decodeInt=function(J,H){let D=J.raw(),E=new j(D);return H&&(E=H[E.toString(10)]||E),E},P.prototype._use=function(J,H){return typeof J=="function"&&(J=J(H)),J._getDecoder("der").tree};function T(J,H){let D=J.readUInt8(H);if(J.isError(D))return D;let E=X.tagClass[D>>6],L=(D&32)===0;if((D&31)===31){let v=D;for(D=0;(v&128)===128;){if(v=J.readUInt8(H),J.isError(v))return v;D<<=7,D|=v&127}}else D&=31;let M=X.tag[D];return{cls:E,primitive:L,tag:D,tagStr:M}}function W(J,H,D){let E=J.readUInt8(D);if(J.isError(E))return E;if(!H&&E===128)return null;if((E&128)===0)return E;let L=E&127;if(L>4)return J.error("length octect is too long");E=0;for(let M=0;M<L;M++){E<<=8;let v=J.readUInt8(D);if(J.isError(v))return v;E|=v}return E}}}),wY=S0({"node_modules/asn1.js/lib/asn1/decoders/pem.js"(N,_){var k=B0(),j=o$().Buffer,F=_Q();function z(X){F.call(this,X),this.enc="pem"}k(z,F),_.exports=z,z.prototype.decode=function(X,C){let P=X.toString().split(/[\r\n]+/g),T=C.label.toUpperCase(),W=/^-----(BEGIN|END) ([^-]+)-----$/,J=-1,H=-1;for(let L=0;L<P.length;L++){let M=P[L].match(W);if(M!==null&&M[2]===T)if(J===-1){if(M[1]!=="BEGIN")break;J=L}else{if(M[1]!=="END")break;H=L;break}}if(J===-1||H===-1)throw new Error("PEM section not found for: "+T);let D=P.slice(J+1,H).join("");D.replace(/[^a-z0-9+/=]+/gi,"");let E=j.from(D,"base64");return F.prototype.decode.call(this,E,C)}}}),NQ=S0({"node_modules/asn1.js/lib/asn1/decoders/index.js"(N){var _=N;_.der=_Q(),_.pem=wY()}}),pY=S0({"node_modules/asn1.js/lib/asn1/api.js"(N){var _=gQ(),k=NQ(),j=B0(),F=N;F.define=function(X,C){return new z(X,C)};function z(X,C){this.name=X,this.body=C,this.decoders={},this.encoders={}}z.prototype._createNamed=function(X){let C=this.name;function P(T){this._initNamed(T,C)}return j(P,X),P.prototype._initNamed=function(T,W){X.call(this,T,W)},new P(this)},z.prototype._getDecoder=function(X){return X=X||"der",this.decoders.hasOwnProperty(X)||(this.decoders[X]=this._createNamed(k[X])),this.decoders[X]},z.prototype.decode=function(X,C,P){return this._getDecoder(C).decode(X,P)},z.prototype._getEncoder=function(X){return X=X||"der",this.encoders.hasOwnProperty(X)||(this.encoders[X]=this._createNamed(_[X])),this.encoders[X]},z.prototype.encode=function(X,C,P){return this._getEncoder(C).encode(X,P)}}}),fY=S0({"node_modules/asn1.js/lib/asn1/base/index.js"(N){var _=N;_.Reporter=u$().Reporter,_.DecoderBuffer=P$().DecoderBuffer,_.EncoderBuffer=P$().EncoderBuffer,_.Node=n$()}}),cY=S0({"node_modules/asn1.js/lib/asn1/constants/index.js"(N){var _=N;_._reverse=function(k){let j={};return Object.keys(k).forEach(function(F){(F|0)==F&&(F=F|0);let z=k[F];j[z]=F}),j},_.der=s$()}}),xQ=S0({"node_modules/asn1.js/lib/asn1.js"(N){var _=N;_.bignum=jQ(),_.define=pY().define,_.base=fY(),_.constants=cY(),_.decoders=NQ(),_.encoders=gQ()}}),hY=S0({"node_modules/parse-asn1/certificate.js"(N,_){var k=xQ(),j=k.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),F=k.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),z=k.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),X=k.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(z),this.key("subjectPublicKey").bitstr())}),C=k.define("RelativeDistinguishedName",function(){this.setof(F)}),P=k.define("RDNSequence",function(){this.seqof(C)}),T=k.define("Name",function(){this.choice({rdnSequence:this.use(P)})}),W=k.define("Validity",function(){this.seq().obj(this.key("notBefore").use(j),this.key("notAfter").use(j))}),J=k.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),H=k.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(z),this.key("issuer").use(T),this.key("validity").use(W),this.key("subject").use(T),this.key("subjectPublicKeyInfo").use(X),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(J).optional())}),D=k.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(H),this.key("signatureAlgorithm").use(z),this.key("signatureValue").bitstr())});_.exports=D}}),dY=S0({"node_modules/parse-asn1/asn1.js"(N){var _=xQ();N.certificate=hY();var k=_.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});N.RSAPrivateKey=k;var j=_.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});N.RSAPublicKey=j;var F=_.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(z),this.key("subjectPublicKey").bitstr())});N.PublicKey=F;var z=_.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),X=_.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(z),this.key("subjectPrivateKey").octstr())});N.PrivateKey=X;var C=_.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});N.EncryptedPrivateKey=C;var P=_.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});N.DSAPrivateKey=P,N.DSAparam=_.define("DSAparam",function(){this.int()});var T=_.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(W),this.key("publicKey").optional().explicit(1).bitstr())});N.ECPrivateKey=T;var W=_.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});N.signature=_.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}}),bY=S0({"node_modules/parse-asn1/aesid.json"(N,_){_.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}}}),lY=S0({"node_modules/parse-asn1/fixProc.js"(N,_){var k=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,j=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,F=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,z=j$(),X=p$(),C=N0().Buffer;_.exports=function(P,T){var W=P.toString(),J=W.match(k),H;if(J){var D="aes"+J[1],E=C.from(J[2],"hex"),L=C.from(J[3].replace(/[\r\n]/g,""),"base64"),M=z(T,E.slice(0,8),parseInt(J[1],10)).key,v=[],q=X.createDecipheriv(D,M,E);v.push(q.update(L)),v.push(q.final()),H=C.concat(v)}else{var g=W.match(F);H=C.from(g[2].replace(/[\r\n]/g,""),"base64")}var y=W.match(j)[1];return{tag:y,data:H}}}}),g$=S0({"node_modules/parse-asn1/index.js"(N,_){var k=dY(),j=bY(),F=lY(),z=p$(),X=AQ(),C=N0().Buffer;_.exports=P;function P(W){var J;typeof W=="object"&&!C.isBuffer(W)&&(J=W.passphrase,W=W.key),typeof W=="string"&&(W=C.from(W));var H=F(W,J),D=H.tag,E=H.data,L,M;switch(D){case"CERTIFICATE":M=k.certificate.decode(E,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(M||(M=k.PublicKey.decode(E,"der")),L=M.algorithm.algorithm.join("."),L){case"1.2.840.113549.1.1.1":return k.RSAPublicKey.decode(M.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return M.subjectPrivateKey=M.subjectPublicKey,{type:"ec",data:M};case"1.2.840.10040.4.1":return M.algorithm.params.pub_key=k.DSAparam.decode(M.subjectPublicKey.data,"der"),{type:"dsa",data:M.algorithm.params};default:throw new Error("unknown key id "+L)}case"ENCRYPTED PRIVATE KEY":E=k.EncryptedPrivateKey.decode(E,"der"),E=T(E,J);case"PRIVATE KEY":switch(M=k.PrivateKey.decode(E,"der"),L=M.algorithm.algorithm.join("."),L){case"1.2.840.113549.1.1.1":return k.RSAPrivateKey.decode(M.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:M.algorithm.curve,privateKey:k.ECPrivateKey.decode(M.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return M.algorithm.params.priv_key=k.DSAparam.decode(M.subjectPrivateKey,"der"),{type:"dsa",params:M.algorithm.params};default:throw new Error("unknown key id "+L)}case"RSA PUBLIC KEY":return k.RSAPublicKey.decode(E,"der");case"RSA PRIVATE KEY":return k.RSAPrivateKey.decode(E,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:k.DSAPrivateKey.decode(E,"der")};case"EC PRIVATE KEY":return E=k.ECPrivateKey.decode(E,"der"),{curve:E.parameters.value,privateKey:E.privateKey};default:throw new Error("unknown key type "+D)}}P.signature=k.signature;function T(W,J){var H=W.algorithm.decrypt.kde.kdeparams.salt,D=parseInt(W.algorithm.decrypt.kde.kdeparams.iters.toString(),10),E=j[W.algorithm.decrypt.cipher.algo.join(".")],L=W.algorithm.decrypt.cipher.iv,M=W.subjectPrivateKey,v=parseInt(E.split("-")[1],10)/8,q=X.pbkdf2Sync(J,H,D,v,"sha1"),g=z.createDecipheriv(E,q,L),y=[];return y.push(g.update(M)),y.push(g.final()),C.concat(y)}}}),BQ=S0({"node_modules/browserify-sign/browser/curves.json"(N,_){_.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}}}),oY=S0({"node_modules/browserify-sign/browser/sign.js"(N,_){var k=N0().Buffer,j=XQ(),F=h$(),z=l$().ec,X=c$(),C=g$(),P=BQ();function T(q,g,y,w,f){var b=C(g);if(b.curve){if(w!=="ecdsa"&&w!=="ecdsa/rsa")throw new Error("wrong private key type");return W(q,b)}else if(b.type==="dsa"){if(w!=="dsa")throw new Error("wrong private key type");return J(q,b,y)}else if(w!=="rsa"&&w!=="ecdsa/rsa")throw new Error("wrong private key type");q=k.concat([f,q]);for(var u=b.modulus.byteLength(),Y0=[0,1];q.length+Y0.length+1<u;)Y0.push(255);Y0.push(0);for(var p=-1;++p<q.length;)Y0.push(q[p]);var v0=F(Y0,b);return v0}function W(q,g){var y=P[g.curve.join(".")];if(!y)throw new Error("unknown curve "+g.curve.join("."));var w=new z(y),f=w.keyFromPrivate(g.privateKey),b=f.sign(q);return k.from(b.toDER())}function J(q,g,y){for(var w=g.params.priv_key,f=g.params.p,b=g.params.q,u=g.params.g,Y0=new X(0),p,v0=E(q,b).mod(b),$=!1,Y=D(w,b,q,y);$===!1;)p=M(b,Y,y),Y0=v(u,p,f,b),$=p.invm(b).imul(v0.add(w.mul(Y0))).mod(b),$.cmpn(0)===0&&($=!1,Y0=new X(0));return H(Y0,$)}function H(q,g){q=q.toArray(),g=g.toArray(),q[0]&128&&(q=[0].concat(q)),g[0]&128&&(g=[0].concat(g));var y=q.length+g.length+4,w=[48,y,2,q.length];return w=w.concat(q,[2,g.length],g),k.from(w)}function D(q,g,y,w){if(q=k.from(q.toArray()),q.length<g.byteLength()){var f=k.alloc(g.byteLength()-q.length);q=k.concat([f,q])}var b=y.length,u=L(y,g),Y0=k.alloc(b);Y0.fill(1);var p=k.alloc(b);return p=j(w,p).update(Y0).update(k.from([0])).update(q).update(u).digest(),Y0=j(w,p).update(Y0).digest(),p=j(w,p).update(Y0).update(k.from([1])).update(q).update(u).digest(),Y0=j(w,p).update(Y0).digest(),{k:p,v:Y0}}function E(q,g){var y=new X(q),w=(q.length<<3)-g.bitLength();return w>0&&y.ishrn(w),y}function L(q,g){q=E(q,g),q=q.mod(g);var y=k.from(q.toArray());if(y.length<g.byteLength()){var w=k.alloc(g.byteLength()-y.length);y=k.concat([w,y])}return y}function M(q,g,y){var w,f;do{for(w=k.alloc(0);w.length*8<q.bitLength();)g.v=j(y,g.k).update(g.v).digest(),w=k.concat([w,g.v]);f=E(w,q),g.k=j(y,g.k).update(g.v).update(k.from([0])).digest(),g.v=j(y,g.k).update(g.v).digest()}while(f.cmp(q)!==-1);return f}function v(q,g,y,w){return q.toRed(X.mont(y)).redPow(g).fromRed().mod(w)}_.exports=T,_.exports.getKey=D,_.exports.makeKey=M}}),uY=S0({"node_modules/browserify-sign/browser/verify.js"(N,_){var k=N0().Buffer,j=c$(),F=l$().ec,z=g$(),X=BQ();function C(J,H,D,E,L){var M=z(D);if(M.type==="ec"){if(E!=="ecdsa"&&E!=="ecdsa/rsa")throw new Error("wrong public key type");return P(J,H,M)}else if(M.type==="dsa"){if(E!=="dsa")throw new Error("wrong public key type");return T(J,H,M)}else if(E!=="rsa"&&E!=="ecdsa/rsa")throw new Error("wrong public key type");H=k.concat([L,H]);for(var v=M.modulus.byteLength(),q=[1],g=0;H.length+q.length+2<v;)q.push(255),g++;q.push(0);for(var y=-1;++y<H.length;)q.push(H[y]);q=k.from(q);var w=j.mont(M.modulus);J=new j(J).toRed(w),J=J.redPow(new j(M.publicExponent)),J=k.from(J.fromRed().toArray());var f=g<8?1:0;for(v=Math.min(J.length,q.length),J.length!==q.length&&(f=1),y=-1;++y<v;)f|=J[y]^q[y];return f===0}function P(J,H,D){var E=X[D.data.algorithm.curve.join(".")];if(!E)throw new Error("unknown curve "+D.data.algorithm.curve.join("."));var L=new F(E),M=D.data.subjectPrivateKey.data;return L.verify(H,J,M)}function T(J,H,D){var E=D.data.p,L=D.data.q,M=D.data.g,v=D.data.pub_key,q=z.signature.decode(J,"der"),g=q.s,y=q.r;W(g,L),W(y,L);var w=j.mont(E),f=g.invm(L),b=M.toRed(w).redPow(new j(H).mul(f).mod(L)).fromRed().mul(v.toRed(w).redPow(y.mul(f).mod(L)).fromRed()).mod(E).mod(L);return b.cmp(y)===0}function W(J,H){if(J.cmpn(0)<=0)throw new Error("invalid sig");if(J.cmp(H)>=H)throw new Error("invalid sig")}_.exports=C}}),nY=S0({"node_modules/browserify-sign/browser/index.js"(N,_){var k=N0().Buffer,j=M$(),F=B0(),z=oY(),X=uY(),C=KQ();Object.keys(C).forEach(function(H){C[H].id=k.from(C[H].id,"hex"),C[H.toLowerCase()]=C[H]});function P(H){A$.Writable.call(this);var D=C[H];if(!D)throw new Error("Unknown message digest");this._hashType=D.hash,this._hash=j(D.hash),this._tag=D.id,this._signType=D.sign}F(P,A$.Writable),P.prototype._write=function(H,D,E){this._hash.update(H),E()},P.prototype.update=function(H,D){return typeof H=="string"&&(H=k.from(H,D)),this._hash.update(H),this},P.prototype.sign=function(H,D){this.end();var E=this._hash.digest(),L=z(E,H,this._hashType,this._signType,this._tag);return D?L.toString(D):L};function T(H){A$.Writable.call(this);var D=C[H];if(!D)throw new Error("Unknown message digest");this._hash=j(D.hash),this._tag=D.id,this._signType=D.sign}F(T,A$.Writable),T.prototype._write=function(H,D,E){this._hash.update(H),E()},T.prototype.update=function(H,D){return typeof H=="string"&&(H=k.from(H,D)),this._hash.update(H),this},T.prototype.verify=function(H,D,E){typeof D=="string"&&(D=k.from(D,E)),this.end();var L=this._hash.digest();return X(D,L,H,this._signType,this._tag)};function W(H){return new P(H)}function J(H){return new T(H)}_.exports={Sign:W,Verify:J,createSign:W,createVerify:J}}}),sY=S0({"node_modules/create-ecdh/node_modules/bn.js/lib/bn.js"(N,_){(function(k,j){function F($,Y){if(!$)throw new Error(Y||"Assertion failed")}function z($,Y){$.super_=Y;var G=function(){};G.prototype=Y.prototype,$.prototype=new G,$.prototype.constructor=$}function X($,Y,G){if(X.isBN($))return $;this.negative=0,this.words=null,this.length=0,this.red=null,$!==null&&((Y==="le"||Y==="be")&&(G=Y,Y=10),this._init($||0,Y||10,G||"be"))}typeof k=="object"?k.exports=X:j.BN=X,X.BN=X,X.wordSize=26;var C=g0;X.isBN=function($){return $ instanceof X?!0:$!==null&&typeof $=="object"&&$.constructor.wordSize===X.wordSize&&Array.isArray($.words)},X.max=function($,Y){return $.cmp(Y)>0?$:Y},X.min=function($,Y){return $.cmp(Y)<0?$:Y},X.prototype._init=function($,Y,G){if(typeof $=="number")return this._initNumber($,Y,G);if(typeof $=="object")return this._initArray($,Y,G);Y==="hex"&&(Y=16),F(Y===(Y|0)&&Y>=2&&Y<=36),$=$.toString().replace(/\s+/g,"");var Z=0;$[0]==="-"&&(Z++,this.negative=1),Z<$.length&&(Y===16?this._parseHex($,Z,G):(this._parseBase($,Y,Z),G==="le"&&this._initArray(this.toArray(),Y,G)))},X.prototype._initNumber=function($,Y,G){$<0&&(this.negative=1,$=-$),$<67108864?(this.words=[$&67108863],this.length=1):$<4503599627370496?(this.words=[$&67108863,$/67108864&67108863],this.length=2):(F($<9007199254740992),this.words=[$&67108863,$/67108864&67108863,1],this.length=3),G==="le"&&this._initArray(this.toArray(),Y,G)},X.prototype._initArray=function($,Y,G){if(F(typeof $.length=="number"),$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil($.length/3),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V,I,O=0;if(G==="be")for(Z=$.length-1,V=0;Z>=0;Z-=3)I=$[Z]|$[Z-1]<<8|$[Z-2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);else if(G==="le")for(Z=0,V=0;Z<$.length;Z+=3)I=$[Z]|$[Z+1]<<8|$[Z+2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);return this.strip()};function P($,Y){var G=$.charCodeAt(Y);return G>=65&&G<=70?G-55:G>=97&&G<=102?G-87:G-48&15}function T($,Y,G){var Z=P($,G);return G-1>=Y&&(Z|=P($,G-1)<<4),Z}X.prototype._parseHex=function($,Y,G){this.length=Math.ceil(($.length-Y)/6),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V=0,I=0,O;if(G==="be")for(Z=$.length-1;Z>=Y;Z-=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8;else{var U=$.length-Y;for(Z=U%2===0?Y+1:Y;Z<$.length;Z+=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8}this.strip()};function W($,Y,G,Z){for(var V=0,I=Math.min($.length,G),O=Y;O<I;O++){var U=$.charCodeAt(O)-48;V*=Z,U>=49?V+=U-49+10:U>=17?V+=U-17+10:V+=U}return V}X.prototype._parseBase=function($,Y,G){this.words=[0],this.length=1;for(var Z=0,V=1;V<=67108863;V*=Y)Z++;Z--,V=V/Y|0;for(var I=$.length-G,O=I%Z,U=Math.min(I,I-O)+G,Q=0,K=G;K<U;K+=Z)Q=W($,K,K+Z,Y),this.imuln(V),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q);if(O!==0){var R=1;for(Q=W($,K,$.length,Y),K=0;K<O;K++)R*=Y;this.imuln(R),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q)}this.strip()},X.prototype.copy=function($){$.words=new Array(this.length);for(var Y=0;Y<this.length;Y++)$.words[Y]=this.words[Y];$.length=this.length,$.negative=this.negative,$.red=this.red},X.prototype.clone=function(){var $=new X(null);return this.copy($),$},X.prototype._expand=function($){for(;this.length<$;)this.words[this.length++]=0;return this},X.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},X.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},X.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var J=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],H=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];X.prototype.toString=function($,Y){$=$||10,Y=Y|0||1;var G;if($===16||$==="hex"){G="";for(var Z=0,V=0,I=0;I<this.length;I++){var O=this.words[I],U=((O<<Z|V)&16777215).toString(16);V=O>>>24-Z&16777215,V!==0||I!==this.length-1?G=J[6-U.length]+U+G:G=U+G,Z+=2,Z>=26&&(Z-=26,I--)}for(V!==0&&(G=V.toString(16)+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}if($===($|0)&&$>=2&&$<=36){var Q=H[$],K=D[$];G="";var R=this.clone();for(R.negative=0;!R.isZero();){var A=R.modn(K).toString($);R=R.idivn(K),R.isZero()?G=A+G:G=J[Q-A.length]+A+G}for(this.isZero()&&(G="0"+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}F(!1,"Base should be between 2 and 36")},X.prototype.toNumber=function(){var $=this.words[0];return this.length===2?$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?$+=4503599627370496+this.words[1]*67108864:this.length>2&&F(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-$:$},X.prototype.toJSON=function(){return this.toString(16)},X.prototype.toBuffer=function($,Y){return F(typeof C<"u"),this.toArrayLike(C,$,Y)},X.prototype.toArray=function($,Y){return this.toArrayLike(Array,$,Y)},X.prototype.toArrayLike=function($,Y,G){var Z=this.byteLength(),V=G||Math.max(1,Z);F(Z<=V,"byte array longer than desired length"),F(V>0,"Requested array length <= 0"),this.strip();var I=Y==="le",O=new $(V),U,Q,K=this.clone();if(I){for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[Q]=U;for(;Q<V;Q++)O[Q]=0}else{for(Q=0;Q<V-Z;Q++)O[Q]=0;for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[V-Q-1]=U}return O},Math.clz32?X.prototype._countBits=function($){return 32-Math.clz32($)}:X.prototype._countBits=function($){var Y=$,G=0;return Y>=4096&&(G+=13,Y>>>=13),Y>=64&&(G+=7,Y>>>=7),Y>=8&&(G+=4,Y>>>=4),Y>=2&&(G+=2,Y>>>=2),G+Y},X.prototype._zeroBits=function($){if($===0)return 26;var Y=$,G=0;return(Y&8191)===0&&(G+=13,Y>>>=13),(Y&127)===0&&(G+=7,Y>>>=7),(Y&15)===0&&(G+=4,Y>>>=4),(Y&3)===0&&(G+=2,Y>>>=2),(Y&1)===0&&G++,G},X.prototype.bitLength=function(){var $=this.words[this.length-1],Y=this._countBits($);return(this.length-1)*26+Y};function E($){for(var Y=new Array($.bitLength()),G=0;G<Y.length;G++){var Z=G/26|0,V=G%26;Y[G]=($.words[Z]&1<<V)>>>V}return Y}X.prototype.zeroBits=function(){if(this.isZero())return 0;for(var $=0,Y=0;Y<this.length;Y++){var G=this._zeroBits(this.words[Y]);if($+=G,G!==26)break}return $},X.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},X.prototype.toTwos=function($){return this.negative!==0?this.abs().inotn($).iaddn(1):this.clone()},X.prototype.fromTwos=function($){return this.testn($-1)?this.notn($).iaddn(1).ineg():this.clone()},X.prototype.isNeg=function(){return this.negative!==0},X.prototype.neg=function(){return this.clone().ineg()},X.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},X.prototype.iuor=function($){for(;this.length<$.length;)this.words[this.length++]=0;for(var Y=0;Y<$.length;Y++)this.words[Y]=this.words[Y]|$.words[Y];return this.strip()},X.prototype.ior=function($){return F((this.negative|$.negative)===0),this.iuor($)},X.prototype.or=function($){return this.length>$.length?this.clone().ior($):$.clone().ior(this)},X.prototype.uor=function($){return this.length>$.length?this.clone().iuor($):$.clone().iuor(this)},X.prototype.iuand=function($){var Y;this.length>$.length?Y=$:Y=this;for(var G=0;G<Y.length;G++)this.words[G]=this.words[G]&$.words[G];return this.length=Y.length,this.strip()},X.prototype.iand=function($){return F((this.negative|$.negative)===0),this.iuand($)},X.prototype.and=function($){return this.length>$.length?this.clone().iand($):$.clone().iand(this)},X.prototype.uand=function($){return this.length>$.length?this.clone().iuand($):$.clone().iuand(this)},X.prototype.iuxor=function($){var Y,G;this.length>$.length?(Y=this,G=$):(Y=$,G=this);for(var Z=0;Z<G.length;Z++)this.words[Z]=Y.words[Z]^G.words[Z];if(this!==Y)for(;Z<Y.length;Z++)this.words[Z]=Y.words[Z];return this.length=Y.length,this.strip()},X.prototype.ixor=function($){return F((this.negative|$.negative)===0),this.iuxor($)},X.prototype.xor=function($){return this.length>$.length?this.clone().ixor($):$.clone().ixor(this)},X.prototype.uxor=function($){return this.length>$.length?this.clone().iuxor($):$.clone().iuxor(this)},X.prototype.inotn=function($){F(typeof $=="number"&&$>=0);var Y=Math.ceil($/26)|0,G=$%26;this._expand(Y),G>0&&Y--;for(var Z=0;Z<Y;Z++)this.words[Z]=~this.words[Z]&67108863;return G>0&&(this.words[Z]=~this.words[Z]&67108863>>26-G),this.strip()},X.prototype.notn=function($){return this.clone().inotn($)},X.prototype.setn=function($,Y){F(typeof $=="number"&&$>=0);var G=$/26|0,Z=$%26;return this._expand(G+1),Y?this.words[G]=this.words[G]|1<<Z:this.words[G]=this.words[G]&~(1<<Z),this.strip()},X.prototype.iadd=function($){var Y;if(this.negative!==0&&$.negative===0)return this.negative=0,Y=this.isub($),this.negative^=1,this._normSign();if(this.negative===0&&$.negative!==0)return $.negative=0,Y=this.isub($),$.negative=1,Y._normSign();var G,Z;this.length>$.length?(G=this,Z=$):(G=$,Z=this);for(var V=0,I=0;I<Z.length;I++)Y=(G.words[I]|0)+(Z.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;for(;V!==0&&I<G.length;I++)Y=(G.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;if(this.length=G.length,V!==0)this.words[this.length]=V,this.length++;else if(G!==this)for(;I<G.length;I++)this.words[I]=G.words[I];return this},X.prototype.add=function($){var Y;return $.negative!==0&&this.negative===0?($.negative=0,Y=this.sub($),$.negative^=1,Y):$.negative===0&&this.negative!==0?(this.negative=0,Y=$.sub(this),this.negative=1,Y):this.length>$.length?this.clone().iadd($):$.clone().iadd(this)},X.prototype.isub=function($){if($.negative!==0){$.negative=0;var Y=this.iadd($);return $.negative=1,Y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd($),this.negative=1,this._normSign();var G=this.cmp($);if(G===0)return this.negative=0,this.length=1,this.words[0]=0,this;var Z,V;G>0?(Z=this,V=$):(Z=$,V=this);for(var I=0,O=0;O<V.length;O++)Y=(Z.words[O]|0)-(V.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;for(;I!==0&&O<Z.length;O++)Y=(Z.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;if(I===0&&O<Z.length&&Z!==this)for(;O<Z.length;O++)this.words[O]=Z.words[O];return this.length=Math.max(this.length,O),Z!==this&&(this.negative=1),this.strip()},X.prototype.sub=function($){return this.clone().isub($)};function L($,Y,G){G.negative=Y.negative^$.negative;var Z=$.length+Y.length|0;G.length=Z,Z=Z-1|0;var V=$.words[0]|0,I=Y.words[0]|0,O=V*I,U=O&67108863,Q=O/67108864|0;G.words[0]=U;for(var K=1;K<Z;K++){for(var R=Q>>>26,A=Q&67108863,S=Math.min(K,Y.length-1),x=Math.max(0,K-$.length+1);x<=S;x++){var B=K-x|0;V=$.words[B]|0,I=Y.words[x]|0,O=V*I+A,R+=O/67108864|0,A=O&67108863}G.words[K]=A|0,Q=R|0}return Q!==0?G.words[K]=Q|0:G.length--,G.strip()}var M=function($,Y,G){var Z=$.words,V=Y.words,I=G.words,O=0,U,Q,K,R=Z[0]|0,A=R&8191,S=R>>>13,x=Z[1]|0,B=x&8191,c=x>>>13,q0=Z[2]|0,h=q0&8191,d=q0>>>13,_0=Z[3]|0,l=_0&8191,n=_0>>>13,y0=Z[4]|0,t=y0&8191,s=y0>>>13,w0=Z[5]|0,m=w0&8191,r=w0>>>13,$$=Z[6]|0,i=$$&8191,e=$$>>>13,x0=Z[7]|0,o=x0&8191,a=x0>>>13,p0=Z[8]|0,$0=p0&8191,Q0=p0>>>13,Y$=Z[9]|0,Z0=Y$&8191,G0=Y$>>>13,Z$=V[0]|0,V0=Z$&8191,U0=Z$>>>13,G$=V[1]|0,X0=G$&8191,K0=G$>>>13,V$=V[2]|0,I0=V$&8191,O0=V$>>>13,U$=V[3]|0,J0=U$&8191,F0=U$>>>13,X$=V[4]|0,A0=X$&8191,H0=X$>>>13,K$=V[5]|0,W0=K$&8191,E0=K$>>>13,I$=V[6]|0,T0=I$&8191,D0=I$>>>13,O$=V[7]|0,C0=O$&8191,L0=O$>>>13,J$=V[8]|0,R0=J$&8191,P0=J$>>>13,F$=V[9]|0,z0=F$&8191,M0=F$>>>13;G.negative=$.negative^Y.negative,G.length=19,U=Math.imul(A,V0),Q=Math.imul(A,U0),Q=Q+Math.imul(S,V0)|0,K=Math.imul(S,U0);var Q$=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(Q$>>>26)|0,Q$&=67108863,U=Math.imul(B,V0),Q=Math.imul(B,U0),Q=Q+Math.imul(c,V0)|0,K=Math.imul(c,U0),U=U+Math.imul(A,X0)|0,Q=Q+Math.imul(A,K0)|0,Q=Q+Math.imul(S,X0)|0,K=K+Math.imul(S,K0)|0;var j0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(j0>>>26)|0,j0&=67108863,U=Math.imul(h,V0),Q=Math.imul(h,U0),Q=Q+Math.imul(d,V0)|0,K=Math.imul(d,U0),U=U+Math.imul(B,X0)|0,Q=Q+Math.imul(B,K0)|0,Q=Q+Math.imul(c,X0)|0,K=K+Math.imul(c,K0)|0,U=U+Math.imul(A,I0)|0,Q=Q+Math.imul(A,O0)|0,Q=Q+Math.imul(S,I0)|0,K=K+Math.imul(S,O0)|0;var k0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(k0>>>26)|0,k0&=67108863,U=Math.imul(l,V0),Q=Math.imul(l,U0),Q=Q+Math.imul(n,V0)|0,K=Math.imul(n,U0),U=U+Math.imul(h,X0)|0,Q=Q+Math.imul(h,K0)|0,Q=Q+Math.imul(d,X0)|0,K=K+Math.imul(d,K0)|0,U=U+Math.imul(B,I0)|0,Q=Q+Math.imul(B,O0)|0,Q=Q+Math.imul(c,I0)|0,K=K+Math.imul(c,O0)|0,U=U+Math.imul(A,J0)|0,Q=Q+Math.imul(A,F0)|0,Q=Q+Math.imul(S,J0)|0,K=K+Math.imul(S,F0)|0;var f0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(f0>>>26)|0,f0&=67108863,U=Math.imul(t,V0),Q=Math.imul(t,U0),Q=Q+Math.imul(s,V0)|0,K=Math.imul(s,U0),U=U+Math.imul(l,X0)|0,Q=Q+Math.imul(l,K0)|0,Q=Q+Math.imul(n,X0)|0,K=K+Math.imul(n,K0)|0,U=U+Math.imul(h,I0)|0,Q=Q+Math.imul(h,O0)|0,Q=Q+Math.imul(d,I0)|0,K=K+Math.imul(d,O0)|0,U=U+Math.imul(B,J0)|0,Q=Q+Math.imul(B,F0)|0,Q=Q+Math.imul(c,J0)|0,K=K+Math.imul(c,F0)|0,U=U+Math.imul(A,A0)|0,Q=Q+Math.imul(A,H0)|0,Q=Q+Math.imul(S,A0)|0,K=K+Math.imul(S,H0)|0;var c0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(c0>>>26)|0,c0&=67108863,U=Math.imul(m,V0),Q=Math.imul(m,U0),Q=Q+Math.imul(r,V0)|0,K=Math.imul(r,U0),U=U+Math.imul(t,X0)|0,Q=Q+Math.imul(t,K0)|0,Q=Q+Math.imul(s,X0)|0,K=K+Math.imul(s,K0)|0,U=U+Math.imul(l,I0)|0,Q=Q+Math.imul(l,O0)|0,Q=Q+Math.imul(n,I0)|0,K=K+Math.imul(n,O0)|0,U=U+Math.imul(h,J0)|0,Q=Q+Math.imul(h,F0)|0,Q=Q+Math.imul(d,J0)|0,K=K+Math.imul(d,F0)|0,U=U+Math.imul(B,A0)|0,Q=Q+Math.imul(B,H0)|0,Q=Q+Math.imul(c,A0)|0,K=K+Math.imul(c,H0)|0,U=U+Math.imul(A,W0)|0,Q=Q+Math.imul(A,E0)|0,Q=Q+Math.imul(S,W0)|0,K=K+Math.imul(S,E0)|0;var h0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(h0>>>26)|0,h0&=67108863,U=Math.imul(i,V0),Q=Math.imul(i,U0),Q=Q+Math.imul(e,V0)|0,K=Math.imul(e,U0),U=U+Math.imul(m,X0)|0,Q=Q+Math.imul(m,K0)|0,Q=Q+Math.imul(r,X0)|0,K=K+Math.imul(r,K0)|0,U=U+Math.imul(t,I0)|0,Q=Q+Math.imul(t,O0)|0,Q=Q+Math.imul(s,I0)|0,K=K+Math.imul(s,O0)|0,U=U+Math.imul(l,J0)|0,Q=Q+Math.imul(l,F0)|0,Q=Q+Math.imul(n,J0)|0,K=K+Math.imul(n,F0)|0,U=U+Math.imul(h,A0)|0,Q=Q+Math.imul(h,H0)|0,Q=Q+Math.imul(d,A0)|0,K=K+Math.imul(d,H0)|0,U=U+Math.imul(B,W0)|0,Q=Q+Math.imul(B,E0)|0,Q=Q+Math.imul(c,W0)|0,K=K+Math.imul(c,E0)|0,U=U+Math.imul(A,T0)|0,Q=Q+Math.imul(A,D0)|0,Q=Q+Math.imul(S,T0)|0,K=K+Math.imul(S,D0)|0;var d0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(d0>>>26)|0,d0&=67108863,U=Math.imul(o,V0),Q=Math.imul(o,U0),Q=Q+Math.imul(a,V0)|0,K=Math.imul(a,U0),U=U+Math.imul(i,X0)|0,Q=Q+Math.imul(i,K0)|0,Q=Q+Math.imul(e,X0)|0,K=K+Math.imul(e,K0)|0,U=U+Math.imul(m,I0)|0,Q=Q+Math.imul(m,O0)|0,Q=Q+Math.imul(r,I0)|0,K=K+Math.imul(r,O0)|0,U=U+Math.imul(t,J0)|0,Q=Q+Math.imul(t,F0)|0,Q=Q+Math.imul(s,J0)|0,K=K+Math.imul(s,F0)|0,U=U+Math.imul(l,A0)|0,Q=Q+Math.imul(l,H0)|0,Q=Q+Math.imul(n,A0)|0,K=K+Math.imul(n,H0)|0,U=U+Math.imul(h,W0)|0,Q=Q+Math.imul(h,E0)|0,Q=Q+Math.imul(d,W0)|0,K=K+Math.imul(d,E0)|0,U=U+Math.imul(B,T0)|0,Q=Q+Math.imul(B,D0)|0,Q=Q+Math.imul(c,T0)|0,K=K+Math.imul(c,D0)|0,U=U+Math.imul(A,C0)|0,Q=Q+Math.imul(A,L0)|0,Q=Q+Math.imul(S,C0)|0,K=K+Math.imul(S,L0)|0;var b0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(b0>>>26)|0,b0&=67108863,U=Math.imul($0,V0),Q=Math.imul($0,U0),Q=Q+Math.imul(Q0,V0)|0,K=Math.imul(Q0,U0),U=U+Math.imul(o,X0)|0,Q=Q+Math.imul(o,K0)|0,Q=Q+Math.imul(a,X0)|0,K=K+Math.imul(a,K0)|0,U=U+Math.imul(i,I0)|0,Q=Q+Math.imul(i,O0)|0,Q=Q+Math.imul(e,I0)|0,K=K+Math.imul(e,O0)|0,U=U+Math.imul(m,J0)|0,Q=Q+Math.imul(m,F0)|0,Q=Q+Math.imul(r,J0)|0,K=K+Math.imul(r,F0)|0,U=U+Math.imul(t,A0)|0,Q=Q+Math.imul(t,H0)|0,Q=Q+Math.imul(s,A0)|0,K=K+Math.imul(s,H0)|0,U=U+Math.imul(l,W0)|0,Q=Q+Math.imul(l,E0)|0,Q=Q+Math.imul(n,W0)|0,K=K+Math.imul(n,E0)|0,U=U+Math.imul(h,T0)|0,Q=Q+Math.imul(h,D0)|0,Q=Q+Math.imul(d,T0)|0,K=K+Math.imul(d,D0)|0,U=U+Math.imul(B,C0)|0,Q=Q+Math.imul(B,L0)|0,Q=Q+Math.imul(c,C0)|0,K=K+Math.imul(c,L0)|0,U=U+Math.imul(A,R0)|0,Q=Q+Math.imul(A,P0)|0,Q=Q+Math.imul(S,R0)|0,K=K+Math.imul(S,P0)|0;var l0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(l0>>>26)|0,l0&=67108863,U=Math.imul(Z0,V0),Q=Math.imul(Z0,U0),Q=Q+Math.imul(G0,V0)|0,K=Math.imul(G0,U0),U=U+Math.imul($0,X0)|0,Q=Q+Math.imul($0,K0)|0,Q=Q+Math.imul(Q0,X0)|0,K=K+Math.imul(Q0,K0)|0,U=U+Math.imul(o,I0)|0,Q=Q+Math.imul(o,O0)|0,Q=Q+Math.imul(a,I0)|0,K=K+Math.imul(a,O0)|0,U=U+Math.imul(i,J0)|0,Q=Q+Math.imul(i,F0)|0,Q=Q+Math.imul(e,J0)|0,K=K+Math.imul(e,F0)|0,U=U+Math.imul(m,A0)|0,Q=Q+Math.imul(m,H0)|0,Q=Q+Math.imul(r,A0)|0,K=K+Math.imul(r,H0)|0,U=U+Math.imul(t,W0)|0,Q=Q+Math.imul(t,E0)|0,Q=Q+Math.imul(s,W0)|0,K=K+Math.imul(s,E0)|0,U=U+Math.imul(l,T0)|0,Q=Q+Math.imul(l,D0)|0,Q=Q+Math.imul(n,T0)|0,K=K+Math.imul(n,D0)|0,U=U+Math.imul(h,C0)|0,Q=Q+Math.imul(h,L0)|0,Q=Q+Math.imul(d,C0)|0,K=K+Math.imul(d,L0)|0,U=U+Math.imul(B,R0)|0,Q=Q+Math.imul(B,P0)|0,Q=Q+Math.imul(c,R0)|0,K=K+Math.imul(c,P0)|0,U=U+Math.imul(A,z0)|0,Q=Q+Math.imul(A,M0)|0,Q=Q+Math.imul(S,z0)|0,K=K+Math.imul(S,M0)|0;var o0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(o0>>>26)|0,o0&=67108863,U=Math.imul(Z0,X0),Q=Math.imul(Z0,K0),Q=Q+Math.imul(G0,X0)|0,K=Math.imul(G0,K0),U=U+Math.imul($0,I0)|0,Q=Q+Math.imul($0,O0)|0,Q=Q+Math.imul(Q0,I0)|0,K=K+Math.imul(Q0,O0)|0,U=U+Math.imul(o,J0)|0,Q=Q+Math.imul(o,F0)|0,Q=Q+Math.imul(a,J0)|0,K=K+Math.imul(a,F0)|0,U=U+Math.imul(i,A0)|0,Q=Q+Math.imul(i,H0)|0,Q=Q+Math.imul(e,A0)|0,K=K+Math.imul(e,H0)|0,U=U+Math.imul(m,W0)|0,Q=Q+Math.imul(m,E0)|0,Q=Q+Math.imul(r,W0)|0,K=K+Math.imul(r,E0)|0,U=U+Math.imul(t,T0)|0,Q=Q+Math.imul(t,D0)|0,Q=Q+Math.imul(s,T0)|0,K=K+Math.imul(s,D0)|0,U=U+Math.imul(l,C0)|0,Q=Q+Math.imul(l,L0)|0,Q=Q+Math.imul(n,C0)|0,K=K+Math.imul(n,L0)|0,U=U+Math.imul(h,R0)|0,Q=Q+Math.imul(h,P0)|0,Q=Q+Math.imul(d,R0)|0,K=K+Math.imul(d,P0)|0,U=U+Math.imul(B,z0)|0,Q=Q+Math.imul(B,M0)|0,Q=Q+Math.imul(c,z0)|0,K=K+Math.imul(c,M0)|0;var u0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(u0>>>26)|0,u0&=67108863,U=Math.imul(Z0,I0),Q=Math.imul(Z0,O0),Q=Q+Math.imul(G0,I0)|0,K=Math.imul(G0,O0),U=U+Math.imul($0,J0)|0,Q=Q+Math.imul($0,F0)|0,Q=Q+Math.imul(Q0,J0)|0,K=K+Math.imul(Q0,F0)|0,U=U+Math.imul(o,A0)|0,Q=Q+Math.imul(o,H0)|0,Q=Q+Math.imul(a,A0)|0,K=K+Math.imul(a,H0)|0,U=U+Math.imul(i,W0)|0,Q=Q+Math.imul(i,E0)|0,Q=Q+Math.imul(e,W0)|0,K=K+Math.imul(e,E0)|0,U=U+Math.imul(m,T0)|0,Q=Q+Math.imul(m,D0)|0,Q=Q+Math.imul(r,T0)|0,K=K+Math.imul(r,D0)|0,U=U+Math.imul(t,C0)|0,Q=Q+Math.imul(t,L0)|0,Q=Q+Math.imul(s,C0)|0,K=K+Math.imul(s,L0)|0,U=U+Math.imul(l,R0)|0,Q=Q+Math.imul(l,P0)|0,Q=Q+Math.imul(n,R0)|0,K=K+Math.imul(n,P0)|0,U=U+Math.imul(h,z0)|0,Q=Q+Math.imul(h,M0)|0,Q=Q+Math.imul(d,z0)|0,K=K+Math.imul(d,M0)|0;var n0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(n0>>>26)|0,n0&=67108863,U=Math.imul(Z0,J0),Q=Math.imul(Z0,F0),Q=Q+Math.imul(G0,J0)|0,K=Math.imul(G0,F0),U=U+Math.imul($0,A0)|0,Q=Q+Math.imul($0,H0)|0,Q=Q+Math.imul(Q0,A0)|0,K=K+Math.imul(Q0,H0)|0,U=U+Math.imul(o,W0)|0,Q=Q+Math.imul(o,E0)|0,Q=Q+Math.imul(a,W0)|0,K=K+Math.imul(a,E0)|0,U=U+Math.imul(i,T0)|0,Q=Q+Math.imul(i,D0)|0,Q=Q+Math.imul(e,T0)|0,K=K+Math.imul(e,D0)|0,U=U+Math.imul(m,C0)|0,Q=Q+Math.imul(m,L0)|0,Q=Q+Math.imul(r,C0)|0,K=K+Math.imul(r,L0)|0,U=U+Math.imul(t,R0)|0,Q=Q+Math.imul(t,P0)|0,Q=Q+Math.imul(s,R0)|0,K=K+Math.imul(s,P0)|0,U=U+Math.imul(l,z0)|0,Q=Q+Math.imul(l,M0)|0,Q=Q+Math.imul(n,z0)|0,K=K+Math.imul(n,M0)|0;var s0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(s0>>>26)|0,s0&=67108863,U=Math.imul(Z0,A0),Q=Math.imul(Z0,H0),Q=Q+Math.imul(G0,A0)|0,K=Math.imul(G0,H0),U=U+Math.imul($0,W0)|0,Q=Q+Math.imul($0,E0)|0,Q=Q+Math.imul(Q0,W0)|0,K=K+Math.imul(Q0,E0)|0,U=U+Math.imul(o,T0)|0,Q=Q+Math.imul(o,D0)|0,Q=Q+Math.imul(a,T0)|0,K=K+Math.imul(a,D0)|0,U=U+Math.imul(i,C0)|0,Q=Q+Math.imul(i,L0)|0,Q=Q+Math.imul(e,C0)|0,K=K+Math.imul(e,L0)|0,U=U+Math.imul(m,R0)|0,Q=Q+Math.imul(m,P0)|0,Q=Q+Math.imul(r,R0)|0,K=K+Math.imul(r,P0)|0,U=U+Math.imul(t,z0)|0,Q=Q+Math.imul(t,M0)|0,Q=Q+Math.imul(s,z0)|0,K=K+Math.imul(s,M0)|0;var t0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(t0>>>26)|0,t0&=67108863,U=Math.imul(Z0,W0),Q=Math.imul(Z0,E0),Q=Q+Math.imul(G0,W0)|0,K=Math.imul(G0,E0),U=U+Math.imul($0,T0)|0,Q=Q+Math.imul($0,D0)|0,Q=Q+Math.imul(Q0,T0)|0,K=K+Math.imul(Q0,D0)|0,U=U+Math.imul(o,C0)|0,Q=Q+Math.imul(o,L0)|0,Q=Q+Math.imul(a,C0)|0,K=K+Math.imul(a,L0)|0,U=U+Math.imul(i,R0)|0,Q=Q+Math.imul(i,P0)|0,Q=Q+Math.imul(e,R0)|0,K=K+Math.imul(e,P0)|0,U=U+Math.imul(m,z0)|0,Q=Q+Math.imul(m,M0)|0,Q=Q+Math.imul(r,z0)|0,K=K+Math.imul(r,M0)|0;var m0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(m0>>>26)|0,m0&=67108863,U=Math.imul(Z0,T0),Q=Math.imul(Z0,D0),Q=Q+Math.imul(G0,T0)|0,K=Math.imul(G0,D0),U=U+Math.imul($0,C0)|0,Q=Q+Math.imul($0,L0)|0,Q=Q+Math.imul(Q0,C0)|0,K=K+Math.imul(Q0,L0)|0,U=U+Math.imul(o,R0)|0,Q=Q+Math.imul(o,P0)|0,Q=Q+Math.imul(a,R0)|0,K=K+Math.imul(a,P0)|0,U=U+Math.imul(i,z0)|0,Q=Q+Math.imul(i,M0)|0,Q=Q+Math.imul(e,z0)|0,K=K+Math.imul(e,M0)|0;var a0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(a0>>>26)|0,a0&=67108863,U=Math.imul(Z0,C0),Q=Math.imul(Z0,L0),Q=Q+Math.imul(G0,C0)|0,K=Math.imul(G0,L0),U=U+Math.imul($0,R0)|0,Q=Q+Math.imul($0,P0)|0,Q=Q+Math.imul(Q0,R0)|0,K=K+Math.imul(Q0,P0)|0,U=U+Math.imul(o,z0)|0,Q=Q+Math.imul(o,M0)|0,Q=Q+Math.imul(a,z0)|0,K=K+Math.imul(a,M0)|0;var e0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(e0>>>26)|0,e0&=67108863,U=Math.imul(Z0,R0),Q=Math.imul(Z0,P0),Q=Q+Math.imul(G0,R0)|0,K=Math.imul(G0,P0),U=U+Math.imul($0,z0)|0,Q=Q+Math.imul($0,M0)|0,Q=Q+Math.imul(Q0,z0)|0,K=K+Math.imul(Q0,M0)|0;var r0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(r0>>>26)|0,r0&=67108863,U=Math.imul(Z0,z0),Q=Math.imul(Z0,M0),Q=Q+Math.imul(G0,z0)|0,K=Math.imul(G0,M0);var i0=(O+U|0)+((Q&8191)<<13)|0;return O=(K+(Q>>>13)|0)+(i0>>>26)|0,i0&=67108863,I[0]=Q$,I[1]=j0,I[2]=k0,I[3]=f0,I[4]=c0,I[5]=h0,I[6]=d0,I[7]=b0,I[8]=l0,I[9]=o0,I[10]=u0,I[11]=n0,I[12]=s0,I[13]=t0,I[14]=m0,I[15]=a0,I[16]=e0,I[17]=r0,I[18]=i0,O!==0&&(I[19]=O,G.length++),G};Math.imul||(M=L);function v($,Y,G){G.negative=Y.negative^$.negative,G.length=$.length+Y.length;for(var Z=0,V=0,I=0;I<G.length-1;I++){var O=V;V=0;for(var U=Z&67108863,Q=Math.min(I,Y.length-1),K=Math.max(0,I-$.length+1);K<=Q;K++){var R=I-K,A=$.words[R]|0,S=Y.words[K]|0,x=A*S,B=x&67108863;O=O+(x/67108864|0)|0,B=B+U|0,U=B&67108863,O=O+(B>>>26)|0,V+=O>>>26,O&=67108863}G.words[I]=U,Z=O,O=V}return Z!==0?G.words[I]=Z:G.length--,G.strip()}function q($,Y,G){var Z=new g;return Z.mulp($,Y,G)}X.prototype.mulTo=function($,Y){var G,Z=this.length+$.length;return this.length===10&&$.length===10?G=M(this,$,Y):Z<63?G=L(this,$,Y):Z<1024?G=v(this,$,Y):G=q(this,$,Y),G};function g($,Y){this.x=$,this.y=Y}g.prototype.makeRBT=function($){for(var Y=new Array($),G=X.prototype._countBits($)-1,Z=0;Z<$;Z++)Y[Z]=this.revBin(Z,G,$);return Y},g.prototype.revBin=function($,Y,G){if($===0||$===G-1)return $;for(var Z=0,V=0;V<Y;V++)Z|=($&1)<<Y-V-1,$>>=1;return Z},g.prototype.permute=function($,Y,G,Z,V,I){for(var O=0;O<I;O++)Z[O]=Y[$[O]],V[O]=G[$[O]]},g.prototype.transform=function($,Y,G,Z,V,I){this.permute(I,$,Y,G,Z,V);for(var O=1;O<V;O<<=1)for(var U=O<<1,Q=Math.cos(2*Math.PI/U),K=Math.sin(2*Math.PI/U),R=0;R<V;R+=U)for(var A=Q,S=K,x=0;x<O;x++){var B=G[R+x],c=Z[R+x],q0=G[R+x+O],h=Z[R+x+O],d=A*q0-S*h;h=A*h+S*q0,q0=d,G[R+x]=B+q0,Z[R+x]=c+h,G[R+x+O]=B-q0,Z[R+x+O]=c-h,x!==U&&(d=Q*A-K*S,S=Q*S+K*A,A=d)}},g.prototype.guessLen13b=function($,Y){var G=Math.max(Y,$)|1,Z=G&1,V=0;for(G=G/2|0;G;G=G>>>1)V++;return 1<<V+1+Z},g.prototype.conjugate=function($,Y,G){if(!(G<=1))for(var Z=0;Z<G/2;Z++){var V=$[Z];$[Z]=$[G-Z-1],$[G-Z-1]=V,V=Y[Z],Y[Z]=-Y[G-Z-1],Y[G-Z-1]=-V}},g.prototype.normalize13b=function($,Y){for(var G=0,Z=0;Z<Y/2;Z++){var V=Math.round($[2*Z+1]/Y)*8192+Math.round($[2*Z]/Y)+G;$[Z]=V&67108863,V<67108864?G=0:G=V/67108864|0}return $},g.prototype.convert13b=function($,Y,G,Z){for(var V=0,I=0;I<Y;I++)V=V+($[I]|0),G[2*I]=V&8191,V=V>>>13,G[2*I+1]=V&8191,V=V>>>13;for(I=2*Y;I<Z;++I)G[I]=0;F(V===0),F((V&-8192)===0)},g.prototype.stub=function($){for(var Y=new Array($),G=0;G<$;G++)Y[G]=0;return Y},g.prototype.mulp=function($,Y,G){var Z=2*this.guessLen13b($.length,Y.length),V=this.makeRBT(Z),I=this.stub(Z),O=new Array(Z),U=new Array(Z),Q=new Array(Z),K=new Array(Z),R=new Array(Z),A=new Array(Z),S=G.words;S.length=Z,this.convert13b($.words,$.length,O,Z),this.convert13b(Y.words,Y.length,K,Z),this.transform(O,I,U,Q,Z,V),this.transform(K,I,R,A,Z,V);for(var x=0;x<Z;x++){var B=U[x]*R[x]-Q[x]*A[x];Q[x]=U[x]*A[x]+Q[x]*R[x],U[x]=B}return this.conjugate(U,Q,Z),this.transform(U,Q,S,I,Z,V),this.conjugate(S,I,Z),this.normalize13b(S,Z),G.negative=$.negative^Y.negative,G.length=$.length+Y.length,G.strip()},X.prototype.mul=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),this.mulTo($,Y)},X.prototype.mulf=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),q(this,$,Y)},X.prototype.imul=function($){return this.clone().mulTo($,this)},X.prototype.imuln=function($){F(typeof $=="number"),F($<67108864);for(var Y=0,G=0;G<this.length;G++){var Z=(this.words[G]|0)*$,V=(Z&67108863)+(Y&67108863);Y>>=26,Y+=Z/67108864|0,Y+=V>>>26,this.words[G]=V&67108863}return Y!==0&&(this.words[G]=Y,this.length++),this},X.prototype.muln=function($){return this.clone().imuln($)},X.prototype.sqr=function(){return this.mul(this)},X.prototype.isqr=function(){return this.imul(this.clone())},X.prototype.pow=function($){var Y=E($);if(Y.length===0)return new X(1);for(var G=this,Z=0;Z<Y.length&&Y[Z]===0;Z++,G=G.sqr());if(++Z<Y.length)for(var V=G.sqr();Z<Y.length;Z++,V=V.sqr())Y[Z]!==0&&(G=G.mul(V));return G},X.prototype.iushln=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=67108863>>>26-Y<<26-Y,V;if(Y!==0){var I=0;for(V=0;V<this.length;V++){var O=this.words[V]&Z,U=(this.words[V]|0)-O<<Y;this.words[V]=U|I,I=O>>>26-Y}I&&(this.words[V]=I,this.length++)}if(G!==0){for(V=this.length-1;V>=0;V--)this.words[V+G]=this.words[V];for(V=0;V<G;V++)this.words[V]=0;this.length+=G}return this.strip()},X.prototype.ishln=function($){return F(this.negative===0),this.iushln($)},X.prototype.iushrn=function($,Y,G){F(typeof $=="number"&&$>=0);var Z;Y?Z=(Y-Y%26)/26:Z=0;var V=$%26,I=Math.min(($-V)/26,this.length),O=67108863^67108863>>>V<<V,U=G;if(Z-=I,Z=Math.max(0,Z),U){for(var Q=0;Q<I;Q++)U.words[Q]=this.words[Q];U.length=I}if(I!==0)if(this.length>I)for(this.length-=I,Q=0;Q<this.length;Q++)this.words[Q]=this.words[Q+I];else this.words[0]=0,this.length=1;var K=0;for(Q=this.length-1;Q>=0&&(K!==0||Q>=Z);Q--){var R=this.words[Q]|0;this.words[Q]=K<<26-V|R>>>V,K=R&O}return U&&K!==0&&(U.words[U.length++]=K),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},X.prototype.ishrn=function($,Y,G){return F(this.negative===0),this.iushrn($,Y,G)},X.prototype.shln=function($){return this.clone().ishln($)},X.prototype.ushln=function($){return this.clone().iushln($)},X.prototype.shrn=function($){return this.clone().ishrn($)},X.prototype.ushrn=function($){return this.clone().iushrn($)},X.prototype.testn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return!1;var V=this.words[G];return!!(V&Z)},X.prototype.imaskn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26;if(F(this.negative===0,"imaskn works only with positive numbers"),this.length<=G)return this;if(Y!==0&&G++,this.length=Math.min(G,this.length),Y!==0){var Z=67108863^67108863>>>Y<<Y;this.words[this.length-1]&=Z}return this.strip()},X.prototype.maskn=function($){return this.clone().imaskn($)},X.prototype.iaddn=function($){return F(typeof $=="number"),F($<67108864),$<0?this.isubn(-$):this.negative!==0?this.length===1&&(this.words[0]|0)<$?(this.words[0]=$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn($),this.negative=1,this):this._iaddn($)},X.prototype._iaddn=function($){this.words[0]+=$;for(var Y=0;Y<this.length&&this.words[Y]>=67108864;Y++)this.words[Y]-=67108864,Y===this.length-1?this.words[Y+1]=1:this.words[Y+1]++;return this.length=Math.max(this.length,Y+1),this},X.prototype.isubn=function($){if(F(typeof $=="number"),F($<67108864),$<0)return this.iaddn(-$);if(this.negative!==0)return this.negative=0,this.iaddn($),this.negative=1,this;if(this.words[0]-=$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var Y=0;Y<this.length&&this.words[Y]<0;Y++)this.words[Y]+=67108864,this.words[Y+1]-=1;return this.strip()},X.prototype.addn=function($){return this.clone().iaddn($)},X.prototype.subn=function($){return this.clone().isubn($)},X.prototype.iabs=function(){return this.negative=0,this},X.prototype.abs=function(){return this.clone().iabs()},X.prototype._ishlnsubmul=function($,Y,G){var Z=$.length+G,V;this._expand(Z);var I,O=0;for(V=0;V<$.length;V++){I=(this.words[V+G]|0)+O;var U=($.words[V]|0)*Y;I-=U&67108863,O=(I>>26)-(U/67108864|0),this.words[V+G]=I&67108863}for(;V<this.length-G;V++)I=(this.words[V+G]|0)+O,O=I>>26,this.words[V+G]=I&67108863;if(O===0)return this.strip();for(F(O===-1),O=0,V=0;V<this.length;V++)I=-(this.words[V]|0)+O,O=I>>26,this.words[V]=I&67108863;return this.negative=1,this.strip()},X.prototype._wordDiv=function($,Y){var G=this.length-$.length,Z=this.clone(),V=$,I=V.words[V.length-1]|0,O=this._countBits(I);G=26-O,G!==0&&(V=V.ushln(G),Z.iushln(G),I=V.words[V.length-1]|0);var U=Z.length-V.length,Q;if(Y!=="mod"){Q=new X(null),Q.length=U+1,Q.words=new Array(Q.length);for(var K=0;K<Q.length;K++)Q.words[K]=0}var R=Z.clone()._ishlnsubmul(V,1,U);R.negative===0&&(Z=R,Q&&(Q.words[U]=1));for(var A=U-1;A>=0;A--){var S=(Z.words[V.length+A]|0)*67108864+(Z.words[V.length+A-1]|0);for(S=Math.min(S/I|0,67108863),Z._ishlnsubmul(V,S,A);Z.negative!==0;)S--,Z.negative=0,Z._ishlnsubmul(V,1,A),Z.isZero()||(Z.negative^=1);Q&&(Q.words[A]=S)}return Q&&Q.strip(),Z.strip(),Y!=="div"&&G!==0&&Z.iushrn(G),{div:Q||null,mod:Z}},X.prototype.divmod=function($,Y,G){if(F(!$.isZero()),this.isZero())return{div:new X(0),mod:new X(0)};var Z,V,I;return this.negative!==0&&$.negative===0?(I=this.neg().divmod($,Y),Y!=="mod"&&(Z=I.div.neg()),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.iadd($)),{div:Z,mod:V}):this.negative===0&&$.negative!==0?(I=this.divmod($.neg(),Y),Y!=="mod"&&(Z=I.div.neg()),{div:Z,mod:I.mod}):(this.negative&$.negative)!==0?(I=this.neg().divmod($.neg(),Y),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.isub($)),{div:I.div,mod:V}):$.length>this.length||this.cmp($)<0?{div:new X(0),mod:this}:$.length===1?Y==="div"?{div:this.divn($.words[0]),mod:null}:Y==="mod"?{div:null,mod:new X(this.modn($.words[0]))}:{div:this.divn($.words[0]),mod:new X(this.modn($.words[0]))}:this._wordDiv($,Y)},X.prototype.div=function($){return this.divmod($,"div",!1).div},X.prototype.mod=function($){return this.divmod($,"mod",!1).mod},X.prototype.umod=function($){return this.divmod($,"mod",!0).mod},X.prototype.divRound=function($){var Y=this.divmod($);if(Y.mod.isZero())return Y.div;var G=Y.div.negative!==0?Y.mod.isub($):Y.mod,Z=$.ushrn(1),V=$.andln(1),I=G.cmp(Z);return I<0||V===1&&I===0?Y.div:Y.div.negative!==0?Y.div.isubn(1):Y.div.iaddn(1)},X.prototype.modn=function($){F($<=67108863);for(var Y=(1<<26)%$,G=0,Z=this.length-1;Z>=0;Z--)G=(Y*G+(this.words[Z]|0))%$;return G},X.prototype.idivn=function($){F($<=67108863);for(var Y=0,G=this.length-1;G>=0;G--){var Z=(this.words[G]|0)+Y*67108864;this.words[G]=Z/$|0,Y=Z%$}return this.strip()},X.prototype.divn=function($){return this.clone().idivn($)},X.prototype.egcd=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=new X(0),O=new X(1),U=0;Y.isEven()&&G.isEven();)Y.iushrn(1),G.iushrn(1),++U;for(var Q=G.clone(),K=Y.clone();!Y.isZero();){for(var R=0,A=1;(Y.words[0]&A)===0&&R<26;++R,A<<=1);if(R>0)for(Y.iushrn(R);R-- >0;)(Z.isOdd()||V.isOdd())&&(Z.iadd(Q),V.isub(K)),Z.iushrn(1),V.iushrn(1);for(var S=0,x=1;(G.words[0]&x)===0&&S<26;++S,x<<=1);if(S>0)for(G.iushrn(S);S-- >0;)(I.isOdd()||O.isOdd())&&(I.iadd(Q),O.isub(K)),I.iushrn(1),O.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(I),V.isub(O)):(G.isub(Y),I.isub(Z),O.isub(V))}return{a:I,b:O,gcd:G.iushln(U)}},X.prototype._invmp=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=G.clone();Y.cmpn(1)>0&&G.cmpn(1)>0;){for(var O=0,U=1;(Y.words[0]&U)===0&&O<26;++O,U<<=1);if(O>0)for(Y.iushrn(O);O-- >0;)Z.isOdd()&&Z.iadd(I),Z.iushrn(1);for(var Q=0,K=1;(G.words[0]&K)===0&&Q<26;++Q,K<<=1);if(Q>0)for(G.iushrn(Q);Q-- >0;)V.isOdd()&&V.iadd(I),V.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(V)):(G.isub(Y),V.isub(Z))}var R;return Y.cmpn(1)===0?R=Z:R=V,R.cmpn(0)<0&&R.iadd($),R},X.prototype.gcd=function($){if(this.isZero())return $.abs();if($.isZero())return this.abs();var Y=this.clone(),G=$.clone();Y.negative=0,G.negative=0;for(var Z=0;Y.isEven()&&G.isEven();Z++)Y.iushrn(1),G.iushrn(1);do{for(;Y.isEven();)Y.iushrn(1);for(;G.isEven();)G.iushrn(1);var V=Y.cmp(G);if(V<0){var I=Y;Y=G,G=I}else if(V===0||G.cmpn(1)===0)break;Y.isub(G)}while(!0);return G.iushln(Z)},X.prototype.invm=function($){return this.egcd($).a.umod($)},X.prototype.isEven=function(){return(this.words[0]&1)===0},X.prototype.isOdd=function(){return(this.words[0]&1)===1},X.prototype.andln=function($){return this.words[0]&$},X.prototype.bincn=function($){F(typeof $=="number");var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return this._expand(G+1),this.words[G]|=Z,this;for(var V=Z,I=G;V!==0&&I<this.length;I++){var O=this.words[I]|0;O+=V,V=O>>>26,O&=67108863,this.words[I]=O}return V!==0&&(this.words[I]=V,this.length++),this},X.prototype.isZero=function(){return this.length===1&&this.words[0]===0},X.prototype.cmpn=function($){var Y=$<0;if(this.negative!==0&&!Y)return-1;if(this.negative===0&&Y)return 1;this.strip();var G;if(this.length>1)G=1;else{Y&&($=-$),F($<=67108863,"Number is too big");var Z=this.words[0]|0;G=Z===$?0:Z<$?-1:1}return this.negative!==0?-G|0:G},X.prototype.cmp=function($){if(this.negative!==0&&$.negative===0)return-1;if(this.negative===0&&$.negative!==0)return 1;var Y=this.ucmp($);return this.negative!==0?-Y|0:Y},X.prototype.ucmp=function($){if(this.length>$.length)return 1;if(this.length<$.length)return-1;for(var Y=0,G=this.length-1;G>=0;G--){var Z=this.words[G]|0,V=$.words[G]|0;if(Z!==V){Z<V?Y=-1:Z>V&&(Y=1);break}}return Y},X.prototype.gtn=function($){return this.cmpn($)===1},X.prototype.gt=function($){return this.cmp($)===1},X.prototype.gten=function($){return this.cmpn($)>=0},X.prototype.gte=function($){return this.cmp($)>=0},X.prototype.ltn=function($){return this.cmpn($)===-1},X.prototype.lt=function($){return this.cmp($)===-1},X.prototype.lten=function($){return this.cmpn($)<=0},X.prototype.lte=function($){return this.cmp($)<=0},X.prototype.eqn=function($){return this.cmpn($)===0},X.prototype.eq=function($){return this.cmp($)===0},X.red=function($){return new p($)},X.prototype.toRed=function($){return F(!this.red,"Already a number in reduction context"),F(this.negative===0,"red works only with positives"),$.convertTo(this)._forceRed($)},X.prototype.fromRed=function(){return F(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},X.prototype._forceRed=function($){return this.red=$,this},X.prototype.forceRed=function($){return F(!this.red,"Already a number in reduction context"),this._forceRed($)},X.prototype.redAdd=function($){return F(this.red,"redAdd works only with red numbers"),this.red.add(this,$)},X.prototype.redIAdd=function($){return F(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,$)},X.prototype.redSub=function($){return F(this.red,"redSub works only with red numbers"),this.red.sub(this,$)},X.prototype.redISub=function($){return F(this.red,"redISub works only with red numbers"),this.red.isub(this,$)},X.prototype.redShl=function($){return F(this.red,"redShl works only with red numbers"),this.red.shl(this,$)},X.prototype.redMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.mul(this,$)},X.prototype.redIMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.imul(this,$)},X.prototype.redSqr=function(){return F(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},X.prototype.redISqr=function(){return F(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},X.prototype.redSqrt=function(){return F(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},X.prototype.redInvm=function(){return F(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},X.prototype.redNeg=function(){return F(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},X.prototype.redPow=function($){return F(this.red&&!$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,$)};var y={k256:null,p224:null,p192:null,p25519:null};function w($,Y){this.name=$,this.p=new X(Y,16),this.n=this.p.bitLength(),this.k=new X(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}w.prototype._tmp=function(){var $=new X(null);return $.words=new Array(Math.ceil(this.n/13)),$},w.prototype.ireduce=function($){var Y=$,G;do this.split(Y,this.tmp),Y=this.imulK(Y),Y=Y.iadd(this.tmp),G=Y.bitLength();while(G>this.n);var Z=G<this.n?-1:Y.ucmp(this.p);return Z===0?(Y.words[0]=0,Y.length=1):Z>0?Y.isub(this.p):Y.strip!==void 0?Y.strip():Y._strip(),Y},w.prototype.split=function($,Y){$.iushrn(this.n,0,Y)},w.prototype.imulK=function($){return $.imul(this.k)};function f(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(f,w),f.prototype.split=function($,Y){for(var G=4194303,Z=Math.min($.length,9),V=0;V<Z;V++)Y.words[V]=$.words[V];if(Y.length=Z,$.length<=9){$.words[0]=0,$.length=1;return}var I=$.words[9];for(Y.words[Y.length++]=I&G,V=10;V<$.length;V++){var O=$.words[V]|0;$.words[V-10]=(O&G)<<4|I>>>22,I=O}I>>>=22,$.words[V-10]=I,I===0&&$.length>10?$.length-=10:$.length-=9},f.prototype.imulK=function($){$.words[$.length]=0,$.words[$.length+1]=0,$.length+=2;for(var Y=0,G=0;G<$.length;G++){var Z=$.words[G]|0;Y+=Z*977,$.words[G]=Y&67108863,Y=Z*64+(Y/67108864|0)}return $.words[$.length-1]===0&&($.length--,$.words[$.length-1]===0&&$.length--),$};function b(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(b,w);function u(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(u,w);function Y0(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(Y0,w),Y0.prototype.imulK=function($){for(var Y=0,G=0;G<$.length;G++){var Z=($.words[G]|0)*19+Y,V=Z&67108863;Z>>>=26,$.words[G]=V,Y=Z}return Y!==0&&($.words[$.length++]=Y),$},X._prime=function($){if(y[$])return y[$];var Y;if($==="k256")Y=new f;else if($==="p224")Y=new b;else if($==="p192")Y=new u;else if($==="p25519")Y=new Y0;else throw new Error("Unknown prime "+$);return y[$]=Y,Y};function p($){if(typeof $=="string"){var Y=X._prime($);this.m=Y.p,this.prime=Y}else F($.gtn(1),"modulus must be greater than 1"),this.m=$,this.prime=null}p.prototype._verify1=function($){F($.negative===0,"red works only with positives"),F($.red,"red works only with red numbers")},p.prototype._verify2=function($,Y){F(($.negative|Y.negative)===0,"red works only with positives"),F($.red&&$.red===Y.red,"red works only with red numbers")},p.prototype.imod=function($){return this.prime?this.prime.ireduce($)._forceRed(this):$.umod(this.m)._forceRed(this)},p.prototype.neg=function($){return $.isZero()?$.clone():this.m.sub($)._forceRed(this)},p.prototype.add=function($,Y){this._verify2($,Y);var G=$.add(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G._forceRed(this)},p.prototype.iadd=function($,Y){this._verify2($,Y);var G=$.iadd(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G},p.prototype.sub=function($,Y){this._verify2($,Y);var G=$.sub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G._forceRed(this)},p.prototype.isub=function($,Y){this._verify2($,Y);var G=$.isub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G},p.prototype.shl=function($,Y){return this._verify1($),this.imod($.ushln(Y))},p.prototype.imul=function($,Y){return this._verify2($,Y),this.imod($.imul(Y))},p.prototype.mul=function($,Y){return this._verify2($,Y),this.imod($.mul(Y))},p.prototype.isqr=function($){return this.imul($,$.clone())},p.prototype.sqr=function($){return this.mul($,$)},p.prototype.sqrt=function($){if($.isZero())return $.clone();var Y=this.m.andln(3);if(F(Y%2===1),Y===3){var G=this.m.add(new X(1)).iushrn(2);return this.pow($,G)}for(var Z=this.m.subn(1),V=0;!Z.isZero()&&Z.andln(1)===0;)V++,Z.iushrn(1);F(!Z.isZero());var I=new X(1).toRed(this),O=I.redNeg(),U=this.m.subn(1).iushrn(1),Q=this.m.bitLength();for(Q=new X(2*Q*Q).toRed(this);this.pow(Q,U).cmp(O)!==0;)Q.redIAdd(O);for(var K=this.pow(Q,Z),R=this.pow($,Z.addn(1).iushrn(1)),A=this.pow($,Z),S=V;A.cmp(I)!==0;){for(var x=A,B=0;x.cmp(I)!==0;B++)x=x.redSqr();F(B<S);var c=this.pow(K,new X(1).iushln(S-B-1));R=R.redMul(c),K=c.redSqr(),A=A.redMul(K),S=B}return R},p.prototype.invm=function($){var Y=$._invmp(this.m);return Y.negative!==0?(Y.negative=0,this.imod(Y).redNeg()):this.imod(Y)},p.prototype.pow=function($,Y){if(Y.isZero())return new X(1).toRed(this);if(Y.cmpn(1)===0)return $.clone();var G=4,Z=new Array(1<<G);Z[0]=new X(1).toRed(this),Z[1]=$;for(var V=2;V<Z.length;V++)Z[V]=this.mul(Z[V-1],$);var I=Z[0],O=0,U=0,Q=Y.bitLength()%26;for(Q===0&&(Q=26),V=Y.length-1;V>=0;V--){for(var K=Y.words[V],R=Q-1;R>=0;R--){var A=K>>R&1;if(I!==Z[0]&&(I=this.sqr(I)),A===0&&O===0){U=0;continue}O<<=1,O|=A,U++,!(U!==G&&(V!==0||R!==0))&&(I=this.mul(I,Z[O]),U=0,O=0)}Q=26}return I},p.prototype.convertTo=function($){var Y=$.umod(this.m);return Y===$?Y.clone():Y},p.prototype.convertFrom=function($){var Y=$.clone();return Y.red=null,Y},X.mont=function($){return new v0($)};function v0($){p.call(this,$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new X(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(v0,p),v0.prototype.convertTo=function($){return this.imod($.ushln(this.shift))},v0.prototype.convertFrom=function($){var Y=this.imod($.mul(this.rinv));return Y.red=null,Y},v0.prototype.imul=function($,Y){if($.isZero()||Y.isZero())return $.words[0]=0,$.length=1,$;var G=$.imul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.mul=function($,Y){if($.isZero()||Y.isZero())return new X(0)._forceRed(this);var G=$.mul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.invm=function($){var Y=this.imod($._invmp(this.m).mul(this.r2));return Y._forceRed(this)}})(typeof _>"u"||_,N)}}),tY=S0({"node_modules/create-ecdh/browser.js"(N,_){var k=l$(),j=sY();_.exports=function(C){return new z(C)};var F={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};F.p224=F.secp224r1,F.p256=F.secp256r1=F.prime256v1,F.p192=F.secp192r1=F.prime192v1,F.p384=F.secp384r1,F.p521=F.secp521r1;function z(C){this.curveType=F[C],this.curveType||(this.curveType={name:C}),this.curve=new k.ec(this.curveType.name),this.keys=void 0}z.prototype.generateKeys=function(C,P){return this.keys=this.curve.genKeyPair(),this.getPublicKey(C,P)},z.prototype.computeSecret=function(C,P,T){P=P||"utf8",g0.isBuffer(C)||(C=new g0(C,P));var W=this.curve.keyFromPublic(C).getPublic(),J=W.mul(this.keys.getPrivate()).getX();return X(J,T,this.curveType.byteLength)},z.prototype.getPublicKey=function(C,P){var T=this.keys.getPublic(P==="compressed",!0);return P==="hybrid"&&(T[T.length-1]%2?T[0]=7:T[0]=6),X(T,C)},z.prototype.getPrivateKey=function(C){return X(this.keys.getPrivate(),C)},z.prototype.setPublicKey=function(C,P){return P=P||"utf8",g0.isBuffer(C)||(C=new g0(C,P)),this.keys._importPublic(C),this},z.prototype.setPrivateKey=function(C,P){P=P||"utf8",g0.isBuffer(C)||(C=new g0(C,P));var T=new j(C);return T=T.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(T),this};function X(C,P,T){Array.isArray(C)||(C=C.toArray());var W=new g0(C);if(T&&W.length<T){var J=new g0(T-W.length);J.fill(0),W=g0.concat([J,W])}return P?W.toString(P):W}}}),yQ=S0({"node_modules/public-encrypt/mgf.js"(N,_){var k=M$(),j=N0().Buffer;_.exports=function(z,X){for(var C=j.alloc(0),P=0,T;C.length<X;)T=F(P++),C=j.concat([C,k("sha1").update(z).update(T).digest()]);return C.slice(0,X)};function F(z){var X=j.allocUnsafe(4);return X.writeUInt32BE(z,0),X}}}),wQ=S0({"node_modules/public-encrypt/xor.js"(N,_){_.exports=function(k,j){for(var F=k.length,z=-1;++z<F;)k[z]^=j[z];return k}}}),t$=S0({"node_modules/public-encrypt/node_modules/bn.js/lib/bn.js"(N,_){(function(k,j){function F($,Y){if(!$)throw new Error(Y||"Assertion failed")}function z($,Y){$.super_=Y;var G=function(){};G.prototype=Y.prototype,$.prototype=new G,$.prototype.constructor=$}function X($,Y,G){if(X.isBN($))return $;this.negative=0,this.words=null,this.length=0,this.red=null,$!==null&&((Y==="le"||Y==="be")&&(G=Y,Y=10),this._init($||0,Y||10,G||"be"))}typeof k=="object"?k.exports=X:j.BN=X,X.BN=X,X.wordSize=26;var C=globalThis.Buffer;X.isBN=function($){return $ instanceof X?!0:$!==null&&typeof $=="object"&&$.constructor.wordSize===X.wordSize&&Array.isArray($.words)},X.max=function($,Y){return $.cmp(Y)>0?$:Y},X.min=function($,Y){return $.cmp(Y)<0?$:Y},X.prototype._init=function($,Y,G){if(typeof $=="number")return this._initNumber($,Y,G);if(typeof $=="object")return this._initArray($,Y,G);Y==="hex"&&(Y=16),F(Y===(Y|0)&&Y>=2&&Y<=36),$=$.toString().replace(/\s+/g,"");var Z=0;$[0]==="-"&&(Z++,this.negative=1),Z<$.length&&(Y===16?this._parseHex($,Z,G):(this._parseBase($,Y,Z),G==="le"&&this._initArray(this.toArray(),Y,G)))},X.prototype._initNumber=function($,Y,G){$<0&&(this.negative=1,$=-$),$<67108864?(this.words=[$&67108863],this.length=1):$<4503599627370496?(this.words=[$&67108863,$/67108864&67108863],this.length=2):(F($<9007199254740992),this.words=[$&67108863,$/67108864&67108863,1],this.length=3),G==="le"&&this._initArray(this.toArray(),Y,G)},X.prototype._initArray=function($,Y,G){if(F(typeof $.length=="number"),$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil($.length/3),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V,I,O=0;if(G==="be")for(Z=$.length-1,V=0;Z>=0;Z-=3)I=$[Z]|$[Z-1]<<8|$[Z-2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);else if(G==="le")for(Z=0,V=0;Z<$.length;Z+=3)I=$[Z]|$[Z+1]<<8|$[Z+2]<<16,this.words[V]|=I<<O&67108863,this.words[V+1]=I>>>26-O&67108863,O+=24,O>=26&&(O-=26,V++);return this.strip()};function P($,Y){var G=$.charCodeAt(Y);return G>=65&&G<=70?G-55:G>=97&&G<=102?G-87:G-48&15}function T($,Y,G){var Z=P($,G);return G-1>=Y&&(Z|=P($,G-1)<<4),Z}X.prototype._parseHex=function($,Y,G){this.length=Math.ceil(($.length-Y)/6),this.words=new Array(this.length);for(var Z=0;Z<this.length;Z++)this.words[Z]=0;var V=0,I=0,O;if(G==="be")for(Z=$.length-1;Z>=Y;Z-=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8;else{var U=$.length-Y;for(Z=U%2===0?Y+1:Y;Z<$.length;Z+=2)O=T($,Y,Z)<<V,this.words[I]|=O&67108863,V>=18?(V-=18,I+=1,this.words[I]|=O>>>26):V+=8}this.strip()};function W($,Y,G,Z){for(var V=0,I=Math.min($.length,G),O=Y;O<I;O++){var U=$.charCodeAt(O)-48;V*=Z,U>=49?V+=U-49+10:U>=17?V+=U-17+10:V+=U}return V}X.prototype._parseBase=function($,Y,G){this.words=[0],this.length=1;for(var Z=0,V=1;V<=67108863;V*=Y)Z++;Z--,V=V/Y|0;for(var I=$.length-G,O=I%Z,U=Math.min(I,I-O)+G,Q=0,K=G;K<U;K+=Z)Q=W($,K,K+Z,Y),this.imuln(V),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q);if(O!==0){var R=1;for(Q=W($,K,$.length,Y),K=0;K<O;K++)R*=Y;this.imuln(R),this.words[0]+Q<67108864?this.words[0]+=Q:this._iaddn(Q)}this.strip()},X.prototype.copy=function($){$.words=new Array(this.length);for(var Y=0;Y<this.length;Y++)$.words[Y]=this.words[Y];$.length=this.length,$.negative=this.negative,$.red=this.red},X.prototype.clone=function(){var $=new X(null);return this.copy($),$},X.prototype._expand=function($){for(;this.length<$;)this.words[this.length++]=0;return this},X.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},X.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},X.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var J=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],H=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],D=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];X.prototype.toString=function($,Y){$=$||10,Y=Y|0||1;var G;if($===16||$==="hex"){G="";for(var Z=0,V=0,I=0;I<this.length;I++){var O=this.words[I],U=((O<<Z|V)&16777215).toString(16);V=O>>>24-Z&16777215,V!==0||I!==this.length-1?G=J[6-U.length]+U+G:G=U+G,Z+=2,Z>=26&&(Z-=26,I--)}for(V!==0&&(G=V.toString(16)+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}if($===($|0)&&$>=2&&$<=36){var Q=H[$],K=D[$];G="";var R=this.clone();for(R.negative=0;!R.isZero();){var A=R.modn(K).toString($);R=R.idivn(K),R.isZero()?G=A+G:G=J[Q-A.length]+A+G}for(this.isZero()&&(G="0"+G);G.length%Y!==0;)G="0"+G;return this.negative!==0&&(G="-"+G),G}F(!1,"Base should be between 2 and 36")},X.prototype.toNumber=function(){var $=this.words[0];return this.length===2?$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?$+=4503599627370496+this.words[1]*67108864:this.length>2&&F(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-$:$},X.prototype.toJSON=function(){return this.toString(16)},X.prototype.toBuffer=function($,Y){return F(typeof C<"u"),this.toArrayLike(C,$,Y)},X.prototype.toArray=function($,Y){return this.toArrayLike(Array,$,Y)},X.prototype.toArrayLike=function($,Y,G){var Z=this.byteLength(),V=G||Math.max(1,Z);F(Z<=V,"byte array longer than desired length"),F(V>0,"Requested array length <= 0"),this.strip();var I=Y==="le",O=new $(V),U,Q,K=this.clone();if(I){for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[Q]=U;for(;Q<V;Q++)O[Q]=0}else{for(Q=0;Q<V-Z;Q++)O[Q]=0;for(Q=0;!K.isZero();Q++)U=K.andln(255),K.iushrn(8),O[V-Q-1]=U}return O},Math.clz32?X.prototype._countBits=function($){return 32-Math.clz32($)}:X.prototype._countBits=function($){var Y=$,G=0;return Y>=4096&&(G+=13,Y>>>=13),Y>=64&&(G+=7,Y>>>=7),Y>=8&&(G+=4,Y>>>=4),Y>=2&&(G+=2,Y>>>=2),G+Y},X.prototype._zeroBits=function($){if($===0)return 26;var Y=$,G=0;return(Y&8191)===0&&(G+=13,Y>>>=13),(Y&127)===0&&(G+=7,Y>>>=7),(Y&15)===0&&(G+=4,Y>>>=4),(Y&3)===0&&(G+=2,Y>>>=2),(Y&1)===0&&G++,G},X.prototype.bitLength=function(){var $=this.words[this.length-1],Y=this._countBits($);return(this.length-1)*26+Y};function E($){for(var Y=new Array($.bitLength()),G=0;G<Y.length;G++){var Z=G/26|0,V=G%26;Y[G]=($.words[Z]&1<<V)>>>V}return Y}X.prototype.zeroBits=function(){if(this.isZero())return 0;for(var $=0,Y=0;Y<this.length;Y++){var G=this._zeroBits(this.words[Y]);if($+=G,G!==26)break}return $},X.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},X.prototype.toTwos=function($){return this.negative!==0?this.abs().inotn($).iaddn(1):this.clone()},X.prototype.fromTwos=function($){return this.testn($-1)?this.notn($).iaddn(1).ineg():this.clone()},X.prototype.isNeg=function(){return this.negative!==0},X.prototype.neg=function(){return this.clone().ineg()},X.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},X.prototype.iuor=function($){for(;this.length<$.length;)this.words[this.length++]=0;for(var Y=0;Y<$.length;Y++)this.words[Y]=this.words[Y]|$.words[Y];return this.strip()},X.prototype.ior=function($){return F((this.negative|$.negative)===0),this.iuor($)},X.prototype.or=function($){return this.length>$.length?this.clone().ior($):$.clone().ior(this)},X.prototype.uor=function($){return this.length>$.length?this.clone().iuor($):$.clone().iuor(this)},X.prototype.iuand=function($){var Y;this.length>$.length?Y=$:Y=this;for(var G=0;G<Y.length;G++)this.words[G]=this.words[G]&$.words[G];return this.length=Y.length,this.strip()},X.prototype.iand=function($){return F((this.negative|$.negative)===0),this.iuand($)},X.prototype.and=function($){return this.length>$.length?this.clone().iand($):$.clone().iand(this)},X.prototype.uand=function($){return this.length>$.length?this.clone().iuand($):$.clone().iuand(this)},X.prototype.iuxor=function($){var Y,G;this.length>$.length?(Y=this,G=$):(Y=$,G=this);for(var Z=0;Z<G.length;Z++)this.words[Z]=Y.words[Z]^G.words[Z];if(this!==Y)for(;Z<Y.length;Z++)this.words[Z]=Y.words[Z];return this.length=Y.length,this.strip()},X.prototype.ixor=function($){return F((this.negative|$.negative)===0),this.iuxor($)},X.prototype.xor=function($){return this.length>$.length?this.clone().ixor($):$.clone().ixor(this)},X.prototype.uxor=function($){return this.length>$.length?this.clone().iuxor($):$.clone().iuxor(this)},X.prototype.inotn=function($){F(typeof $=="number"&&$>=0);var Y=Math.ceil($/26)|0,G=$%26;this._expand(Y),G>0&&Y--;for(var Z=0;Z<Y;Z++)this.words[Z]=~this.words[Z]&67108863;return G>0&&(this.words[Z]=~this.words[Z]&67108863>>26-G),this.strip()},X.prototype.notn=function($){return this.clone().inotn($)},X.prototype.setn=function($,Y){F(typeof $=="number"&&$>=0);var G=$/26|0,Z=$%26;return this._expand(G+1),Y?this.words[G]=this.words[G]|1<<Z:this.words[G]=this.words[G]&~(1<<Z),this.strip()},X.prototype.iadd=function($){var Y;if(this.negative!==0&&$.negative===0)return this.negative=0,Y=this.isub($),this.negative^=1,this._normSign();if(this.negative===0&&$.negative!==0)return $.negative=0,Y=this.isub($),$.negative=1,Y._normSign();var G,Z;this.length>$.length?(G=this,Z=$):(G=$,Z=this);for(var V=0,I=0;I<Z.length;I++)Y=(G.words[I]|0)+(Z.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;for(;V!==0&&I<G.length;I++)Y=(G.words[I]|0)+V,this.words[I]=Y&67108863,V=Y>>>26;if(this.length=G.length,V!==0)this.words[this.length]=V,this.length++;else if(G!==this)for(;I<G.length;I++)this.words[I]=G.words[I];return this},X.prototype.add=function($){var Y;return $.negative!==0&&this.negative===0?($.negative=0,Y=this.sub($),$.negative^=1,Y):$.negative===0&&this.negative!==0?(this.negative=0,Y=$.sub(this),this.negative=1,Y):this.length>$.length?this.clone().iadd($):$.clone().iadd(this)},X.prototype.isub=function($){if($.negative!==0){$.negative=0;var Y=this.iadd($);return $.negative=1,Y._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd($),this.negative=1,this._normSign();var G=this.cmp($);if(G===0)return this.negative=0,this.length=1,this.words[0]=0,this;var Z,V;G>0?(Z=this,V=$):(Z=$,V=this);for(var I=0,O=0;O<V.length;O++)Y=(Z.words[O]|0)-(V.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;for(;I!==0&&O<Z.length;O++)Y=(Z.words[O]|0)+I,I=Y>>26,this.words[O]=Y&67108863;if(I===0&&O<Z.length&&Z!==this)for(;O<Z.length;O++)this.words[O]=Z.words[O];return this.length=Math.max(this.length,O),Z!==this&&(this.negative=1),this.strip()},X.prototype.sub=function($){return this.clone().isub($)};function L($,Y,G){G.negative=Y.negative^$.negative;var Z=$.length+Y.length|0;G.length=Z,Z=Z-1|0;var V=$.words[0]|0,I=Y.words[0]|0,O=V*I,U=O&67108863,Q=O/67108864|0;G.words[0]=U;for(var K=1;K<Z;K++){for(var R=Q>>>26,A=Q&67108863,S=Math.min(K,Y.length-1),x=Math.max(0,K-$.length+1);x<=S;x++){var B=K-x|0;V=$.words[B]|0,I=Y.words[x]|0,O=V*I+A,R+=O/67108864|0,A=O&67108863}G.words[K]=A|0,Q=R|0}return Q!==0?G.words[K]=Q|0:G.length--,G.strip()}var M=function($,Y,G){var Z=$.words,V=Y.words,I=G.words,O=0,U,Q,K,R=Z[0]|0,A=R&8191,S=R>>>13,x=Z[1]|0,B=x&8191,c=x>>>13,q0=Z[2]|0,h=q0&8191,d=q0>>>13,_0=Z[3]|0,l=_0&8191,n=_0>>>13,y0=Z[4]|0,t=y0&8191,s=y0>>>13,w0=Z[5]|0,m=w0&8191,r=w0>>>13,$$=Z[6]|0,i=$$&8191,e=$$>>>13,x0=Z[7]|0,o=x0&8191,a=x0>>>13,p0=Z[8]|0,$0=p0&8191,Q0=p0>>>13,Y$=Z[9]|0,Z0=Y$&8191,G0=Y$>>>13,Z$=V[0]|0,V0=Z$&8191,U0=Z$>>>13,G$=V[1]|0,X0=G$&8191,K0=G$>>>13,V$=V[2]|0,I0=V$&8191,O0=V$>>>13,U$=V[3]|0,J0=U$&8191,F0=U$>>>13,X$=V[4]|0,A0=X$&8191,H0=X$>>>13,K$=V[5]|0,W0=K$&8191,E0=K$>>>13,I$=V[6]|0,T0=I$&8191,D0=I$>>>13,O$=V[7]|0,C0=O$&8191,L0=O$>>>13,J$=V[8]|0,R0=J$&8191,P0=J$>>>13,F$=V[9]|0,z0=F$&8191,M0=F$>>>13;G.negative=$.negative^Y.negative,G.length=19,U=Math.imul(A,V0),Q=Math.imul(A,U0),Q=Q+Math.imul(S,V0)|0,K=Math.imul(S,U0);var Q$=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(Q$>>>26)|0,Q$&=67108863,U=Math.imul(B,V0),Q=Math.imul(B,U0),Q=Q+Math.imul(c,V0)|0,K=Math.imul(c,U0),U=U+Math.imul(A,X0)|0,Q=Q+Math.imul(A,K0)|0,Q=Q+Math.imul(S,X0)|0,K=K+Math.imul(S,K0)|0;var j0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(j0>>>26)|0,j0&=67108863,U=Math.imul(h,V0),Q=Math.imul(h,U0),Q=Q+Math.imul(d,V0)|0,K=Math.imul(d,U0),U=U+Math.imul(B,X0)|0,Q=Q+Math.imul(B,K0)|0,Q=Q+Math.imul(c,X0)|0,K=K+Math.imul(c,K0)|0,U=U+Math.imul(A,I0)|0,Q=Q+Math.imul(A,O0)|0,Q=Q+Math.imul(S,I0)|0,K=K+Math.imul(S,O0)|0;var k0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(k0>>>26)|0,k0&=67108863,U=Math.imul(l,V0),Q=Math.imul(l,U0),Q=Q+Math.imul(n,V0)|0,K=Math.imul(n,U0),U=U+Math.imul(h,X0)|0,Q=Q+Math.imul(h,K0)|0,Q=Q+Math.imul(d,X0)|0,K=K+Math.imul(d,K0)|0,U=U+Math.imul(B,I0)|0,Q=Q+Math.imul(B,O0)|0,Q=Q+Math.imul(c,I0)|0,K=K+Math.imul(c,O0)|0,U=U+Math.imul(A,J0)|0,Q=Q+Math.imul(A,F0)|0,Q=Q+Math.imul(S,J0)|0,K=K+Math.imul(S,F0)|0;var f0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(f0>>>26)|0,f0&=67108863,U=Math.imul(t,V0),Q=Math.imul(t,U0),Q=Q+Math.imul(s,V0)|0,K=Math.imul(s,U0),U=U+Math.imul(l,X0)|0,Q=Q+Math.imul(l,K0)|0,Q=Q+Math.imul(n,X0)|0,K=K+Math.imul(n,K0)|0,U=U+Math.imul(h,I0)|0,Q=Q+Math.imul(h,O0)|0,Q=Q+Math.imul(d,I0)|0,K=K+Math.imul(d,O0)|0,U=U+Math.imul(B,J0)|0,Q=Q+Math.imul(B,F0)|0,Q=Q+Math.imul(c,J0)|0,K=K+Math.imul(c,F0)|0,U=U+Math.imul(A,A0)|0,Q=Q+Math.imul(A,H0)|0,Q=Q+Math.imul(S,A0)|0,K=K+Math.imul(S,H0)|0;var c0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(c0>>>26)|0,c0&=67108863,U=Math.imul(m,V0),Q=Math.imul(m,U0),Q=Q+Math.imul(r,V0)|0,K=Math.imul(r,U0),U=U+Math.imul(t,X0)|0,Q=Q+Math.imul(t,K0)|0,Q=Q+Math.imul(s,X0)|0,K=K+Math.imul(s,K0)|0,U=U+Math.imul(l,I0)|0,Q=Q+Math.imul(l,O0)|0,Q=Q+Math.imul(n,I0)|0,K=K+Math.imul(n,O0)|0,U=U+Math.imul(h,J0)|0,Q=Q+Math.imul(h,F0)|0,Q=Q+Math.imul(d,J0)|0,K=K+Math.imul(d,F0)|0,U=U+Math.imul(B,A0)|0,Q=Q+Math.imul(B,H0)|0,Q=Q+Math.imul(c,A0)|0,K=K+Math.imul(c,H0)|0,U=U+Math.imul(A,W0)|0,Q=Q+Math.imul(A,E0)|0,Q=Q+Math.imul(S,W0)|0,K=K+Math.imul(S,E0)|0;var h0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(h0>>>26)|0,h0&=67108863,U=Math.imul(i,V0),Q=Math.imul(i,U0),Q=Q+Math.imul(e,V0)|0,K=Math.imul(e,U0),U=U+Math.imul(m,X0)|0,Q=Q+Math.imul(m,K0)|0,Q=Q+Math.imul(r,X0)|0,K=K+Math.imul(r,K0)|0,U=U+Math.imul(t,I0)|0,Q=Q+Math.imul(t,O0)|0,Q=Q+Math.imul(s,I0)|0,K=K+Math.imul(s,O0)|0,U=U+Math.imul(l,J0)|0,Q=Q+Math.imul(l,F0)|0,Q=Q+Math.imul(n,J0)|0,K=K+Math.imul(n,F0)|0,U=U+Math.imul(h,A0)|0,Q=Q+Math.imul(h,H0)|0,Q=Q+Math.imul(d,A0)|0,K=K+Math.imul(d,H0)|0,U=U+Math.imul(B,W0)|0,Q=Q+Math.imul(B,E0)|0,Q=Q+Math.imul(c,W0)|0,K=K+Math.imul(c,E0)|0,U=U+Math.imul(A,T0)|0,Q=Q+Math.imul(A,D0)|0,Q=Q+Math.imul(S,T0)|0,K=K+Math.imul(S,D0)|0;var d0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(d0>>>26)|0,d0&=67108863,U=Math.imul(o,V0),Q=Math.imul(o,U0),Q=Q+Math.imul(a,V0)|0,K=Math.imul(a,U0),U=U+Math.imul(i,X0)|0,Q=Q+Math.imul(i,K0)|0,Q=Q+Math.imul(e,X0)|0,K=K+Math.imul(e,K0)|0,U=U+Math.imul(m,I0)|0,Q=Q+Math.imul(m,O0)|0,Q=Q+Math.imul(r,I0)|0,K=K+Math.imul(r,O0)|0,U=U+Math.imul(t,J0)|0,Q=Q+Math.imul(t,F0)|0,Q=Q+Math.imul(s,J0)|0,K=K+Math.imul(s,F0)|0,U=U+Math.imul(l,A0)|0,Q=Q+Math.imul(l,H0)|0,Q=Q+Math.imul(n,A0)|0,K=K+Math.imul(n,H0)|0,U=U+Math.imul(h,W0)|0,Q=Q+Math.imul(h,E0)|0,Q=Q+Math.imul(d,W0)|0,K=K+Math.imul(d,E0)|0,U=U+Math.imul(B,T0)|0,Q=Q+Math.imul(B,D0)|0,Q=Q+Math.imul(c,T0)|0,K=K+Math.imul(c,D0)|0,U=U+Math.imul(A,C0)|0,Q=Q+Math.imul(A,L0)|0,Q=Q+Math.imul(S,C0)|0,K=K+Math.imul(S,L0)|0;var b0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(b0>>>26)|0,b0&=67108863,U=Math.imul($0,V0),Q=Math.imul($0,U0),Q=Q+Math.imul(Q0,V0)|0,K=Math.imul(Q0,U0),U=U+Math.imul(o,X0)|0,Q=Q+Math.imul(o,K0)|0,Q=Q+Math.imul(a,X0)|0,K=K+Math.imul(a,K0)|0,U=U+Math.imul(i,I0)|0,Q=Q+Math.imul(i,O0)|0,Q=Q+Math.imul(e,I0)|0,K=K+Math.imul(e,O0)|0,U=U+Math.imul(m,J0)|0,Q=Q+Math.imul(m,F0)|0,Q=Q+Math.imul(r,J0)|0,K=K+Math.imul(r,F0)|0,U=U+Math.imul(t,A0)|0,Q=Q+Math.imul(t,H0)|0,Q=Q+Math.imul(s,A0)|0,K=K+Math.imul(s,H0)|0,U=U+Math.imul(l,W0)|0,Q=Q+Math.imul(l,E0)|0,Q=Q+Math.imul(n,W0)|0,K=K+Math.imul(n,E0)|0,U=U+Math.imul(h,T0)|0,Q=Q+Math.imul(h,D0)|0,Q=Q+Math.imul(d,T0)|0,K=K+Math.imul(d,D0)|0,U=U+Math.imul(B,C0)|0,Q=Q+Math.imul(B,L0)|0,Q=Q+Math.imul(c,C0)|0,K=K+Math.imul(c,L0)|0,U=U+Math.imul(A,R0)|0,Q=Q+Math.imul(A,P0)|0,Q=Q+Math.imul(S,R0)|0,K=K+Math.imul(S,P0)|0;var l0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(l0>>>26)|0,l0&=67108863,U=Math.imul(Z0,V0),Q=Math.imul(Z0,U0),Q=Q+Math.imul(G0,V0)|0,K=Math.imul(G0,U0),U=U+Math.imul($0,X0)|0,Q=Q+Math.imul($0,K0)|0,Q=Q+Math.imul(Q0,X0)|0,K=K+Math.imul(Q0,K0)|0,U=U+Math.imul(o,I0)|0,Q=Q+Math.imul(o,O0)|0,Q=Q+Math.imul(a,I0)|0,K=K+Math.imul(a,O0)|0,U=U+Math.imul(i,J0)|0,Q=Q+Math.imul(i,F0)|0,Q=Q+Math.imul(e,J0)|0,K=K+Math.imul(e,F0)|0,U=U+Math.imul(m,A0)|0,Q=Q+Math.imul(m,H0)|0,Q=Q+Math.imul(r,A0)|0,K=K+Math.imul(r,H0)|0,U=U+Math.imul(t,W0)|0,Q=Q+Math.imul(t,E0)|0,Q=Q+Math.imul(s,W0)|0,K=K+Math.imul(s,E0)|0,U=U+Math.imul(l,T0)|0,Q=Q+Math.imul(l,D0)|0,Q=Q+Math.imul(n,T0)|0,K=K+Math.imul(n,D0)|0,U=U+Math.imul(h,C0)|0,Q=Q+Math.imul(h,L0)|0,Q=Q+Math.imul(d,C0)|0,K=K+Math.imul(d,L0)|0,U=U+Math.imul(B,R0)|0,Q=Q+Math.imul(B,P0)|0,Q=Q+Math.imul(c,R0)|0,K=K+Math.imul(c,P0)|0,U=U+Math.imul(A,z0)|0,Q=Q+Math.imul(A,M0)|0,Q=Q+Math.imul(S,z0)|0,K=K+Math.imul(S,M0)|0;var o0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(o0>>>26)|0,o0&=67108863,U=Math.imul(Z0,X0),Q=Math.imul(Z0,K0),Q=Q+Math.imul(G0,X0)|0,K=Math.imul(G0,K0),U=U+Math.imul($0,I0)|0,Q=Q+Math.imul($0,O0)|0,Q=Q+Math.imul(Q0,I0)|0,K=K+Math.imul(Q0,O0)|0,U=U+Math.imul(o,J0)|0,Q=Q+Math.imul(o,F0)|0,Q=Q+Math.imul(a,J0)|0,K=K+Math.imul(a,F0)|0,U=U+Math.imul(i,A0)|0,Q=Q+Math.imul(i,H0)|0,Q=Q+Math.imul(e,A0)|0,K=K+Math.imul(e,H0)|0,U=U+Math.imul(m,W0)|0,Q=Q+Math.imul(m,E0)|0,Q=Q+Math.imul(r,W0)|0,K=K+Math.imul(r,E0)|0,U=U+Math.imul(t,T0)|0,Q=Q+Math.imul(t,D0)|0,Q=Q+Math.imul(s,T0)|0,K=K+Math.imul(s,D0)|0,U=U+Math.imul(l,C0)|0,Q=Q+Math.imul(l,L0)|0,Q=Q+Math.imul(n,C0)|0,K=K+Math.imul(n,L0)|0,U=U+Math.imul(h,R0)|0,Q=Q+Math.imul(h,P0)|0,Q=Q+Math.imul(d,R0)|0,K=K+Math.imul(d,P0)|0,U=U+Math.imul(B,z0)|0,Q=Q+Math.imul(B,M0)|0,Q=Q+Math.imul(c,z0)|0,K=K+Math.imul(c,M0)|0;var u0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(u0>>>26)|0,u0&=67108863,U=Math.imul(Z0,I0),Q=Math.imul(Z0,O0),Q=Q+Math.imul(G0,I0)|0,K=Math.imul(G0,O0),U=U+Math.imul($0,J0)|0,Q=Q+Math.imul($0,F0)|0,Q=Q+Math.imul(Q0,J0)|0,K=K+Math.imul(Q0,F0)|0,U=U+Math.imul(o,A0)|0,Q=Q+Math.imul(o,H0)|0,Q=Q+Math.imul(a,A0)|0,K=K+Math.imul(a,H0)|0,U=U+Math.imul(i,W0)|0,Q=Q+Math.imul(i,E0)|0,Q=Q+Math.imul(e,W0)|0,K=K+Math.imul(e,E0)|0,U=U+Math.imul(m,T0)|0,Q=Q+Math.imul(m,D0)|0,Q=Q+Math.imul(r,T0)|0,K=K+Math.imul(r,D0)|0,U=U+Math.imul(t,C0)|0,Q=Q+Math.imul(t,L0)|0,Q=Q+Math.imul(s,C0)|0,K=K+Math.imul(s,L0)|0,U=U+Math.imul(l,R0)|0,Q=Q+Math.imul(l,P0)|0,Q=Q+Math.imul(n,R0)|0,K=K+Math.imul(n,P0)|0,U=U+Math.imul(h,z0)|0,Q=Q+Math.imul(h,M0)|0,Q=Q+Math.imul(d,z0)|0,K=K+Math.imul(d,M0)|0;var n0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(n0>>>26)|0,n0&=67108863,U=Math.imul(Z0,J0),Q=Math.imul(Z0,F0),Q=Q+Math.imul(G0,J0)|0,K=Math.imul(G0,F0),U=U+Math.imul($0,A0)|0,Q=Q+Math.imul($0,H0)|0,Q=Q+Math.imul(Q0,A0)|0,K=K+Math.imul(Q0,H0)|0,U=U+Math.imul(o,W0)|0,Q=Q+Math.imul(o,E0)|0,Q=Q+Math.imul(a,W0)|0,K=K+Math.imul(a,E0)|0,U=U+Math.imul(i,T0)|0,Q=Q+Math.imul(i,D0)|0,Q=Q+Math.imul(e,T0)|0,K=K+Math.imul(e,D0)|0,U=U+Math.imul(m,C0)|0,Q=Q+Math.imul(m,L0)|0,Q=Q+Math.imul(r,C0)|0,K=K+Math.imul(r,L0)|0,U=U+Math.imul(t,R0)|0,Q=Q+Math.imul(t,P0)|0,Q=Q+Math.imul(s,R0)|0,K=K+Math.imul(s,P0)|0,U=U+Math.imul(l,z0)|0,Q=Q+Math.imul(l,M0)|0,Q=Q+Math.imul(n,z0)|0,K=K+Math.imul(n,M0)|0;var s0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(s0>>>26)|0,s0&=67108863,U=Math.imul(Z0,A0),Q=Math.imul(Z0,H0),Q=Q+Math.imul(G0,A0)|0,K=Math.imul(G0,H0),U=U+Math.imul($0,W0)|0,Q=Q+Math.imul($0,E0)|0,Q=Q+Math.imul(Q0,W0)|0,K=K+Math.imul(Q0,E0)|0,U=U+Math.imul(o,T0)|0,Q=Q+Math.imul(o,D0)|0,Q=Q+Math.imul(a,T0)|0,K=K+Math.imul(a,D0)|0,U=U+Math.imul(i,C0)|0,Q=Q+Math.imul(i,L0)|0,Q=Q+Math.imul(e,C0)|0,K=K+Math.imul(e,L0)|0,U=U+Math.imul(m,R0)|0,Q=Q+Math.imul(m,P0)|0,Q=Q+Math.imul(r,R0)|0,K=K+Math.imul(r,P0)|0,U=U+Math.imul(t,z0)|0,Q=Q+Math.imul(t,M0)|0,Q=Q+Math.imul(s,z0)|0,K=K+Math.imul(s,M0)|0;var t0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(t0>>>26)|0,t0&=67108863,U=Math.imul(Z0,W0),Q=Math.imul(Z0,E0),Q=Q+Math.imul(G0,W0)|0,K=Math.imul(G0,E0),U=U+Math.imul($0,T0)|0,Q=Q+Math.imul($0,D0)|0,Q=Q+Math.imul(Q0,T0)|0,K=K+Math.imul(Q0,D0)|0,U=U+Math.imul(o,C0)|0,Q=Q+Math.imul(o,L0)|0,Q=Q+Math.imul(a,C0)|0,K=K+Math.imul(a,L0)|0,U=U+Math.imul(i,R0)|0,Q=Q+Math.imul(i,P0)|0,Q=Q+Math.imul(e,R0)|0,K=K+Math.imul(e,P0)|0,U=U+Math.imul(m,z0)|0,Q=Q+Math.imul(m,M0)|0,Q=Q+Math.imul(r,z0)|0,K=K+Math.imul(r,M0)|0;var m0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(m0>>>26)|0,m0&=67108863,U=Math.imul(Z0,T0),Q=Math.imul(Z0,D0),Q=Q+Math.imul(G0,T0)|0,K=Math.imul(G0,D0),U=U+Math.imul($0,C0)|0,Q=Q+Math.imul($0,L0)|0,Q=Q+Math.imul(Q0,C0)|0,K=K+Math.imul(Q0,L0)|0,U=U+Math.imul(o,R0)|0,Q=Q+Math.imul(o,P0)|0,Q=Q+Math.imul(a,R0)|0,K=K+Math.imul(a,P0)|0,U=U+Math.imul(i,z0)|0,Q=Q+Math.imul(i,M0)|0,Q=Q+Math.imul(e,z0)|0,K=K+Math.imul(e,M0)|0;var a0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(a0>>>26)|0,a0&=67108863,U=Math.imul(Z0,C0),Q=Math.imul(Z0,L0),Q=Q+Math.imul(G0,C0)|0,K=Math.imul(G0,L0),U=U+Math.imul($0,R0)|0,Q=Q+Math.imul($0,P0)|0,Q=Q+Math.imul(Q0,R0)|0,K=K+Math.imul(Q0,P0)|0,U=U+Math.imul(o,z0)|0,Q=Q+Math.imul(o,M0)|0,Q=Q+Math.imul(a,z0)|0,K=K+Math.imul(a,M0)|0;var e0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(e0>>>26)|0,e0&=67108863,U=Math.imul(Z0,R0),Q=Math.imul(Z0,P0),Q=Q+Math.imul(G0,R0)|0,K=Math.imul(G0,P0),U=U+Math.imul($0,z0)|0,Q=Q+Math.imul($0,M0)|0,Q=Q+Math.imul(Q0,z0)|0,K=K+Math.imul(Q0,M0)|0;var r0=(O+U|0)+((Q&8191)<<13)|0;O=(K+(Q>>>13)|0)+(r0>>>26)|0,r0&=67108863,U=Math.imul(Z0,z0),Q=Math.imul(Z0,M0),Q=Q+Math.imul(G0,z0)|0,K=Math.imul(G0,M0);var i0=(O+U|0)+((Q&8191)<<13)|0;return O=(K+(Q>>>13)|0)+(i0>>>26)|0,i0&=67108863,I[0]=Q$,I[1]=j0,I[2]=k0,I[3]=f0,I[4]=c0,I[5]=h0,I[6]=d0,I[7]=b0,I[8]=l0,I[9]=o0,I[10]=u0,I[11]=n0,I[12]=s0,I[13]=t0,I[14]=m0,I[15]=a0,I[16]=e0,I[17]=r0,I[18]=i0,O!==0&&(I[19]=O,G.length++),G};Math.imul||(M=L);function v($,Y,G){G.negative=Y.negative^$.negative,G.length=$.length+Y.length;for(var Z=0,V=0,I=0;I<G.length-1;I++){var O=V;V=0;for(var U=Z&67108863,Q=Math.min(I,Y.length-1),K=Math.max(0,I-$.length+1);K<=Q;K++){var R=I-K,A=$.words[R]|0,S=Y.words[K]|0,x=A*S,B=x&67108863;O=O+(x/67108864|0)|0,B=B+U|0,U=B&67108863,O=O+(B>>>26)|0,V+=O>>>26,O&=67108863}G.words[I]=U,Z=O,O=V}return Z!==0?G.words[I]=Z:G.length--,G.strip()}function q($,Y,G){var Z=new g;return Z.mulp($,Y,G)}X.prototype.mulTo=function($,Y){var G,Z=this.length+$.length;return this.length===10&&$.length===10?G=M(this,$,Y):Z<63?G=L(this,$,Y):Z<1024?G=v(this,$,Y):G=q(this,$,Y),G};function g($,Y){this.x=$,this.y=Y}g.prototype.makeRBT=function($){for(var Y=new Array($),G=X.prototype._countBits($)-1,Z=0;Z<$;Z++)Y[Z]=this.revBin(Z,G,$);return Y},g.prototype.revBin=function($,Y,G){if($===0||$===G-1)return $;for(var Z=0,V=0;V<Y;V++)Z|=($&1)<<Y-V-1,$>>=1;return Z},g.prototype.permute=function($,Y,G,Z,V,I){for(var O=0;O<I;O++)Z[O]=Y[$[O]],V[O]=G[$[O]]},g.prototype.transform=function($,Y,G,Z,V,I){this.permute(I,$,Y,G,Z,V);for(var O=1;O<V;O<<=1)for(var U=O<<1,Q=Math.cos(2*Math.PI/U),K=Math.sin(2*Math.PI/U),R=0;R<V;R+=U)for(var A=Q,S=K,x=0;x<O;x++){var B=G[R+x],c=Z[R+x],q0=G[R+x+O],h=Z[R+x+O],d=A*q0-S*h;h=A*h+S*q0,q0=d,G[R+x]=B+q0,Z[R+x]=c+h,G[R+x+O]=B-q0,Z[R+x+O]=c-h,x!==U&&(d=Q*A-K*S,S=Q*S+K*A,A=d)}},g.prototype.guessLen13b=function($,Y){var G=Math.max(Y,$)|1,Z=G&1,V=0;for(G=G/2|0;G;G=G>>>1)V++;return 1<<V+1+Z},g.prototype.conjugate=function($,Y,G){if(!(G<=1))for(var Z=0;Z<G/2;Z++){var V=$[Z];$[Z]=$[G-Z-1],$[G-Z-1]=V,V=Y[Z],Y[Z]=-Y[G-Z-1],Y[G-Z-1]=-V}},g.prototype.normalize13b=function($,Y){for(var G=0,Z=0;Z<Y/2;Z++){var V=Math.round($[2*Z+1]/Y)*8192+Math.round($[2*Z]/Y)+G;$[Z]=V&67108863,V<67108864?G=0:G=V/67108864|0}return $},g.prototype.convert13b=function($,Y,G,Z){for(var V=0,I=0;I<Y;I++)V=V+($[I]|0),G[2*I]=V&8191,V=V>>>13,G[2*I+1]=V&8191,V=V>>>13;for(I=2*Y;I<Z;++I)G[I]=0;F(V===0),F((V&-8192)===0)},g.prototype.stub=function($){for(var Y=new Array($),G=0;G<$;G++)Y[G]=0;return Y},g.prototype.mulp=function($,Y,G){var Z=2*this.guessLen13b($.length,Y.length),V=this.makeRBT(Z),I=this.stub(Z),O=new Array(Z),U=new Array(Z),Q=new Array(Z),K=new Array(Z),R=new Array(Z),A=new Array(Z),S=G.words;S.length=Z,this.convert13b($.words,$.length,O,Z),this.convert13b(Y.words,Y.length,K,Z),this.transform(O,I,U,Q,Z,V),this.transform(K,I,R,A,Z,V);for(var x=0;x<Z;x++){var B=U[x]*R[x]-Q[x]*A[x];Q[x]=U[x]*A[x]+Q[x]*R[x],U[x]=B}return this.conjugate(U,Q,Z),this.transform(U,Q,S,I,Z,V),this.conjugate(S,I,Z),this.normalize13b(S,Z),G.negative=$.negative^Y.negative,G.length=$.length+Y.length,G.strip()},X.prototype.mul=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),this.mulTo($,Y)},X.prototype.mulf=function($){var Y=new X(null);return Y.words=new Array(this.length+$.length),q(this,$,Y)},X.prototype.imul=function($){return this.clone().mulTo($,this)},X.prototype.imuln=function($){F(typeof $=="number"),F($<67108864);for(var Y=0,G=0;G<this.length;G++){var Z=(this.words[G]|0)*$,V=(Z&67108863)+(Y&67108863);Y>>=26,Y+=Z/67108864|0,Y+=V>>>26,this.words[G]=V&67108863}return Y!==0&&(this.words[G]=Y,this.length++),this},X.prototype.muln=function($){return this.clone().imuln($)},X.prototype.sqr=function(){return this.mul(this)},X.prototype.isqr=function(){return this.imul(this.clone())},X.prototype.pow=function($){var Y=E($);if(Y.length===0)return new X(1);for(var G=this,Z=0;Z<Y.length&&Y[Z]===0;Z++,G=G.sqr());if(++Z<Y.length)for(var V=G.sqr();Z<Y.length;Z++,V=V.sqr())Y[Z]!==0&&(G=G.mul(V));return G},X.prototype.iushln=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=67108863>>>26-Y<<26-Y,V;if(Y!==0){var I=0;for(V=0;V<this.length;V++){var O=this.words[V]&Z,U=(this.words[V]|0)-O<<Y;this.words[V]=U|I,I=O>>>26-Y}I&&(this.words[V]=I,this.length++)}if(G!==0){for(V=this.length-1;V>=0;V--)this.words[V+G]=this.words[V];for(V=0;V<G;V++)this.words[V]=0;this.length+=G}return this.strip()},X.prototype.ishln=function($){return F(this.negative===0),this.iushln($)},X.prototype.iushrn=function($,Y,G){F(typeof $=="number"&&$>=0);var Z;Y?Z=(Y-Y%26)/26:Z=0;var V=$%26,I=Math.min(($-V)/26,this.length),O=67108863^67108863>>>V<<V,U=G;if(Z-=I,Z=Math.max(0,Z),U){for(var Q=0;Q<I;Q++)U.words[Q]=this.words[Q];U.length=I}if(I!==0)if(this.length>I)for(this.length-=I,Q=0;Q<this.length;Q++)this.words[Q]=this.words[Q+I];else this.words[0]=0,this.length=1;var K=0;for(Q=this.length-1;Q>=0&&(K!==0||Q>=Z);Q--){var R=this.words[Q]|0;this.words[Q]=K<<26-V|R>>>V,K=R&O}return U&&K!==0&&(U.words[U.length++]=K),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},X.prototype.ishrn=function($,Y,G){return F(this.negative===0),this.iushrn($,Y,G)},X.prototype.shln=function($){return this.clone().ishln($)},X.prototype.ushln=function($){return this.clone().iushln($)},X.prototype.shrn=function($){return this.clone().ishrn($)},X.prototype.ushrn=function($){return this.clone().iushrn($)},X.prototype.testn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return!1;var V=this.words[G];return!!(V&Z)},X.prototype.imaskn=function($){F(typeof $=="number"&&$>=0);var Y=$%26,G=($-Y)/26;if(F(this.negative===0,"imaskn works only with positive numbers"),this.length<=G)return this;if(Y!==0&&G++,this.length=Math.min(G,this.length),Y!==0){var Z=67108863^67108863>>>Y<<Y;this.words[this.length-1]&=Z}return this.strip()},X.prototype.maskn=function($){return this.clone().imaskn($)},X.prototype.iaddn=function($){return F(typeof $=="number"),F($<67108864),$<0?this.isubn(-$):this.negative!==0?this.length===1&&(this.words[0]|0)<$?(this.words[0]=$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn($),this.negative=1,this):this._iaddn($)},X.prototype._iaddn=function($){this.words[0]+=$;for(var Y=0;Y<this.length&&this.words[Y]>=67108864;Y++)this.words[Y]-=67108864,Y===this.length-1?this.words[Y+1]=1:this.words[Y+1]++;return this.length=Math.max(this.length,Y+1),this},X.prototype.isubn=function($){if(F(typeof $=="number"),F($<67108864),$<0)return this.iaddn(-$);if(this.negative!==0)return this.negative=0,this.iaddn($),this.negative=1,this;if(this.words[0]-=$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var Y=0;Y<this.length&&this.words[Y]<0;Y++)this.words[Y]+=67108864,this.words[Y+1]-=1;return this.strip()},X.prototype.addn=function($){return this.clone().iaddn($)},X.prototype.subn=function($){return this.clone().isubn($)},X.prototype.iabs=function(){return this.negative=0,this},X.prototype.abs=function(){return this.clone().iabs()},X.prototype._ishlnsubmul=function($,Y,G){var Z=$.length+G,V;this._expand(Z);var I,O=0;for(V=0;V<$.length;V++){I=(this.words[V+G]|0)+O;var U=($.words[V]|0)*Y;I-=U&67108863,O=(I>>26)-(U/67108864|0),this.words[V+G]=I&67108863}for(;V<this.length-G;V++)I=(this.words[V+G]|0)+O,O=I>>26,this.words[V+G]=I&67108863;if(O===0)return this.strip();for(F(O===-1),O=0,V=0;V<this.length;V++)I=-(this.words[V]|0)+O,O=I>>26,this.words[V]=I&67108863;return this.negative=1,this.strip()},X.prototype._wordDiv=function($,Y){var G=this.length-$.length,Z=this.clone(),V=$,I=V.words[V.length-1]|0,O=this._countBits(I);G=26-O,G!==0&&(V=V.ushln(G),Z.iushln(G),I=V.words[V.length-1]|0);var U=Z.length-V.length,Q;if(Y!=="mod"){Q=new X(null),Q.length=U+1,Q.words=new Array(Q.length);for(var K=0;K<Q.length;K++)Q.words[K]=0}var R=Z.clone()._ishlnsubmul(V,1,U);R.negative===0&&(Z=R,Q&&(Q.words[U]=1));for(var A=U-1;A>=0;A--){var S=(Z.words[V.length+A]|0)*67108864+(Z.words[V.length+A-1]|0);for(S=Math.min(S/I|0,67108863),Z._ishlnsubmul(V,S,A);Z.negative!==0;)S--,Z.negative=0,Z._ishlnsubmul(V,1,A),Z.isZero()||(Z.negative^=1);Q&&(Q.words[A]=S)}return Q&&Q.strip(),Z.strip(),Y!=="div"&&G!==0&&Z.iushrn(G),{div:Q||null,mod:Z}},X.prototype.divmod=function($,Y,G){if(F(!$.isZero()),this.isZero())return{div:new X(0),mod:new X(0)};var Z,V,I;return this.negative!==0&&$.negative===0?(I=this.neg().divmod($,Y),Y!=="mod"&&(Z=I.div.neg()),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.iadd($)),{div:Z,mod:V}):this.negative===0&&$.negative!==0?(I=this.divmod($.neg(),Y),Y!=="mod"&&(Z=I.div.neg()),{div:Z,mod:I.mod}):(this.negative&$.negative)!==0?(I=this.neg().divmod($.neg(),Y),Y!=="div"&&(V=I.mod.neg(),G&&V.negative!==0&&V.isub($)),{div:I.div,mod:V}):$.length>this.length||this.cmp($)<0?{div:new X(0),mod:this}:$.length===1?Y==="div"?{div:this.divn($.words[0]),mod:null}:Y==="mod"?{div:null,mod:new X(this.modn($.words[0]))}:{div:this.divn($.words[0]),mod:new X(this.modn($.words[0]))}:this._wordDiv($,Y)},X.prototype.div=function($){return this.divmod($,"div",!1).div},X.prototype.mod=function($){return this.divmod($,"mod",!1).mod},X.prototype.umod=function($){return this.divmod($,"mod",!0).mod},X.prototype.divRound=function($){var Y=this.divmod($);if(Y.mod.isZero())return Y.div;var G=Y.div.negative!==0?Y.mod.isub($):Y.mod,Z=$.ushrn(1),V=$.andln(1),I=G.cmp(Z);return I<0||V===1&&I===0?Y.div:Y.div.negative!==0?Y.div.isubn(1):Y.div.iaddn(1)},X.prototype.modn=function($){F($<=67108863);for(var Y=(1<<26)%$,G=0,Z=this.length-1;Z>=0;Z--)G=(Y*G+(this.words[Z]|0))%$;return G},X.prototype.idivn=function($){F($<=67108863);for(var Y=0,G=this.length-1;G>=0;G--){var Z=(this.words[G]|0)+Y*67108864;this.words[G]=Z/$|0,Y=Z%$}return this.strip()},X.prototype.divn=function($){return this.clone().idivn($)},X.prototype.egcd=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=new X(0),O=new X(1),U=0;Y.isEven()&&G.isEven();)Y.iushrn(1),G.iushrn(1),++U;for(var Q=G.clone(),K=Y.clone();!Y.isZero();){for(var R=0,A=1;(Y.words[0]&A)===0&&R<26;++R,A<<=1);if(R>0)for(Y.iushrn(R);R-- >0;)(Z.isOdd()||V.isOdd())&&(Z.iadd(Q),V.isub(K)),Z.iushrn(1),V.iushrn(1);for(var S=0,x=1;(G.words[0]&x)===0&&S<26;++S,x<<=1);if(S>0)for(G.iushrn(S);S-- >0;)(I.isOdd()||O.isOdd())&&(I.iadd(Q),O.isub(K)),I.iushrn(1),O.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(I),V.isub(O)):(G.isub(Y),I.isub(Z),O.isub(V))}return{a:I,b:O,gcd:G.iushln(U)}},X.prototype._invmp=function($){F($.negative===0),F(!$.isZero());var Y=this,G=$.clone();Y.negative!==0?Y=Y.umod($):Y=Y.clone();for(var Z=new X(1),V=new X(0),I=G.clone();Y.cmpn(1)>0&&G.cmpn(1)>0;){for(var O=0,U=1;(Y.words[0]&U)===0&&O<26;++O,U<<=1);if(O>0)for(Y.iushrn(O);O-- >0;)Z.isOdd()&&Z.iadd(I),Z.iushrn(1);for(var Q=0,K=1;(G.words[0]&K)===0&&Q<26;++Q,K<<=1);if(Q>0)for(G.iushrn(Q);Q-- >0;)V.isOdd()&&V.iadd(I),V.iushrn(1);Y.cmp(G)>=0?(Y.isub(G),Z.isub(V)):(G.isub(Y),V.isub(Z))}var R;return Y.cmpn(1)===0?R=Z:R=V,R.cmpn(0)<0&&R.iadd($),R},X.prototype.gcd=function($){if(this.isZero())return $.abs();if($.isZero())return this.abs();var Y=this.clone(),G=$.clone();Y.negative=0,G.negative=0;for(var Z=0;Y.isEven()&&G.isEven();Z++)Y.iushrn(1),G.iushrn(1);do{for(;Y.isEven();)Y.iushrn(1);for(;G.isEven();)G.iushrn(1);var V=Y.cmp(G);if(V<0){var I=Y;Y=G,G=I}else if(V===0||G.cmpn(1)===0)break;Y.isub(G)}while(!0);return G.iushln(Z)},X.prototype.invm=function($){return this.egcd($).a.umod($)},X.prototype.isEven=function(){return(this.words[0]&1)===0},X.prototype.isOdd=function(){return(this.words[0]&1)===1},X.prototype.andln=function($){return this.words[0]&$},X.prototype.bincn=function($){F(typeof $=="number");var Y=$%26,G=($-Y)/26,Z=1<<Y;if(this.length<=G)return this._expand(G+1),this.words[G]|=Z,this;for(var V=Z,I=G;V!==0&&I<this.length;I++){var O=this.words[I]|0;O+=V,V=O>>>26,O&=67108863,this.words[I]=O}return V!==0&&(this.words[I]=V,this.length++),this},X.prototype.isZero=function(){return this.length===1&&this.words[0]===0},X.prototype.cmpn=function($){var Y=$<0;if(this.negative!==0&&!Y)return-1;if(this.negative===0&&Y)return 1;this.strip();var G;if(this.length>1)G=1;else{Y&&($=-$),F($<=67108863,"Number is too big");var Z=this.words[0]|0;G=Z===$?0:Z<$?-1:1}return this.negative!==0?-G|0:G},X.prototype.cmp=function($){if(this.negative!==0&&$.negative===0)return-1;if(this.negative===0&&$.negative!==0)return 1;var Y=this.ucmp($);return this.negative!==0?-Y|0:Y},X.prototype.ucmp=function($){if(this.length>$.length)return 1;if(this.length<$.length)return-1;for(var Y=0,G=this.length-1;G>=0;G--){var Z=this.words[G]|0,V=$.words[G]|0;if(Z!==V){Z<V?Y=-1:Z>V&&(Y=1);break}}return Y},X.prototype.gtn=function($){return this.cmpn($)===1},X.prototype.gt=function($){return this.cmp($)===1},X.prototype.gten=function($){return this.cmpn($)>=0},X.prototype.gte=function($){return this.cmp($)>=0},X.prototype.ltn=function($){return this.cmpn($)===-1},X.prototype.lt=function($){return this.cmp($)===-1},X.prototype.lten=function($){return this.cmpn($)<=0},X.prototype.lte=function($){return this.cmp($)<=0},X.prototype.eqn=function($){return this.cmpn($)===0},X.prototype.eq=function($){return this.cmp($)===0},X.red=function($){return new p($)},X.prototype.toRed=function($){return F(!this.red,"Already a number in reduction context"),F(this.negative===0,"red works only with positives"),$.convertTo(this)._forceRed($)},X.prototype.fromRed=function(){return F(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},X.prototype._forceRed=function($){return this.red=$,this},X.prototype.forceRed=function($){return F(!this.red,"Already a number in reduction context"),this._forceRed($)},X.prototype.redAdd=function($){return F(this.red,"redAdd works only with red numbers"),this.red.add(this,$)},X.prototype.redIAdd=function($){return F(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,$)},X.prototype.redSub=function($){return F(this.red,"redSub works only with red numbers"),this.red.sub(this,$)},X.prototype.redISub=function($){return F(this.red,"redISub works only with red numbers"),this.red.isub(this,$)},X.prototype.redShl=function($){return F(this.red,"redShl works only with red numbers"),this.red.shl(this,$)},X.prototype.redMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.mul(this,$)},X.prototype.redIMul=function($){return F(this.red,"redMul works only with red numbers"),this.red._verify2(this,$),this.red.imul(this,$)},X.prototype.redSqr=function(){return F(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},X.prototype.redISqr=function(){return F(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},X.prototype.redSqrt=function(){return F(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},X.prototype.redInvm=function(){return F(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},X.prototype.redNeg=function(){return F(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},X.prototype.redPow=function($){return F(this.red&&!$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,$)};var y={k256:null,p224:null,p192:null,p25519:null};function w($,Y){this.name=$,this.p=new X(Y,16),this.n=this.p.bitLength(),this.k=new X(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}w.prototype._tmp=function(){var $=new X(null);return $.words=new Array(Math.ceil(this.n/13)),$},w.prototype.ireduce=function($){var Y=$,G;do this.split(Y,this.tmp),Y=this.imulK(Y),Y=Y.iadd(this.tmp),G=Y.bitLength();while(G>this.n);var Z=G<this.n?-1:Y.ucmp(this.p);return Z===0?(Y.words[0]=0,Y.length=1):Z>0?Y.isub(this.p):Y.strip!==void 0?Y.strip():Y._strip(),Y},w.prototype.split=function($,Y){$.iushrn(this.n,0,Y)},w.prototype.imulK=function($){return $.imul(this.k)};function f(){w.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}z(f,w),f.prototype.split=function($,Y){for(var G=4194303,Z=Math.min($.length,9),V=0;V<Z;V++)Y.words[V]=$.words[V];if(Y.length=Z,$.length<=9){$.words[0]=0,$.length=1;return}var I=$.words[9];for(Y.words[Y.length++]=I&G,V=10;V<$.length;V++){var O=$.words[V]|0;$.words[V-10]=(O&G)<<4|I>>>22,I=O}I>>>=22,$.words[V-10]=I,I===0&&$.length>10?$.length-=10:$.length-=9},f.prototype.imulK=function($){$.words[$.length]=0,$.words[$.length+1]=0,$.length+=2;for(var Y=0,G=0;G<$.length;G++){var Z=$.words[G]|0;Y+=Z*977,$.words[G]=Y&67108863,Y=Z*64+(Y/67108864|0)}return $.words[$.length-1]===0&&($.length--,$.words[$.length-1]===0&&$.length--),$};function b(){w.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}z(b,w);function u(){w.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}z(u,w);function Y0(){w.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}z(Y0,w),Y0.prototype.imulK=function($){for(var Y=0,G=0;G<$.length;G++){var Z=($.words[G]|0)*19+Y,V=Z&67108863;Z>>>=26,$.words[G]=V,Y=Z}return Y!==0&&($.words[$.length++]=Y),$},X._prime=function($){if(y[$])return y[$];var Y;if($==="k256")Y=new f;else if($==="p224")Y=new b;else if($==="p192")Y=new u;else if($==="p25519")Y=new Y0;else throw new Error("Unknown prime "+$);return y[$]=Y,Y};function p($){if(typeof $=="string"){var Y=X._prime($);this.m=Y.p,this.prime=Y}else F($.gtn(1),"modulus must be greater than 1"),this.m=$,this.prime=null}p.prototype._verify1=function($){F($.negative===0,"red works only with positives"),F($.red,"red works only with red numbers")},p.prototype._verify2=function($,Y){F(($.negative|Y.negative)===0,"red works only with positives"),F($.red&&$.red===Y.red,"red works only with red numbers")},p.prototype.imod=function($){return this.prime?this.prime.ireduce($)._forceRed(this):$.umod(this.m)._forceRed(this)},p.prototype.neg=function($){return $.isZero()?$.clone():this.m.sub($)._forceRed(this)},p.prototype.add=function($,Y){this._verify2($,Y);var G=$.add(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G._forceRed(this)},p.prototype.iadd=function($,Y){this._verify2($,Y);var G=$.iadd(Y);return G.cmp(this.m)>=0&&G.isub(this.m),G},p.prototype.sub=function($,Y){this._verify2($,Y);var G=$.sub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G._forceRed(this)},p.prototype.isub=function($,Y){this._verify2($,Y);var G=$.isub(Y);return G.cmpn(0)<0&&G.iadd(this.m),G},p.prototype.shl=function($,Y){return this._verify1($),this.imod($.ushln(Y))},p.prototype.imul=function($,Y){return this._verify2($,Y),this.imod($.imul(Y))},p.prototype.mul=function($,Y){return this._verify2($,Y),this.imod($.mul(Y))},p.prototype.isqr=function($){return this.imul($,$.clone())},p.prototype.sqr=function($){return this.mul($,$)},p.prototype.sqrt=function($){if($.isZero())return $.clone();var Y=this.m.andln(3);if(F(Y%2===1),Y===3){var G=this.m.add(new X(1)).iushrn(2);return this.pow($,G)}for(var Z=this.m.subn(1),V=0;!Z.isZero()&&Z.andln(1)===0;)V++,Z.iushrn(1);F(!Z.isZero());var I=new X(1).toRed(this),O=I.redNeg(),U=this.m.subn(1).iushrn(1),Q=this.m.bitLength();for(Q=new X(2*Q*Q).toRed(this);this.pow(Q,U).cmp(O)!==0;)Q.redIAdd(O);for(var K=this.pow(Q,Z),R=this.pow($,Z.addn(1).iushrn(1)),A=this.pow($,Z),S=V;A.cmp(I)!==0;){for(var x=A,B=0;x.cmp(I)!==0;B++)x=x.redSqr();F(B<S);var c=this.pow(K,new X(1).iushln(S-B-1));R=R.redMul(c),K=c.redSqr(),A=A.redMul(K),S=B}return R},p.prototype.invm=function($){var Y=$._invmp(this.m);return Y.negative!==0?(Y.negative=0,this.imod(Y).redNeg()):this.imod(Y)},p.prototype.pow=function($,Y){if(Y.isZero())return new X(1).toRed(this);if(Y.cmpn(1)===0)return $.clone();var G=4,Z=new Array(1<<G);Z[0]=new X(1).toRed(this),Z[1]=$;for(var V=2;V<Z.length;V++)Z[V]=this.mul(Z[V-1],$);var I=Z[0],O=0,U=0,Q=Y.bitLength()%26;for(Q===0&&(Q=26),V=Y.length-1;V>=0;V--){for(var K=Y.words[V],R=Q-1;R>=0;R--){var A=K>>R&1;if(I!==Z[0]&&(I=this.sqr(I)),A===0&&O===0){U=0;continue}O<<=1,O|=A,U++,!(U!==G&&(V!==0||R!==0))&&(I=this.mul(I,Z[O]),U=0,O=0)}Q=26}return I},p.prototype.convertTo=function($){var Y=$.umod(this.m);return Y===$?Y.clone():Y},p.prototype.convertFrom=function($){var Y=$.clone();return Y.red=null,Y},X.mont=function($){return new v0($)};function v0($){p.call(this,$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new X(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}z(v0,p),v0.prototype.convertTo=function($){return this.imod($.ushln(this.shift))},v0.prototype.convertFrom=function($){var Y=this.imod($.mul(this.rinv));return Y.red=null,Y},v0.prototype.imul=function($,Y){if($.isZero()||Y.isZero())return $.words[0]=0,$.length=1,$;var G=$.imul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.mul=function($,Y){if($.isZero()||Y.isZero())return new X(0)._forceRed(this);var G=$.mul(Y),Z=G.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),V=G.isub(Z).iushrn(this.shift),I=V;return V.cmp(this.m)>=0?I=V.isub(this.m):V.cmpn(0)<0&&(I=V.iadd(this.m)),I._forceRed(this)},v0.prototype.invm=function($){var Y=this.imod($._invmp(this.m).mul(this.r2));return Y._forceRed(this)}})(typeof _>"u"||_,N)}}),{CryptoHasher:mY}=globalThis.Bun,pQ=S0({"node_modules/public-encrypt/withPublic.js"(N,_){var k=t$(),j=N0().Buffer;function F(z,X){return j.from(z.toRed(k.mont(X.modulus)).redPow(new k(X.publicExponent)).fromRed().toArray())}_.exports=F}}),aY=S0({"node_modules/public-encrypt/publicEncrypt.js"(N,_){var k=g$(),j=L$(),F=M$(),z=yQ(),X=wQ(),C=t$(),P=pQ(),T=h$(),W=N0().Buffer;_.exports=function(E,L,M){var v;E.padding?v=E.padding:M?v=1:v=4;var q=k(E),g;if(v===4)g=J(q,L);else if(v===1)g=H(q,L,M);else if(v===3){if(g=new C(L),g.cmp(q.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return M?T(g,q):P(g,q)};function J(E,L){var M=E.modulus.byteLength(),v=L.length,q=F("sha1").update(W.alloc(0)).digest(),g=q.length,y=2*g;if(v>M-y-2)throw new Error("message too long");var w=W.alloc(M-v-y-2),f=M-g-1,b=j(g),u=X(W.concat([q,w,W.alloc(1,1),L],f),z(b,f)),Y0=X(b,z(u,g));return new C(W.concat([W.alloc(1),Y0,u],M))}function H(E,L,M){var v=L.length,q=E.modulus.byteLength();if(v>q-11)throw new Error("message too long");var g;return M?g=W.alloc(q-v-3,255):g=D(q-v-3),new C(W.concat([W.from([0,M?1:2]),g,W.alloc(1),L],q))}function D(E){for(var L=W.allocUnsafe(E),M=0,v=j(E*2),q=0,g;M<E;)q===v.length&&(v=j(E*2),q=0),g=v[q++],g&&(L[M++]=g);return L}}}),eY=S0({"node_modules/public-encrypt/privateDecrypt.js"(N,_){var k=g$(),j=yQ(),F=wQ(),z=t$(),X=h$(),C=M$(),P=pQ(),T=N0().Buffer;_.exports=function(D,E,L){var M;D.padding?M=D.padding:L?M=1:M=4;var v=k(D),q=v.modulus.byteLength();if(E.length>q||new z(E).cmp(v.modulus)>=0)throw new Error("decryption error");var g;L?g=P(new z(E),v):g=X(E,v);var y=T.alloc(q-g.length);if(g=T.concat([y,g],q),M===4)return W(v,g);if(M===1)return J(v,g,L);if(M===3)return g;throw new Error("unknown padding")};function W(D,E){var L=D.modulus.byteLength(),M=C("sha1").update(T.alloc(0)).digest(),v=M.length;if(E[0]!==0)throw new Error("decryption error");var q=E.slice(1,v+1),g=E.slice(v+1),y=F(q,j(g,v)),w=F(g,j(y,L-v-1));if(H(M,w.slice(0,v)))throw new Error("decryption error");for(var f=v;w[f]===0;)f++;if(w[f++]!==1)throw new Error("decryption error");return w.slice(f)}function J(D,E,L){for(var M=E.slice(0,2),v=2,q=0;E[v++]!==0;)if(v>=E.length){q++;break}var g=E.slice(2,v-1);if((M.toString("hex")!=="0002"&&!L||M.toString("hex")!=="0001"&&L)&&q++,g.length<8&&q++,q)throw new Error("decryption error");return E.slice(v)}function H(D,E){D=T.from(D),E=T.from(E);var L=0,M=D.length;D.length!==E.length&&(L++,M=Math.min(D.length,E.length));for(var v=-1;++v<M;)L+=D[v]^E[v];return L}}}),rY=S0({"node_modules/public-encrypt/browser.js"(N){N.publicEncrypt=aY(),N.privateDecrypt=eY(),N.privateEncrypt=function(_,k){return N.publicEncrypt(_,k,!0)},N.publicDecrypt=function(_,k){return N.privateDecrypt(_,k,!0)}}}),iY=S0({"node_modules/randomfill/browser.js"(N){var _=N0(),k=L$(),j=_.Buffer,F=_.kMaxLength,z=Math.pow(2,32)-1;function X(J,H){if(typeof J!="number"||J!==J)throw new TypeError("offset must be a number");if(J>z||J<0)throw new TypeError("offset must be a uint32");if(J>F||J>H)throw new RangeError("offset out of range")}function C(J,H,D){if(typeof J!="number"||J!==J)throw new TypeError("size must be a number");if(J>z||J<0)throw new TypeError("size must be a uint32");if(J+H>D||J>F)throw new RangeError("buffer too small")}N.randomFill=P,N.randomFillSync=W;function P(J,H,D,E){if(!j.isBuffer(J)&&!(J instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof H=="function")E=H,H=0,D=J.length;else if(typeof D=="function")E=D,D=J.length-H;else if(typeof E!="function")throw new TypeError('"cb" argument must be a function');return X(H,J.length),C(D,H,J.length),T(J,H,D,E)}function T(J,H,D,E){if(E){k(D,function(M,v){if(M)return E(M);v.copy(J,H),E(null,J)});return}var L=k(D);return L.copy(J,H),J}function W(J,H,D){if(typeof H>"u"&&(H=0),!j.isBuffer(J)&&!(J instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return X(H,J.length),D===void 0&&(D=J.length-H),C(D,H,J.length),T(J,H,D)}}}),$Z=S0({"node_modules/crypto-browserify/index.js"(N){N.randomBytes=N.rng=N.pseudoRandomBytes=N.prng=L$(),N.createHash=M$(),N.Hash=N.createHash.Hash,N.createHmac=N.Hmac=XQ();var _=aQ(),k=Object.keys(_),j=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(k);N.getHashes=function(){return j};var F=AQ();N.pbkdf2=F.pbkdf2,N.pbkdf2Sync=F.pbkdf2Sync;var z=FY();N.Cipher=z.Cipher,N.createCipher=z.createCipher,N.Cipheriv=z.Cipheriv,N.createCipheriv=z.createCipheriv,N.Decipher=z.Decipher,N.createDecipher=z.createDecipher,N.Decipheriv=z.Decipheriv,N.createDecipheriv=z.createDecipheriv,N.getCiphers=z.getCiphers,N.listCiphers=z.listCiphers;var X=EY();N.DiffieHellmanGroup=X.DiffieHellmanGroup,N.createDiffieHellmanGroup=X.createDiffieHellmanGroup,N.getDiffieHellman=X.getDiffieHellman,N.createDiffieHellman=X.createDiffieHellman,N.DiffieHellman=X.DiffieHellman;var C=nY();N.createSign=C.createSign,N.Sign=C.Sign,N.createVerify=C.createVerify,N.Verify=C.Verify,N.createECDH=tY();var P=rY();N.publicEncrypt=P.publicEncrypt,N.privateEncrypt=P.privateEncrypt,N.publicDecrypt=P.publicDecrypt,N.privateDecrypt=P.privateDecrypt,N.getRandomValues=(W)=>H$.getRandomValues(W);var T=iY();N.randomFill=T.randomFill,N.randomFillSync=T.randomFillSync,N.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
-`))},N.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}}),m$={...$Z(),[Symbol.for("CommonJS")]:0},z$="buffer",QZ=(N)=>H$.getRandomValues(N),YZ=()=>H$.randomUUID(),ZZ=(...N)=>H$.randomInt(...N),B$="timingSafeEqual"in H$?(N,_)=>{let{byteLength:k}=N,{byteLength:j}=_;if(typeof k!="number"||typeof j!="number")throw new TypeError("Input must be an array buffer view");if(k!==j)throw new RangeError("Input buffers must have the same length");return H$.timingSafeEqual(N,_)}:void 0,fQ="scryptSync"in H$?(N,_,k,j)=>{let F=H$.scryptSync(N,_,k,j);return z$!=="buffer"?new g0(F).toString(z$):new g0(F)}:void 0,cQ="scryptSync"in H$?function(N,_,k,j,F){if(typeof j=="function"&&(F=j,j=void 0),typeof F!="function"){var z=new TypeError("callback must be a function");throw z.code="ERR_INVALID_CALLBACK",z}try{let X=H$.scryptSync(N,_,k,j);process.nextTick(F,null,z$!=="buffer"?new g0(X).toString(z$):new g0(X))}catch(X){throw X}}:void 0;B$&&(Object.defineProperty(B$,"name",{value:"::bunternal::"}),Object.defineProperty(cQ,"name",{value:"::bunternal::"}),Object.defineProperty(fQ,"name",{value:"::bunternal::"}));var e$=H$;oQ(m$,{DEFAULT_ENCODING:()=>z$,getRandomValues:()=>QZ,randomUUID:()=>YZ,randomInt:()=>ZZ,scrypt:()=>cQ,scryptSync:()=>fQ,timingSafeEqual:()=>B$,webcrypto:()=>e$,subtle:()=>e$.subtle});var{randomBytes:UZ,rng:XZ,pseudoRandomBytes:KZ,prng:IZ,Hash:OZ,createHash:JZ,createHmac:FZ,Hmac:AZ,getHashes:HZ,pbkdf2:WZ,pbkdf2Sync:EZ,Cipher:TZ,createCipher:DZ,Cipheriv:CZ,createCipheriv:LZ,Decipher:RZ,createDecipher:PZ,Decipheriv:zZ,createDecipheriv:MZ,getCiphers:SZ,listCiphers:vZ,DiffieHellmanGroup:qZ,createDiffieHellmanGroup:jZ,getDiffieHellman:kZ,createDiffieHellman:gZ,DiffieHellman:_Z,createSign:NZ,Sign:xZ,createVerify:BZ,Verify:yZ,createECDH:wZ,publicEncrypt:pZ,privateEncrypt:fZ,publicDecrypt:cZ,privateDecrypt:hZ,randomFill:dZ,randomFillSync:bZ,createCredentials:lZ,constants:oZ}=m$;var nZ=m$;/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */export{e$ as webcrypto,B$ as timingSafeEqual,fQ as scryptSync,cQ as scrypt,XZ as rng,YZ as randomUUID,ZZ as randomInt,bZ as randomFillSync,dZ as randomFill,UZ as randomBytes,pZ as publicEncrypt,cZ as publicDecrypt,KZ as pseudoRandomBytes,IZ as prng,fZ as privateEncrypt,hZ as privateDecrypt,EZ as pbkdf2Sync,WZ as pbkdf2,vZ as listCiphers,QZ as getRandomValues,HZ as getHashes,kZ as getDiffieHellman,SZ as getCiphers,nZ as default,BZ as createVerify,NZ as createSign,FZ as createHmac,JZ as createHash,wZ as createECDH,jZ as createDiffieHellmanGroup,gZ as createDiffieHellman,MZ as createDecipheriv,PZ as createDecipher,lZ as createCredentials,LZ as createCipheriv,DZ as createCipher,oZ as constants,yZ as Verify,xZ as Sign,AZ as Hmac,OZ as Hash,qZ as DiffieHellmanGroup,_Z as DiffieHellman,zZ as Decipheriv,RZ as Decipher,z$ as DEFAULT_ENCODING,CZ as Cipheriv,TZ as Cipher};
+import{StringDecoder as BQ} from"node:string_decoder";import*as P0 from"node:buffer";import*as R0 from"node:stream";var PZ=function(){return RZ};var xQ=Object.defineProperty;var J=Object.getOwnPropertyNames;var yQ=536870888,G0=globalThis.Buffer,qQ=globalThis.crypto,wQ=qQ;var pQ=(t0,m0)=>function(){return m0||(0,t0[J(t0)[0]])((m0={exports:{}}).exports,m0),m0.exports},fQ=(t0,m0)=>{for(var a0 in m0)xQ(t0,a0,{get:m0[a0],enumerable:!0})};var cQ=pQ({"node_modules/safe-buffer/index.js"(t0,m0){var a0=P0,e0=a0.Buffer;function r0($$,Q$){for(var $ in $$)Q$[$]=$$[$]}e0.from&&e0.alloc&&e0.allocUnsafe&&e0.allocUnsafeSlow?m0.exports=a0:(r0(a0,t0),t0.Buffer=i0);function i0($$,Q$,$){return e0($$,Q$,$)}i0.prototype=Object.create(e0.prototype),r0(e0,i0),i0.from=function($$,Q$,$){if(typeof $$=="number")throw new TypeError("Argument must not be a number");return e0($$,Q$,$)},i0.alloc=function($$,Q$,$){if(typeof $$!="number")throw new TypeError("Argument must be a number");var N=e0($$);return Q$!==void 0?typeof $=="string"?N.fill(Q$,$):N.fill(Q$):N.fill(0),N},i0.allocUnsafe=function($$){if(typeof $$!="number")throw new TypeError("Argument must be a number");return e0($$)},i0.allocUnsafeSlow=function($$){if(typeof $$!="number")throw new TypeError("Argument must be a number");return a0.SlowBuffer($$)}}}),hQ=pQ({"node_modules/randombytes/browser.js"(t0,m0){var a0=65536,e0=4294967295;function r0(){throw new Error(`Secure random number generation is not supported by this browser.
+Use Chrome, Firefox or Internet Explorer 11`)}var i0=cQ().Buffer,$$=wQ;$$&&$$.getRandomValues?m0.exports=Q$:m0.exports=r0;function Q$($,N){if($>e0)throw new RangeError("requested too many random bytes");var Y$=i0.allocUnsafe($);if($>0)if($>a0)for(var O0=0;O0<$;O0+=a0)$$.getRandomValues(Y$.slice(O0,O0+a0));else $$.getRandomValues(Y$);return typeof N=="function"?process.nextTick(function(){N(null,Y$)}):Y$}}}),dQ=pQ({"node_modules/inherits/inherits_browser.js"(t0,m0){typeof Object.create=="function"?m0.exports=function(a0,e0){e0&&(a0.super_=e0,a0.prototype=Object.create(e0.prototype,{constructor:{value:a0,enumerable:!1,writable:!0,configurable:!0}}))}:m0.exports=function(a0,e0){if(e0){a0.super_=e0;var r0=function(){};r0.prototype=e0.prototype,a0.prototype=new r0,a0.prototype.constructor=a0}}}}),F=pQ({"node_modules/hash-base/index.js"(t0,m0){var a0=cQ().Buffer,e0=dQ();function r0($$,Q$){if(!a0.isBuffer($$)&&typeof $$!="string")throw new TypeError(Q$+" must be a string or a buffer")}function i0($$){R0.Transform.call(this),this._block=a0.allocUnsafe($$),this._blockSize=$$,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}e0(i0,R0.Transform),i0.prototype._transform=function($$,Q$,$){var N=null;try{this.update($$,Q$)}catch(Y$){N=Y$}$(N)},i0.prototype._flush=function($$){var Q$=null;try{this.push(this.digest())}catch($){Q$=$}$$(Q$)},i0.prototype.update=function($$,Q$){if(r0($$,"Data"),this._finalized)throw new Error("Digest already called");a0.isBuffer($$)||($$=a0.from($$,Q$));for(var $=this._block,N=0;this._blockOffset+$$.length-N>=this._blockSize;){for(var Y$=this._blockOffset;Y$<this._blockSize;)$[Y$++]=$$[N++];this._update(),this._blockOffset=0}for(;N<$$.length;)$[this._blockOffset++]=$$[N++];for(var O0=0,Z$=$$.length*8;Z$>0;++O0)this._length[O0]+=Z$,Z$=this._length[O0]/4294967296|0,Z$>0&&(this._length[O0]-=4294967296*Z$);return this},i0.prototype._update=function(){throw new Error("_update is not implemented")},i0.prototype.digest=function($$){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var Q$=this._digest();$$!==void 0&&(Q$=Q$.toString($$)),this._block.fill(0),this._blockOffset=0;for(var $=0;$<4;++$)this._length[$]=0;return Q$},i0.prototype._digest=function(){throw new Error("_digest is not implemented")},m0.exports=i0}}),_=pQ({"node_modules/md5.js/index.js"(t0,m0){var a0=dQ(),e0=F(),r0=cQ().Buffer,i0=new Array(16);function $$(){e0.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}a0($$,e0),$$.prototype._update=function(){for(var Z$=i0,G$=0;G$<16;++G$)Z$[G$]=this._block.readInt32LE(G$*4);var V$=this._a,U$=this._b,X$=this._c,K$=this._d;V$=$(V$,U$,X$,K$,Z$[0],3614090360,7),K$=$(K$,V$,U$,X$,Z$[1],3905402710,12),X$=$(X$,K$,V$,U$,Z$[2],606105819,17),U$=$(U$,X$,K$,V$,Z$[3],3250441966,22),V$=$(V$,U$,X$,K$,Z$[4],4118548399,7),K$=$(K$,V$,U$,X$,Z$[5],1200080426,12),X$=$(X$,K$,V$,U$,Z$[6],2821735955,17),U$=$(U$,X$,K$,V$,Z$[7],4249261313,22),V$=$(V$,U$,X$,K$,Z$[8],1770035416,7),K$=$(K$,V$,U$,X$,Z$[9],2336552879,12),X$=$(X$,K$,V$,U$,Z$[10],4294925233,17),U$=$(U$,X$,K$,V$,Z$[11],2304563134,22),V$=$(V$,U$,X$,K$,Z$[12],1804603682,7),K$=$(K$,V$,U$,X$,Z$[13],4254626195,12),X$=$(X$,K$,V$,U$,Z$[14],2792965006,17),U$=$(U$,X$,K$,V$,Z$[15],1236535329,22),V$=N(V$,U$,X$,K$,Z$[1],4129170786,5),K$=N(K$,V$,U$,X$,Z$[6],3225465664,9),X$=N(X$,K$,V$,U$,Z$[11],643717713,14),U$=N(U$,X$,K$,V$,Z$[0],3921069994,20),V$=N(V$,U$,X$,K$,Z$[5],3593408605,5),K$=N(K$,V$,U$,X$,Z$[10],38016083,9),X$=N(X$,K$,V$,U$,Z$[15],3634488961,14),U$=N(U$,X$,K$,V$,Z$[4],3889429448,20),V$=N(V$,U$,X$,K$,Z$[9],568446438,5),K$=N(K$,V$,U$,X$,Z$[14],3275163606,9),X$=N(X$,K$,V$,U$,Z$[3],4107603335,14),U$=N(U$,X$,K$,V$,Z$[8],1163531501,20),V$=N(V$,U$,X$,K$,Z$[13],2850285829,5),K$=N(K$,V$,U$,X$,Z$[2],4243563512,9),X$=N(X$,K$,V$,U$,Z$[7],1735328473,14),U$=N(U$,X$,K$,V$,Z$[12],2368359562,20),V$=Y$(V$,U$,X$,K$,Z$[5],4294588738,4),K$=Y$(K$,V$,U$,X$,Z$[8],2272392833,11),X$=Y$(X$,K$,V$,U$,Z$[11],1839030562,16),U$=Y$(U$,X$,K$,V$,Z$[14],4259657740,23),V$=Y$(V$,U$,X$,K$,Z$[1],2763975236,4),K$=Y$(K$,V$,U$,X$,Z$[4],1272893353,11),X$=Y$(X$,K$,V$,U$,Z$[7],4139469664,16),U$=Y$(U$,X$,K$,V$,Z$[10],3200236656,23),V$=Y$(V$,U$,X$,K$,Z$[13],681279174,4),K$=Y$(K$,V$,U$,X$,Z$[0],3936430074,11),X$=Y$(X$,K$,V$,U$,Z$[3],3572445317,16),U$=Y$(U$,X$,K$,V$,Z$[6],76029189,23),V$=Y$(V$,U$,X$,K$,Z$[9],3654602809,4),K$=Y$(K$,V$,U$,X$,Z$[12],3873151461,11),X$=Y$(X$,K$,V$,U$,Z$[15],530742520,16),U$=Y$(U$,X$,K$,V$,Z$[2],3299628645,23),V$=O0(V$,U$,X$,K$,Z$[0],4096336452,6),K$=O0(K$,V$,U$,X$,Z$[7],1126891415,10),X$=O0(X$,K$,V$,U$,Z$[14],2878612391,15),U$=O0(U$,X$,K$,V$,Z$[5],4237533241,21),V$=O0(V$,U$,X$,K$,Z$[12],1700485571,6),K$=O0(K$,V$,U$,X$,Z$[3],2399980690,10),X$=O0(X$,K$,V$,U$,Z$[10],4293915773,15),U$=O0(U$,X$,K$,V$,Z$[1],2240044497,21),V$=O0(V$,U$,X$,K$,Z$[8],1873313359,6),K$=O0(K$,V$,U$,X$,Z$[15],4264355552,10),X$=O0(X$,K$,V$,U$,Z$[6],2734768916,15),U$=O0(U$,X$,K$,V$,Z$[13],1309151649,21),V$=O0(V$,U$,X$,K$,Z$[4],4149444226,6),K$=O0(K$,V$,U$,X$,Z$[11],3174756917,10),X$=O0(X$,K$,V$,U$,Z$[2],718787259,15),U$=O0(U$,X$,K$,V$,Z$[9],3951481745,21),this._a=this._a+V$|0,this._b=this._b+U$|0,this._c=this._c+X$|0,this._d=this._d+K$|0},$$.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var Z$=r0.allocUnsafe(16);return Z$.writeInt32LE(this._a,0),Z$.writeInt32LE(this._b,4),Z$.writeInt32LE(this._c,8),Z$.writeInt32LE(this._d,12),Z$};function Q$(Z$,G$){return Z$<<G$|Z$>>>32-G$}function $(Z$,G$,V$,U$,X$,K$,I$){return Q$(Z$+(G$&V$|~G$&U$)+X$+K$|0,I$)+G$|0}function N(Z$,G$,V$,U$,X$,K$,I$){return Q$(Z$+(G$&U$|V$&~U$)+X$+K$|0,I$)+G$|0}function Y$(Z$,G$,V$,U$,X$,K$,I$){return Q$(Z$+(G$^V$^U$)+X$+K$|0,I$)+G$|0}function O0(Z$,G$,V$,U$,X$,K$,I$){return Q$(Z$+(V$^(G$|~U$))+X$+K$|0,I$)+G$|0}m0.exports=$$}}),V0=pQ({"node_modules/ripemd160/index.js"(t0,m0){var a0=G0,e0=dQ(),r0=F(),i0=new Array(16),$$=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],Q$=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],$=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],N=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],Y$=[0,1518500249,1859775393,2400959708,2840853838],O0=[1352829926,1548603684,1836072691,2053994217,0];function Z$(){r0.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}e0(Z$,r0),Z$.prototype._update=function(){for(var Q=i0,x=0;x<16;++x)Q[x]=this._block.readInt32LE(x*4);for(var O$=this._a|0,J0=this._b|0,J$=this._c|0,F$=this._d|0,A$=this._e|0,H$=this._a|0,W$=this._b|0,E$=this._c|0,T$=this._d|0,Y=this._e|0,f=0;f<80;f+=1){var D$,F0;f<16?(D$=V$(O$,J0,J$,F$,A$,Q[$$[f]],Y$[0],$[f]),F0=I$(H$,W$,E$,T$,Y,Q[Q$[f]],O0[0],N[f])):f<32?(D$=U$(O$,J0,J$,F$,A$,Q[$$[f]],Y$[1],$[f]),F0=K$(H$,W$,E$,T$,Y,Q[Q$[f]],O0[1],N[f])):f<48?(D$=X$(O$,J0,J$,F$,A$,Q[$$[f]],Y$[2],$[f]),F0=X$(H$,W$,E$,T$,Y,Q[Q$[f]],O0[2],N[f])):f<64?(D$=K$(O$,J0,J$,F$,A$,Q[$$[f]],Y$[3],$[f]),F0=U$(H$,W$,E$,T$,Y,Q[Q$[f]],O0[3],N[f])):(D$=I$(O$,J0,J$,F$,A$,Q[$$[f]],Y$[4],$[f]),F0=V$(H$,W$,E$,T$,Y,Q[Q$[f]],O0[4],N[f])),O$=A$,A$=F$,F$=G$(J$,10),J$=J0,J0=D$,H$=Y,Y=T$,T$=G$(E$,10),E$=W$,W$=F0}var C$=this._b+J$+T$|0;this._b=this._c+F$+Y|0,this._c=this._d+A$+H$|0,this._d=this._e+O$+W$|0,this._e=this._a+J0+E$|0,this._a=C$},Z$.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var Q=a0.alloc?a0.alloc(20):new a0(20);return Q.writeInt32LE(this._a,0),Q.writeInt32LE(this._b,4),Q.writeInt32LE(this._c,8),Q.writeInt32LE(this._d,12),Q.writeInt32LE(this._e,16),Q};function G$(Q,x){return Q<<x|Q>>>32-x}function V$(Q,x,O$,J0,J$,F$,A$,H$){return G$(Q+(x^O$^J0)+F$+A$|0,H$)+J$|0}function U$(Q,x,O$,J0,J$,F$,A$,H$){return G$(Q+(x&O$|~x&J0)+F$+A$|0,H$)+J$|0}function X$(Q,x,O$,J0,J$,F$,A$,H$){return G$(Q+((x|~O$)^J0)+F$+A$|0,H$)+J$|0}function K$(Q,x,O$,J0,J$,F$,A$,H$){return G$(Q+(x&J0|O$&~J0)+F$+A$|0,H$)+J$|0}function I$(Q,x,O$,J0,J$,F$,A$,H$){return G$(Q+(x^(O$|~J0))+F$+A$|0,H$)+J$|0}m0.exports=Z$}}),z0=pQ({"node_modules/sha.js/hash.js"(t0,m0){var a0=cQ().Buffer;function e0(r0,i0){this._block=a0.alloc(r0),this._finalSize=i0,this._blockSize=r0,this._len=0}e0.prototype.update=function(r0,i0){typeof r0=="string"&&(i0=i0||"utf8",r0=a0.from(r0,i0));for(var $$=this._block,Q$=this._blockSize,$=r0.length,N=this._len,Y$=0;Y$<$;){for(var O0=N%Q$,Z$=Math.min($-Y$,Q$-O0),G$=0;G$<Z$;G$++)$$[O0+G$]=r0[Y$+G$];N+=Z$,Y$+=Z$,N%Q$===0&&this._update($$)}return this._len+=$,this},e0.prototype.digest=function(r0){var i0=this._len%this._blockSize;this._block[i0]=128,this._block.fill(0,i0+1),i0>=this._finalSize&&(this._update(this._block),this._block.fill(0));var $$=this._len*8;if($$<=4294967295)this._block.writeUInt32BE($$,this._blockSize-4);else{var Q$=($$&4294967295)>>>0,$=($$-Q$)/4294967296;this._block.writeUInt32BE($,this._blockSize-8),this._block.writeUInt32BE(Q$,this._blockSize-4)}this._update(this._block);var N=this._hash();return r0?N.toString(r0):N},e0.prototype._update=function(){throw new Error("_update must be implemented by subclass")},m0.exports=e0}}),bQ=pQ({"node_modules/sha.js/sha.js"(t0,m0){var a0=dQ(),e0=z0(),r0=cQ().Buffer,i0=[1518500249,1859775393,-1894007588,-899497514],$$=new Array(80);function Q$(){this.init(),this._w=$$,e0.call(this,64,56)}a0(Q$,e0),Q$.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function $(O0){return O0<<5|O0>>>27}function N(O0){return O0<<30|O0>>>2}function Y$(O0,Z$,G$,V$){return O0===0?Z$&G$|~Z$&V$:O0===2?Z$&G$|Z$&V$|G$&V$:Z$^G$^V$}Q$.prototype._update=function(O0){for(var Z$=this._w,G$=this._a|0,V$=this._b|0,U$=this._c|0,X$=this._d|0,K$=this._e|0,I$=0;I$<16;++I$)Z$[I$]=O0.readInt32BE(I$*4);for(;I$<80;++I$)Z$[I$]=Z$[I$-3]^Z$[I$-8]^Z$[I$-14]^Z$[I$-16];for(var Q=0;Q<80;++Q){var x=~~(Q/20),O$=$(G$)+Y$(x,V$,U$,X$)+K$+Z$[Q]+i0[x]|0;K$=X$,X$=U$,U$=N(V$),V$=G$,G$=O$}this._a=G$+this._a|0,this._b=V$+this._b|0,this._c=U$+this._c|0,this._d=X$+this._d|0,this._e=K$+this._e|0},Q$.prototype._hash=function(){var O0=r0.allocUnsafe(20);return O0.writeInt32BE(this._a|0,0),O0.writeInt32BE(this._b|0,4),O0.writeInt32BE(this._c|0,8),O0.writeInt32BE(this._d|0,12),O0.writeInt32BE(this._e|0,16),O0},m0.exports=Q$}}),lQ=pQ({"node_modules/sha.js/sha1.js"(t0,m0){var a0=dQ(),e0=z0(),r0=cQ().Buffer,i0=[1518500249,1859775393,-1894007588,-899497514],$$=new Array(80);function Q$(){this.init(),this._w=$$,e0.call(this,64,56)}a0(Q$,e0),Q$.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function $(Z$){return Z$<<1|Z$>>>31}function N(Z$){return Z$<<5|Z$>>>27}function Y$(Z$){return Z$<<30|Z$>>>2}function O0(Z$,G$,V$,U$){return Z$===0?G$&V$|~G$&U$:Z$===2?G$&V$|G$&U$|V$&U$:G$^V$^U$}Q$.prototype._update=function(Z$){for(var G$=this._w,V$=this._a|0,U$=this._b|0,X$=this._c|0,K$=this._d|0,I$=this._e|0,Q=0;Q<16;++Q)G$[Q]=Z$.readInt32BE(Q*4);for(;Q<80;++Q)G$[Q]=$(G$[Q-3]^G$[Q-8]^G$[Q-14]^G$[Q-16]);for(var x=0;x<80;++x){var O$=~~(x/20),J0=N(V$)+O0(O$,U$,X$,K$)+I$+G$[x]+i0[O$]|0;I$=K$,K$=X$,X$=Y$(U$),U$=V$,V$=J0}this._a=V$+this._a|0,this._b=U$+this._b|0,this._c=X$+this._c|0,this._d=K$+this._d|0,this._e=I$+this._e|0},Q$.prototype._hash=function(){var Z$=r0.allocUnsafe(20);return Z$.writeInt32BE(this._a|0,0),Z$.writeInt32BE(this._b|0,4),Z$.writeInt32BE(this._c|0,8),Z$.writeInt32BE(this._d|0,12),Z$.writeInt32BE(this._e|0,16),Z$},m0.exports=Q$}}),oQ=pQ({"node_modules/sha.js/sha256.js"(t0,m0){var a0=dQ(),e0=z0(),r0=cQ().Buffer,i0=[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],$$=new Array(64);function Q$(){this.init(),this._w=$$,e0.call(this,64,56)}a0(Q$,e0),Q$.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function $(V$,U$,X$){return X$^V$&(U$^X$)}function N(V$,U$,X$){return V$&U$|X$&(V$|U$)}function Y$(V$){return(V$>>>2|V$<<30)^(V$>>>13|V$<<19)^(V$>>>22|V$<<10)}function O0(V$){return(V$>>>6|V$<<26)^(V$>>>11|V$<<21)^(V$>>>25|V$<<7)}function Z$(V$){return(V$>>>7|V$<<25)^(V$>>>18|V$<<14)^V$>>>3}function G$(V$){return(V$>>>17|V$<<15)^(V$>>>19|V$<<13)^V$>>>10}Q$.prototype._update=function(V$){for(var U$=this._w,X$=this._a|0,K$=this._b|0,I$=this._c|0,Q=this._d|0,x=this._e|0,O$=this._f|0,J0=this._g|0,J$=this._h|0,F$=0;F$<16;++F$)U$[F$]=V$.readInt32BE(F$*4);for(;F$<64;++F$)U$[F$]=G$(U$[F$-2])+U$[F$-7]+Z$(U$[F$-15])+U$[F$-16]|0;for(var A$=0;A$<64;++A$){var H$=J$+O0(x)+$(x,O$,J0)+i0[A$]+U$[A$]|0,W$=Y$(X$)+N(X$,K$,I$)|0;J$=J0,J0=O$,O$=x,x=Q+H$|0,Q=I$,I$=K$,K$=X$,X$=H$+W$|0}this._a=X$+this._a|0,this._b=K$+this._b|0,this._c=I$+this._c|0,this._d=Q+this._d|0,this._e=x+this._e|0,this._f=O$+this._f|0,this._g=J0+this._g|0,this._h=J$+this._h|0},Q$.prototype._hash=function(){var V$=r0.allocUnsafe(32);return V$.writeInt32BE(this._a,0),V$.writeInt32BE(this._b,4),V$.writeInt32BE(this._c,8),V$.writeInt32BE(this._d,12),V$.writeInt32BE(this._e,16),V$.writeInt32BE(this._f,20),V$.writeInt32BE(this._g,24),V$.writeInt32BE(this._h,28),V$},m0.exports=Q$}}),uQ=pQ({"node_modules/sha.js/sha224.js"(t0,m0){var a0=dQ(),e0=oQ(),r0=z0(),i0=cQ().Buffer,$$=new Array(64);function Q$(){this.init(),this._w=$$,r0.call(this,64,56)}a0(Q$,e0),Q$.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},Q$.prototype._hash=function(){var $=i0.allocUnsafe(28);return $.writeInt32BE(this._a,0),$.writeInt32BE(this._b,4),$.writeInt32BE(this._c,8),$.writeInt32BE(this._d,12),$.writeInt32BE(this._e,16),$.writeInt32BE(this._f,20),$.writeInt32BE(this._g,24),$},m0.exports=Q$}}),nQ=pQ({"node_modules/sha.js/sha512.js"(t0,m0){var a0=dQ(),e0=z0(),r0=cQ().Buffer,i0=[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],$$=new Array(160);function Q$(){this.init(),this._w=$$,e0.call(this,128,112)}a0(Q$,e0),Q$.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function $(K$,I$,Q){return Q^K$&(I$^Q)}function N(K$,I$,Q){return K$&I$|Q&(K$|I$)}function Y$(K$,I$){return(K$>>>28|I$<<4)^(I$>>>2|K$<<30)^(I$>>>7|K$<<25)}function O0(K$,I$){return(K$>>>14|I$<<18)^(K$>>>18|I$<<14)^(I$>>>9|K$<<23)}function Z$(K$,I$){return(K$>>>1|I$<<31)^(K$>>>8|I$<<24)^K$>>>7}function G$(K$,I$){return(K$>>>1|I$<<31)^(K$>>>8|I$<<24)^(K$>>>7|I$<<25)}function V$(K$,I$){return(K$>>>19|I$<<13)^(I$>>>29|K$<<3)^K$>>>6}function U$(K$,I$){return(K$>>>19|I$<<13)^(I$>>>29|K$<<3)^(K$>>>6|I$<<26)}function X$(K$,I$){return K$>>>0<I$>>>0?1:0}Q$.prototype._update=function(K$){for(var I$=this._w,Q=this._ah|0,x=this._bh|0,O$=this._ch|0,J0=this._dh|0,J$=this._eh|0,F$=this._fh|0,A$=this._gh|0,H$=this._hh|0,W$=this._al|0,E$=this._bl|0,T$=this._cl|0,Y=this._dl|0,f=this._el|0,D$=this._fl|0,F0=this._gl|0,C$=this._hl|0,L$=0;L$<32;L$+=2)I$[L$]=K$.readInt32BE(L$*4),I$[L$+1]=K$.readInt32BE(L$*4+4);for(;L$<160;L$+=2){var R$=I$[L$-30],P$=I$[L$-30+1],z$=Z$(R$,P$),M$=G$(P$,R$);R$=I$[L$-4],P$=I$[L$-4+1];var S$=V$(R$,P$),Z=U$(P$,R$),c=I$[L$-14],v$=I$[L$-14+1],A0=I$[L$-32],q$=I$[L$-32+1],j$=M$+v$|0,k$=z$+c+X$(j$,M$)|0;j$=j$+Z|0,k$=k$+S$+X$(j$,Z)|0,j$=j$+q$|0,k$=k$+A0+X$(j$,q$)|0,I$[L$]=k$,I$[L$+1]=j$}for(var g$=0;g$<160;g$+=2){k$=I$[g$],j$=I$[g$+1];var _$=N(Q,x,O$),N$=N(W$,E$,T$),x$=Y$(Q,W$),G=Y$(W$,Q),B=O0(J$,f),B$=O0(f,J$),H0=i0[g$],y$=i0[g$+1],w$=$(J$,F$,A$),p$=$(f,D$,F0),f$=C$+B$|0,c$=H$+B+X$(f$,C$)|0;f$=f$+p$|0,c$=c$+w$+X$(f$,p$)|0,f$=f$+y$|0,c$=c$+H0+X$(f$,y$)|0,f$=f$+j$|0,c$=c$+k$+X$(f$,j$)|0;var h$=G+N$|0,d$=x$+_$+X$(h$,G)|0;H$=A$,C$=F0,A$=F$,F0=D$,F$=J$,D$=f,f=Y+f$|0,J$=J0+c$+X$(f,Y)|0,J0=O$,Y=T$,O$=x,T$=E$,x=Q,E$=W$,W$=f$+h$|0,Q=c$+d$+X$(W$,f$)|0}this._al=this._al+W$|0,this._bl=this._bl+E$|0,this._cl=this._cl+T$|0,this._dl=this._dl+Y|0,this._el=this._el+f|0,this._fl=this._fl+D$|0,this._gl=this._gl+F0|0,this._hl=this._hl+C$|0,this._ah=this._ah+Q+X$(this._al,W$)|0,this._bh=this._bh+x+X$(this._bl,E$)|0,this._ch=this._ch+O$+X$(this._cl,T$)|0,this._dh=this._dh+J0+X$(this._dl,Y)|0,this._eh=this._eh+J$+X$(this._el,f)|0,this._fh=this._fh+F$+X$(this._fl,D$)|0,this._gh=this._gh+A$+X$(this._gl,F0)|0,this._hh=this._hh+H$+X$(this._hl,C$)|0},Q$.prototype._hash=function(){var K$=r0.allocUnsafe(64);function I$(Q,x,O$){K$.writeInt32BE(Q,O$),K$.writeInt32BE(x,O$+4)}return I$(this._ah,this._al,0),I$(this._bh,this._bl,8),I$(this._ch,this._cl,16),I$(this._dh,this._dl,24),I$(this._eh,this._el,32),I$(this._fh,this._fl,40),I$(this._gh,this._gl,48),I$(this._hh,this._hl,56),K$},m0.exports=Q$}}),sQ=pQ({"node_modules/sha.js/sha384.js"(t0,m0){var a0=dQ(),e0=nQ(),r0=z0(),i0=cQ().Buffer,$$=new Array(160);function Q$(){this.init(),this._w=$$,r0.call(this,128,112)}a0(Q$,e0),Q$.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},Q$.prototype._hash=function(){var $=i0.allocUnsafe(48);function N(Y$,O0,Z$){$.writeInt32BE(Y$,Z$),$.writeInt32BE(O0,Z$+4)}return N(this._ah,this._al,0),N(this._bh,this._bl,8),N(this._ch,this._cl,16),N(this._dh,this._dl,24),N(this._eh,this._el,32),N(this._fh,this._fl,40),$},m0.exports=Q$}}),tQ=pQ({"node_modules/sha.js/index.js"(a0,m0){var a0=m0.exports=function(e0){e0=e0.toLowerCase();var r0=a0[e0];if(!r0)throw new Error(e0+" is not supported (we accept pull requests)");return new r0};a0.sha=bQ(),a0.sha1=lQ(),a0.sha224=uQ(),a0.sha256=oQ(),a0.sha384=sQ(),a0.sha512=nQ()}}),A=pQ({"node_modules/cipher-base/index.js"(t0,m0){var a0=cQ().Buffer,e0=dQ();function r0(i0){R0.Transform.call(this),this.hashMode=typeof i0=="string",this.hashMode?this[i0]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}e0(r0,R0.Transform),r0.prototype.update=function(i0,$$,Q$){typeof i0=="string"&&(i0=a0.from(i0,$$));var $=this._update(i0);return this.hashMode?this:(Q$&&($=this._toString($,Q$)),$)},r0.prototype.setAutoPadding=function(){},r0.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},r0.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},r0.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},r0.prototype._transform=function(i0,$$,Q$){var $;try{this.hashMode?this._update(i0):this.push(this._update(i0))}catch(N){$=N}finally{Q$($)}},r0.prototype._flush=function(i0){var $$;try{this.push(this.__final())}catch(Q$){$$=Q$}i0($$)},r0.prototype._finalOrDigest=function(i0){var $$=this.__final()||a0.alloc(0);return i0&&($$=this._toString($$,i0,!0)),$$},r0.prototype._toString=function(i0,$$,Q$){if(this._decoder||(this._decoder=new BQ($$),this._encoding=$$),this._encoding!==$$)throw new Error("can't switch encodings");var $=this._decoder.write(i0);return Q$&&($+=this._decoder.end()),$},m0.exports=r0}}),w=pQ({"node_modules/create-hash/browser.js"(t0,m0){const a0=function i0($$,Q$){this._options=Q$,this._hasher=new AZ($$,Q$),this._finalized=!1};a0.prototype=Object.create(R0.Transform.prototype),a0.prototype.update=function i0($$,Q$){return this._checkFinalized(),this._hasher.update($$,Q$),this},a0.prototype.digest=function i0($$,Q$){return this._checkFinalized(),this._finalized=!0,this._hasher.digest($$,Q$)},a0.prototype._checkFinalized=function i0(){if(this._finalized){var $$=new Error("Digest already called");throw $$.code="ERR_CRYPTO_HASH_FINALIZED",$$}},a0.prototype.copy=function i0(){const $$=Object.create(a0.prototype);return $$._options=this._options,$$._hasher=this._hasher.copy(),$$._finalized=this._finalized,$$};const e0={__proto__:R0.Transform.prototype,...a0.prototype,_transform(i0,$$,Q$){this.update(i0,$$),Q$&&Q$()},_flush(i0){this.push(this.digest()),i0()}},r0=["_events","_eventsCount","_final","_maxListeners","_maxListeners","_read","_undestroy","_writableState","_write","_writev","addListener","asIndexedPairs","closed","compose","constructor","cork","destroy","destroyed","drop","emit","end","errored","eventNames","every","filter","find","flatMap","forEach","getMaxListeners","hasOwnProperty","isPaused","isPrototypeOf","iterator","listenerCount","listeners","map","off","on","once","pause","pipe","prependListener","prependOnceListener","propertyIsEnumerable","push","rawListeners","read","readable","readableAborted","readableBuffer","readableDidRead","readableEncoding","readableEnded","readableFlowing","readableHighWaterMark","readableLength","readableObjectMode","reduce","removeAllListeners","removeListener","resume","setDefaultEncoding","setEncoding","setMaxListeners","some","take","toArray","toLocaleString","toString","uncork","unpipe","unshift","valueOf","wrap","writable","writableBuffer","writableCorked","writableEnded","writableFinished","writableHighWaterMark","writableLength","writableNeedDrain","writableObjectMode","write"];for(let i0 of r0)Object.defineProperty(a0.prototype,i0,{get(){return Object.setPrototypeOf(this,e0),R0.Transform.call(this,this._options),this[i0]},enumerable:!1,configurable:!0});m0.exports=function i0($$){return new a0($$)},m0.exports.createHash=m0.exports,m0.exports.Hash=a0}}),mQ=pQ({"node_modules/create-hmac/legacy.js"(t0,m0){var a0=dQ(),e0=cQ().Buffer,r0=A(),i0=e0.alloc(128),$$=64;function Q$($,N){r0.call(this,"digest"),typeof N=="string"&&(N=e0.from(N)),this._alg=$,this._key=N,N.length>$$?N=$(N):N.length<$$&&(N=e0.concat([N,i0],$$));for(var Y$=this._ipad=e0.allocUnsafe($$),O0=this._opad=e0.allocUnsafe($$),Z$=0;Z$<$$;Z$++)Y$[Z$]=N[Z$]^54,O0[Z$]=N[Z$]^92;this._hash=[Y$]}a0(Q$,r0),Q$.prototype._update=function($){this._hash.push($)},Q$.prototype._final=function(){var $=this._alg(e0.concat(this._hash));return this._alg(e0.concat([this._opad,$]))},m0.exports=Q$}}),M0=pQ({"node_modules/create-hash/md5.js"(t0,m0){var a0=_();m0.exports=function(e0){return new a0().update(e0).digest()}}}),aQ=pQ({"node_modules/create-hmac/browser.js"(t0,m0){var a0=dQ(),e0=mQ(),r0=A(),i0=cQ().Buffer,$$=M0(),Q$=V0(),$=tQ(),N=i0.alloc(128);function Y$(O0,Z$){r0.call(this,"digest"),typeof Z$=="string"&&(Z$=i0.from(Z$));var G$=O0==="sha512"||O0==="sha384"?128:64;if(this._alg=O0,this._key=Z$,Z$.length>G$){var V$=O0==="rmd160"?new Q$:$(O0);Z$=V$.update(Z$).digest()}else Z$.length<G$&&(Z$=i0.concat([Z$,N],G$));for(var U$=this._ipad=i0.allocUnsafe(G$),X$=this._opad=i0.allocUnsafe(G$),K$=0;K$<G$;K$++)U$[K$]=Z$[K$]^54,X$[K$]=Z$[K$]^92;this._hash=O0==="rmd160"?new Q$:$(O0),this._hash.update(U$)}a0(Y$,r0),Y$.prototype._update=function(O0){this._hash.update(O0)},Y$.prototype._final=function(){var O0=this._hash.digest(),Z$=this._alg==="rmd160"?new Q$:$(this._alg);return Z$.update(this._opad).update(O0).digest()},m0.exports=function(O0,Z$){return O0=O0.toLowerCase(),O0==="rmd160"||O0==="ripemd160"?new Y$("rmd160",Z$):O0==="md5"?new e0($$,Z$):new Y$(O0,Z$)}}}),eQ=pQ({"node_modules/browserify-sign/browser/algorithms.json"(t0,m0){m0.exports={sha224WithRSAEncryption:{sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption:{sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption:{sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption:{sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:{sign:"ecdsa",hash:"sha256",id:""},sha224:{sign:"ecdsa",hash:"sha224",id:""},sha384:{sign:"ecdsa",hash:"sha384",id:""},sha512:{sign:"ecdsa",hash:"sha512",id:""},"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA:{sign:"dsa",hash:"sha1",id:""},"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA:{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption:{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}}}}),rQ=pQ({"node_modules/browserify-sign/algos.js"(t0,m0){m0.exports=eQ()}}),iQ=pQ({"node_modules/pbkdf2/lib/precondition.js"(t0,m0){var a0=Math.pow(2,30)-1;m0.exports=function(e0,r0){if(typeof e0!="number")throw new TypeError("Iterations not a number");if(e0<0)throw new TypeError("Bad iterations");if(typeof r0!="number")throw new TypeError("Key length not a number");if(r0<0||r0>a0||r0!==r0)throw new TypeError("Bad key length")}}}),$Y=pQ({"node_modules/pbkdf2/lib/default-encoding.js"(t0,m0){var a0;global.process&&global.process.browser?a0="utf-8":global.process&&global.process.version?(e0=parseInt(process.version.split(".")[0].slice(1),10),a0=e0>=6?"utf-8":"binary"):a0="utf-8";var e0;m0.exports=a0}}),QY=pQ({"node_modules/pbkdf2/lib/to-buffer.js"(t0,m0){var a0=cQ().Buffer;m0.exports=function(e0,r0,i0){if(a0.isBuffer(e0))return e0;if(typeof e0=="string")return a0.from(e0,r0);if(ArrayBuffer.isView(e0))return a0.from(e0.buffer);throw new TypeError(i0+" must be a string, a Buffer, a typed array or a DataView")}}}),YY=pQ({"node_modules/pbkdf2/lib/sync-browser.js"(t0,m0){var a0=M0(),e0=V0(),r0=tQ(),i0=cQ().Buffer,$$=iQ(),Q$=$Y(),$=QY(),N=i0.alloc(128),Y$={md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,rmd160:20,ripemd160:20};function O0(V$,U$,X$){var K$=Z$(V$),I$=V$==="sha512"||V$==="sha384"?128:64;U$.length>I$?U$=K$(U$):U$.length<I$&&(U$=i0.concat([U$,N],I$));for(var Q=i0.allocUnsafe(I$+Y$[V$]),x=i0.allocUnsafe(I$+Y$[V$]),O$=0;O$<I$;O$++)Q[O$]=U$[O$]^54,x[O$]=U$[O$]^92;var J0=i0.allocUnsafe(I$+X$+4);Q.copy(J0,0,0,I$),this.ipad1=J0,this.ipad2=Q,this.opad=x,this.alg=V$,this.blocksize=I$,this.hash=K$,this.size=Y$[V$]}O0.prototype.run=function(V$,U$){V$.copy(U$,this.blocksize);var X$=this.hash(U$);return X$.copy(this.opad,this.blocksize),this.hash(this.opad)};function Z$(V$){function U$(K$){return r0(V$).update(K$).digest()}function X$(K$){return new e0().update(K$).digest()}return V$==="rmd160"||V$==="ripemd160"?X$:V$==="md5"?a0:U$}function G$(V$,U$,X$,K$,I$){$$(X$,K$),V$=$(V$,Q$,"Password"),U$=$(U$,Q$,"Salt"),I$=I$||"sha1";var Q=new O0(I$,V$,U$.length),x=i0.allocUnsafe(K$),O$=i0.allocUnsafe(U$.length+4);U$.copy(O$,0,0,U$.length);for(var J0=0,J$=Y$[I$],F$=Math.ceil(K$/J$),A$=1;A$<=F$;A$++){O$.writeUInt32BE(A$,U$.length);for(var H$=Q.run(O$,Q.ipad1),W$=H$,E$=1;E$<X$;E$++){W$=Q.run(W$,Q.ipad2);for(var T$=0;T$<J$;T$++)H$[T$]^=W$[T$]}H$.copy(x,J0),J0+=J$}return x}m0.exports=G$}}),H=pQ({"node_modules/pbkdf2/lib/async.js"(t0,m0){var a0=cQ().Buffer,e0=iQ(),r0=$Y(),i0=YY(),$$=QY(),Q$,$=wQ.subtle,N={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},Y$=[];function O0(X$){if(global.process&&!global.process.browser||!$||!$.importKey||!$.deriveBits)return Promise.resolve(!1);if(Y$[X$]!==void 0)return Y$[X$];Q$=Q$||a0.alloc(8);var K$=V$(Q$,Q$,10,128,X$).then(function(){return!0}).catch(function(){return!1});return Y$[X$]=K$,K$}var Z$;function G$(){return Z$||(global.process&&global.process.nextTick?Z$=global.process.nextTick:global.queueMicrotask?Z$=global.queueMicrotask:global.setImmediate?Z$=global.setImmediate:Z$=global.setTimeout,Z$)}function V$(X$,K$,I$,Q,x){return $.importKey("raw",X$,{name:"PBKDF2"},!1,["deriveBits"]).then(function(O$){return $.deriveBits({name:"PBKDF2",salt:K$,iterations:I$,hash:{name:x}},O$,Q<<3)}).then(function(O$){return a0.from(O$)})}function U$(X$,K$){X$.then(function(I$){G$()(function(){K$(null,I$)})},function(I$){G$()(function(){K$(I$)})})}m0.exports=function(X$,K$,I$,Q,x,O$){typeof x=="function"&&(O$=x,x=void 0),x=x||"sha1";var J0=N[x.toLowerCase()];if(!J0||typeof global.Promise!="function"){G$()(function(){var J$;try{J$=i0(X$,K$,I$,Q,x)}catch(F$){return O$(F$)}O$(null,J$)});return}if(e0(I$,Q),X$=$$(X$,r0,"Password"),K$=$$(K$,r0,"Salt"),typeof O$!="function")throw new Error("No callback provided to pbkdf2");U$(O0(J0).then(function(J$){return J$?V$(X$,K$,I$,Q,J0):i0(X$,K$,I$,Q,x)}),O$)}}}),u=pQ({"node_modules/pbkdf2/browser.js"(t0){t0.pbkdf2=H(),t0.pbkdf2Sync=YY()}}),S0=pQ({"node_modules/des.js/lib/des/utils.js"(t0){t0.readUInt32BE=function(r0,i0){var $$=r0[0+i0]<<24|r0[1+i0]<<16|r0[2+i0]<<8|r0[3+i0];return $$>>>0},t0.writeUInt32BE=function(r0,i0,$$){r0[0+$$]=i0>>>24,r0[1+$$]=i0>>>16&255,r0[2+$$]=i0>>>8&255,r0[3+$$]=i0&255},t0.ip=function(r0,i0,$$,Q$){for(var $=0,N=0,Y$=6;Y$>=0;Y$-=2){for(var O0=0;O0<=24;O0+=8)$<<=1,$|=i0>>>O0+Y$&1;for(var O0=0;O0<=24;O0+=8)$<<=1,$|=r0>>>O0+Y$&1}for(var Y$=6;Y$>=0;Y$-=2){for(var O0=1;O0<=25;O0+=8)N<<=1,N|=i0>>>O0+Y$&1;for(var O0=1;O0<=25;O0+=8)N<<=1,N|=r0>>>O0+Y$&1}$$[Q$+0]=$>>>0,$$[Q$+1]=N>>>0},t0.rip=function(r0,i0,$$,Q$){for(var $=0,N=0,Y$=0;Y$<4;Y$++)for(var O0=24;O0>=0;O0-=8)$<<=1,$|=i0>>>O0+Y$&1,$<<=1,$|=r0>>>O0+Y$&1;for(var Y$=4;Y$<8;Y$++)for(var O0=24;O0>=0;O0-=8)N<<=1,N|=i0>>>O0+Y$&1,N<<=1,N|=r0>>>O0+Y$&1;$$[Q$+0]=$>>>0,$$[Q$+1]=N>>>0},t0.pc1=function(r0,i0,$$,Q$){for(var $=0,N=0,Y$=7;Y$>=5;Y$--){for(var O0=0;O0<=24;O0+=8)$<<=1,$|=i0>>O0+Y$&1;for(var O0=0;O0<=24;O0+=8)$<<=1,$|=r0>>O0+Y$&1}for(var O0=0;O0<=24;O0+=8)$<<=1,$|=i0>>O0+Y$&1;for(var Y$=1;Y$<=3;Y$++){for(var O0=0;O0<=24;O0+=8)N<<=1,N|=i0>>O0+Y$&1;for(var O0=0;O0<=24;O0+=8)N<<=1,N|=r0>>O0+Y$&1}for(var O0=0;O0<=24;O0+=8)N<<=1,N|=r0>>O0+Y$&1;$$[Q$+0]=$>>>0,$$[Q$+1]=N>>>0},t0.r28shl=function(r0,i0){return r0<<i0&268435455|r0>>>28-i0};var m0=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t0.pc2=function(r0,i0,$$,Q$){for(var $=0,N=0,Y$=m0.length>>>1,O0=0;O0<Y$;O0++)$<<=1,$|=r0>>>m0[O0]&1;for(var O0=Y$;O0<m0.length;O0++)N<<=1,N|=i0>>>m0[O0]&1;$$[Q$+0]=$>>>0,$$[Q$+1]=N>>>0},t0.expand=function(r0,i0,$$){var Q$=0,$=0;Q$=(r0&1)<<5|r0>>>27;for(var N=23;N>=15;N-=4)Q$<<=6,Q$|=r0>>>N&63;for(var N=11;N>=3;N-=4)$|=r0>>>N&63,$<<=6;$|=(r0&31)<<1|r0>>>31,i0[$$+0]=Q$>>>0,i0[$$+1]=$>>>0};var a0=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t0.substitute=function(r0,i0){for(var $$=0,Q$=0;Q$<4;Q$++){var $=r0>>>18-Q$*6&63,N=a0[Q$*64+$];$$<<=4,$$|=N}for(var Q$=0;Q$<4;Q$++){var $=i0>>>18-Q$*6&63,N=a0[256+Q$*64+$];$$<<=4,$$|=N}return $$>>>0};var e0=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t0.permute=function(r0){for(var i0=0,$$=0;$$<e0.length;$$++)i0<<=1,i0|=r0>>>e0[$$]&1;return i0>>>0},t0.padSplit=function(r0,i0,$$){for(var Q$=r0.toString(2);Q$.length<i0;)Q$="0"+Q$;for(var $=[],N=0;N<i0;N+=$$)$.push(Q$.slice(N,N+$$));return $.join(" ")}}}),v0=pQ({"node_modules/minimalistic-assert/index.js"(t0,m0){m0.exports=a0;function a0(e0,r0){if(!e0)throw new Error(r0||"Assertion failed")}a0.equal=function(e0,r0,i0){if(e0!=r0)throw new Error(i0||"Assertion failed: "+e0+" != "+r0)}}}),ZY=pQ({"node_modules/des.js/lib/des/cipher.js"(t0,m0){var a0=v0();function e0(r0){this.options=r0,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0}m0.exports=e0,e0.prototype._init=function(){},e0.prototype.update=function(r0){return r0.length===0?[]:this.type==="decrypt"?this._updateDecrypt(r0):this._updateEncrypt(r0)},e0.prototype._buffer=function(r0,i0){for(var $$=Math.min(this.buffer.length-this.bufferOff,r0.length-i0),Q$=0;Q$<$$;Q$++)this.buffer[this.bufferOff+Q$]=r0[i0+Q$];return this.bufferOff+=$$,$$},e0.prototype._flushBuffer=function(r0,i0){return this._update(this.buffer,0,r0,i0),this.bufferOff=0,this.blockSize},e0.prototype._updateEncrypt=function(r0){var i0=0,$$=0,Q$=(this.bufferOff+r0.length)/this.blockSize|0,$=new Array(Q$*this.blockSize);this.bufferOff!==0&&(i0+=this._buffer(r0,i0),this.bufferOff===this.buffer.length&&($$+=this._flushBuffer($,$$)));for(var N=r0.length-(r0.length-i0)%this.blockSize;i0<N;i0+=this.blockSize)this._update(r0,i0,$,$$),$$+=this.blockSize;for(;i0<r0.length;i0++,this.bufferOff++)this.buffer[this.bufferOff]=r0[i0];return $},e0.prototype._updateDecrypt=function(r0){for(var i0=0,$$=0,Q$=Math.ceil((this.bufferOff+r0.length)/this.blockSize)-1,$=new Array(Q$*this.blockSize);Q$>0;Q$--)i0+=this._buffer(r0,i0),$$+=this._flushBuffer($,$$);return i0+=this._buffer(r0,i0),$},e0.prototype.final=function(r0){var i0;r0&&(i0=this.update(r0));var $$;return this.type==="encrypt"?$$=this._finalEncrypt():$$=this._finalDecrypt(),i0?i0.concat($$):$$},e0.prototype._pad=function(r0,i0){if(i0===0)return!1;for(;i0<r0.length;)r0[i0++]=0;return!0},e0.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var r0=new Array(this.blockSize);return this._update(this.buffer,0,r0,0),r0},e0.prototype._unpad=function(r0){return r0},e0.prototype._finalDecrypt=function(){a0.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var r0=new Array(this.blockSize);return this._flushBuffer(r0,0),this._unpad(r0)}}}),GY=pQ({"node_modules/des.js/lib/des/des.js"(t0,m0){var a0=v0(),e0=dQ(),r0=S0(),i0=ZY();function $$(){this.tmp=new Array(2),this.keys=null}function Q$(N){i0.call(this,N);var Y$=new $$;this._desState=Y$,this.deriveKeys(Y$,N.key)}e0(Q$,i0),m0.exports=Q$,Q$.create=function(N){return new Q$(N)};var $=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];Q$.prototype.deriveKeys=function(N,Y$){N.keys=new Array(32),a0.equal(Y$.length,this.blockSize,"Invalid key length");var O0=r0.readUInt32BE(Y$,0),Z$=r0.readUInt32BE(Y$,4);r0.pc1(O0,Z$,N.tmp,0),O0=N.tmp[0],Z$=N.tmp[1];for(var G$=0;G$<N.keys.length;G$+=2){var V$=$[G$>>>1];O0=r0.r28shl(O0,V$),Z$=r0.r28shl(Z$,V$),r0.pc2(O0,Z$,N.keys,G$)}},Q$.prototype._update=function(N,Y$,O0,Z$){var G$=this._desState,V$=r0.readUInt32BE(N,Y$),U$=r0.readUInt32BE(N,Y$+4);r0.ip(V$,U$,G$.tmp,0),V$=G$.tmp[0],U$=G$.tmp[1],this.type==="encrypt"?this._encrypt(G$,V$,U$,G$.tmp,0):this._decrypt(G$,V$,U$,G$.tmp,0),V$=G$.tmp[0],U$=G$.tmp[1],r0.writeUInt32BE(O0,V$,Z$),r0.writeUInt32BE(O0,U$,Z$+4)},Q$.prototype._pad=function(N,Y$){for(var O0=N.length-Y$,Z$=Y$;Z$<N.length;Z$++)N[Z$]=O0;return!0},Q$.prototype._unpad=function(N){for(var Y$=N[N.length-1],O0=N.length-Y$;O0<N.length;O0++)a0.equal(N[O0],Y$);return N.slice(0,N.length-Y$)},Q$.prototype._encrypt=function(N,Y$,O0,Z$,G$){for(var V$=Y$,U$=O0,X$=0;X$<N.keys.length;X$+=2){var K$=N.keys[X$],I$=N.keys[X$+1];r0.expand(U$,N.tmp,0),K$^=N.tmp[0],I$^=N.tmp[1];var Q=r0.substitute(K$,I$),x=r0.permute(Q),O$=U$;U$=(V$^x)>>>0,V$=O$}r0.rip(U$,V$,Z$,G$)},Q$.prototype._decrypt=function(N,Y$,O0,Z$,G$){for(var V$=O0,U$=Y$,X$=N.keys.length-2;X$>=0;X$-=2){var K$=N.keys[X$],I$=N.keys[X$+1];r0.expand(V$,N.tmp,0),K$^=N.tmp[0],I$^=N.tmp[1];var Q=r0.substitute(K$,I$),x=r0.permute(Q),O$=V$;V$=(U$^x)>>>0,U$=O$}r0.rip(V$,U$,Z$,G$)}}}),VY=pQ({"node_modules/des.js/lib/des/cbc.js"(t0){var m0=v0(),a0=dQ(),e0={};function r0($$){m0.equal($$.length,8,"Invalid IV length"),this.iv=new Array(8);for(var Q$=0;Q$<this.iv.length;Q$++)this.iv[Q$]=$$[Q$]}function i0($$){function Q$(O0){$$.call(this,O0),this._cbcInit()}a0(Q$,$$);for(var $=Object.keys(e0),N=0;N<$.length;N++){var Y$=$[N];Q$.prototype[Y$]=e0[Y$]}return Q$.create=function(O0){return new Q$(O0)},Q$}t0.instantiate=i0,e0._cbcInit=function(){var $$=new r0(this.options.iv);this._cbcState=$$},e0._update=function($$,Q$,$,N){var Y$=this._cbcState,O0=this.constructor.super_.prototype,Z$=Y$.iv;if(this.type==="encrypt"){for(var G$=0;G$<this.blockSize;G$++)Z$[G$]^=$$[Q$+G$];O0._update.call(this,Z$,0,$,N);for(var G$=0;G$<this.blockSize;G$++)Z$[G$]=$[N+G$]}else{O0._update.call(this,$$,Q$,$,N);for(var G$=0;G$<this.blockSize;G$++)$[N+G$]^=Z$[G$];for(var G$=0;G$<this.blockSize;G$++)Z$[G$]=$$[Q$+G$]}}}}),UY=pQ({"node_modules/des.js/lib/des/ede.js"(t0,m0){var a0=v0(),e0=dQ(),r0=ZY(),i0=GY();function $$($,N){a0.equal(N.length,24,"Invalid key length");var Y$=N.slice(0,8),O0=N.slice(8,16),Z$=N.slice(16,24);$==="encrypt"?this.ciphers=[i0.create({type:"encrypt",key:Y$}),i0.create({type:"decrypt",key:O0}),i0.create({type:"encrypt",key:Z$})]:this.ciphers=[i0.create({type:"decrypt",key:Z$}),i0.create({type:"encrypt",key:O0}),i0.create({type:"decrypt",key:Y$})]}function Q$($){r0.call(this,$);var N=new $$(this.type,this.options.key);this._edeState=N}e0(Q$,r0),m0.exports=Q$,Q$.create=function($){return new Q$($)},Q$.prototype._update=function($,N,Y$,O0){var Z$=this._edeState;Z$.ciphers[0]._update($,N,Y$,O0),Z$.ciphers[1]._update(Y$,O0,Y$,O0),Z$.ciphers[2]._update(Y$,O0,Y$,O0)},Q$.prototype._pad=i0.prototype._pad,Q$.prototype._unpad=i0.prototype._unpad}}),XY=pQ({"node_modules/des.js/lib/des.js"(t0){t0.utils=S0(),t0.Cipher=ZY(),t0.DES=GY(),t0.CBC=VY(),t0.EDE=UY()}}),KY=pQ({"node_modules/browserify-des/index.js"(t0,m0){var a0=A(),e0=XY(),r0=dQ(),i0=cQ().Buffer,$$={"des-ede3-cbc":e0.CBC.instantiate(e0.EDE),"des-ede3":e0.EDE,"des-ede-cbc":e0.CBC.instantiate(e0.EDE),"des-ede":e0.EDE,"des-cbc":e0.CBC.instantiate(e0.DES),"des-ecb":e0.DES};$$.des=$$["des-cbc"],$$.des3=$$["des-ede3-cbc"],m0.exports=Q$,r0(Q$,a0);function Q$($){a0.call(this);var N=$.mode.toLowerCase(),Y$=$$[N],O0;$.decrypt?O0="decrypt":O0="encrypt";var Z$=$.key;i0.isBuffer(Z$)||(Z$=i0.from(Z$)),(N==="des-ede"||N==="des-ede-cbc")&&(Z$=i0.concat([Z$,Z$.slice(0,8)]));var G$=$.iv;i0.isBuffer(G$)||(G$=i0.from(G$)),this._des=Y$.create({key:Z$,iv:G$,type:O0})}Q$.prototype._update=function($){return i0.from(this._des.update($))},Q$.prototype._final=function(){return i0.from(this._des.final())}}}),IY=pQ({"node_modules/browserify-aes/modes/ecb.js"(t0){t0.encrypt=function(m0,a0){return m0._cipher.encryptBlock(a0)},t0.decrypt=function(m0,a0){return m0._cipher.decryptBlock(a0)}}}),W=pQ({"node_modules/buffer-xor/index.js"(t0,m0){m0.exports=function(a0,e0){for(var r0=Math.min(a0.length,e0.length),i0=new G0(r0),$$=0;$$<r0;++$$)i0[$$]=a0[$$]^e0[$$];return i0}}}),n=pQ({"node_modules/browserify-aes/modes/cbc.js"(t0){var m0=W();t0.encrypt=function(a0,e0){var r0=m0(e0,a0._prev);return a0._prev=a0._cipher.encryptBlock(r0),a0._prev},t0.decrypt=function(a0,e0){var r0=a0._prev;a0._prev=e0;var i0=a0._cipher.decryptBlock(e0);return m0(i0,r0)}}}),q0=pQ({"node_modules/browserify-aes/modes/cfb.js"(t0){var m0=cQ().Buffer,a0=W();function e0(r0,i0,$$){var Q$=i0.length,$=a0(i0,r0._cache);return r0._cache=r0._cache.slice(Q$),r0._prev=m0.concat([r0._prev,$$?i0:$]),$}t0.encrypt=function(r0,i0,$$){for(var Q$=m0.allocUnsafe(0),$;i0.length;)if(r0._cache.length===0&&(r0._cache=r0._cipher.encryptBlock(r0._prev),r0._prev=m0.allocUnsafe(0)),r0._cache.length<=i0.length)$=r0._cache.length,Q$=m0.concat([Q$,e0(r0,i0.slice(0,$),$$)]),i0=i0.slice($);else{Q$=m0.concat([Q$,e0(r0,i0,$$)]);break}return Q$}}}),j0=pQ({"node_modules/browserify-aes/modes/cfb8.js"(t0){var m0=cQ().Buffer;function a0(e0,r0,i0){var $$=e0._cipher.encryptBlock(e0._prev),Q$=$$[0]^r0;return e0._prev=m0.concat([e0._prev.slice(1),m0.from([i0?r0:Q$])]),Q$}t0.encrypt=function(e0,r0,i0){for(var $$=r0.length,Q$=m0.allocUnsafe($$),$=-1;++$<$$;)Q$[$]=a0(e0,r0[$],i0);return Q$}}}),OY=pQ({"node_modules/browserify-aes/modes/cfb1.js"(t0){var m0=cQ().Buffer;function a0(r0,i0,$$){for(var Q$,$=-1,N=8,Y$=0,O0,Z$;++$<N;)Q$=r0._cipher.encryptBlock(r0._prev),O0=i0&1<<7-$?128:0,Z$=Q$[0]^O0,Y$+=(Z$&128)>>$%8,r0._prev=e0(r0._prev,$$?O0:Z$);return Y$}function e0(r0,i0){var $$=r0.length,Q$=-1,$=m0.allocUnsafe(r0.length);for(r0=m0.concat([r0,m0.from([i0])]);++Q$<$$;)$[Q$]=r0[Q$]<<1|r0[Q$+1]>>7;return $}t0.encrypt=function(r0,i0,$$){for(var Q$=i0.length,$=m0.allocUnsafe(Q$),N=-1;++N<Q$;)$[N]=a0(r0,i0[N],$$);return $}}}),JY=pQ({"node_modules/browserify-aes/modes/ofb.js"(t0){var m0=W();function a0(e0){return e0._prev=e0._cipher.encryptBlock(e0._prev),e0._prev}t0.encrypt=function(e0,r0){for(;e0._cache.length<r0.length;)e0._cache=G0.concat([e0._cache,a0(e0)]);var i0=e0._cache.slice(0,r0.length);return e0._cache=e0._cache.slice(r0.length),m0(r0,i0)}}}),FY=pQ({"node_modules/browserify-aes/incr32.js"(t0,m0){function a0(e0){for(var r0=e0.length,i0;r0--;)if(i0=e0.readUInt8(r0),i0===255)e0.writeUInt8(0,r0);else{i0++,e0.writeUInt8(i0,r0);break}}m0.exports=a0}}),jQ=pQ({"node_modules/browserify-aes/modes/ctr.js"(t0){var m0=W(),a0=cQ().Buffer,e0=FY();function r0($$){var Q$=$$._cipher.encryptBlockRaw($$._prev);return e0($$._prev),Q$}var i0=16;t0.encrypt=function($$,Q$){var $=Math.ceil(Q$.length/i0),N=$$._cache.length;$$._cache=a0.concat([$$._cache,a0.allocUnsafe($*i0)]);for(var Y$=0;Y$<$;Y$++){var O0=r0($$),Z$=N+Y$*i0;$$._cache.writeUInt32BE(O0[0],Z$+0),$$._cache.writeUInt32BE(O0[1],Z$+4),$$._cache.writeUInt32BE(O0[2],Z$+8),$$._cache.writeUInt32BE(O0[3],Z$+12)}var G$=$$._cache.slice(0,Q$.length);return $$._cache=$$._cache.slice(Q$.length),m0(Q$,G$)}}}),AY=pQ({"node_modules/browserify-aes/modes/list.json"(t0,m0){m0.exports={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128:{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192:{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256:{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}}}}),HY=pQ({"node_modules/browserify-aes/modes/index.js"(t0,m0){var a0={ECB:IY(),CBC:n(),CFB:q0(),CFB8:j0(),CFB1:OY(),OFB:JY(),CTR:jQ(),GCM:jQ()},e0=AY();for(r0 in e0)e0[r0].module=a0[e0[r0].mode];var r0;m0.exports=e0}}),WY=pQ({"node_modules/browserify-aes/aes.js"(t0,m0){var a0=cQ().Buffer;function e0(N){a0.isBuffer(N)||(N=a0.from(N));for(var Y$=N.length/4|0,O0=new Array(Y$),Z$=0;Z$<Y$;Z$++)O0[Z$]=N.readUInt32BE(Z$*4);return O0}function r0(N){for(var Y$=0;Y$<N.length;N++)N[Y$]=0}function i0(N,Y$,O0,Z$,G$){for(var V$=O0[0],U$=O0[1],X$=O0[2],K$=O0[3],I$=N[0]^Y$[0],Q=N[1]^Y$[1],x=N[2]^Y$[2],O$=N[3]^Y$[3],J0,J$,F$,A$,H$=4,W$=1;W$<G$;W$++)J0=V$[I$>>>24]^U$[Q>>>16&255]^X$[x>>>8&255]^K$[O$&255]^Y$[H$++],J$=V$[Q>>>24]^U$[x>>>16&255]^X$[O$>>>8&255]^K$[I$&255]^Y$[H$++],F$=V$[x>>>24]^U$[O$>>>16&255]^X$[I$>>>8&255]^K$[Q&255]^Y$[H$++],A$=V$[O$>>>24]^U$[I$>>>16&255]^X$[Q>>>8&255]^K$[x&255]^Y$[H$++],I$=J0,Q=J$,x=F$,O$=A$;return J0=(Z$[I$>>>24]<<24|Z$[Q>>>16&255]<<16|Z$[x>>>8&255]<<8|Z$[O$&255])^Y$[H$++],J$=(Z$[Q>>>24]<<24|Z$[x>>>16&255]<<16|Z$[O$>>>8&255]<<8|Z$[I$&255])^Y$[H$++],F$=(Z$[x>>>24]<<24|Z$[O$>>>16&255]<<16|Z$[I$>>>8&255]<<8|Z$[Q&255])^Y$[H$++],A$=(Z$[O$>>>24]<<24|Z$[I$>>>16&255]<<16|Z$[Q>>>8&255]<<8|Z$[x&255])^Y$[H$++],J0=J0>>>0,J$=J$>>>0,F$=F$>>>0,A$=A$>>>0,[J0,J$,F$,A$]}var $$=[0,1,2,4,8,16,32,64,128,27,54],Q$=function(){for(var N=new Array(256),Y$=0;Y$<256;Y$++)Y$<128?N[Y$]=Y$<<1:N[Y$]=Y$<<1^283;for(var O0=[],Z$=[],G$=[[],[],[],[]],V$=[[],[],[],[]],U$=0,X$=0,K$=0;K$<256;++K$){var I$=X$^X$<<1^X$<<2^X$<<3^X$<<4;I$=I$>>>8^I$&255^99,O0[U$]=I$,Z$[I$]=U$;var Q=N[U$],x=N[Q],O$=N[x],J0=N[I$]*257^I$*16843008;G$[0][U$]=J0<<24|J0>>>8,G$[1][U$]=J0<<16|J0>>>16,G$[2][U$]=J0<<8|J0>>>24,G$[3][U$]=J0,J0=O$*16843009^x*65537^Q*257^U$*16843008,V$[0][I$]=J0<<24|J0>>>8,V$[1][I$]=J0<<16|J0>>>16,V$[2][I$]=J0<<8|J0>>>24,V$[3][I$]=J0,U$===0?U$=X$=1:(U$=Q^N[N[N[O$^Q]]],X$^=N[N[X$]])}return{SBOX:O0,INV_SBOX:Z$,SUB_MIX:G$,INV_SUB_MIX:V$}}();function $(N){this._key=e0(N),this._reset()}$.blockSize=16,$.keySize=32,$.prototype.blockSize=$.blockSize,$.prototype.keySize=$.keySize,$.prototype._reset=function(){for(var N=this._key,Y$=N.length,O0=Y$+6,Z$=(O0+1)*4,G$=[],V$=0;V$<Y$;V$++)G$[V$]=N[V$];for(V$=Y$;V$<Z$;V$++){var U$=G$[V$-1];V$%Y$===0?(U$=U$<<8|U$>>>24,U$=Q$.SBOX[U$>>>24]<<24|Q$.SBOX[U$>>>16&255]<<16|Q$.SBOX[U$>>>8&255]<<8|Q$.SBOX[U$&255],U$^=$$[V$/Y$|0]<<24):Y$>6&&V$%Y$===4&&(U$=Q$.SBOX[U$>>>24]<<24|Q$.SBOX[U$>>>16&255]<<16|Q$.SBOX[U$>>>8&255]<<8|Q$.SBOX[U$&255]),G$[V$]=G$[V$-Y$]^U$}for(var X$=[],K$=0;K$<Z$;K$++){var I$=Z$-K$,Q=G$[I$-(K$%4?0:4)];K$<4||I$<=4?X$[K$]=Q:X$[K$]=Q$.INV_SUB_MIX[0][Q$.SBOX[Q>>>24]]^Q$.INV_SUB_MIX[1][Q$.SBOX[Q>>>16&255]]^Q$.INV_SUB_MIX[2][Q$.SBOX[Q>>>8&255]]^Q$.INV_SUB_MIX[3][Q$.SBOX[Q&255]]}this._nRounds=O0,this._keySchedule=G$,this._invKeySchedule=X$},$.prototype.encryptBlockRaw=function(N){return N=e0(N),i0(N,this._keySchedule,Q$.SUB_MIX,Q$.SBOX,this._nRounds)},$.prototype.encryptBlock=function(N){var Y$=this.encryptBlockRaw(N),O0=a0.allocUnsafe(16);return O0.writeUInt32BE(Y$[0],0),O0.writeUInt32BE(Y$[1],4),O0.writeUInt32BE(Y$[2],8),O0.writeUInt32BE(Y$[3],12),O0},$.prototype.decryptBlock=function(N){N=e0(N);var Y$=N[1];N[1]=N[3],N[3]=Y$;var O0=i0(N,this._invKeySchedule,Q$.INV_SUB_MIX,Q$.INV_SBOX,this._nRounds),Z$=a0.allocUnsafe(16);return Z$.writeUInt32BE(O0[0],0),Z$.writeUInt32BE(O0[3],4),Z$.writeUInt32BE(O0[2],8),Z$.writeUInt32BE(O0[1],12),Z$},$.prototype.scrub=function(){r0(this._keySchedule),r0(this._invKeySchedule),r0(this._key)},m0.exports.AES=$}}),EY=pQ({"node_modules/browserify-aes/ghash.js"(t0,m0){var a0=cQ().Buffer,e0=a0.alloc(16,0);function r0(Q$){return[Q$.readUInt32BE(0),Q$.readUInt32BE(4),Q$.readUInt32BE(8),Q$.readUInt32BE(12)]}function i0(Q$){var $=a0.allocUnsafe(16);return $.writeUInt32BE(Q$[0]>>>0,0),$.writeUInt32BE(Q$[1]>>>0,4),$.writeUInt32BE(Q$[2]>>>0,8),$.writeUInt32BE(Q$[3]>>>0,12),$}function $$(Q$){this.h=Q$,this.state=a0.alloc(16,0),this.cache=a0.allocUnsafe(0)}$$.prototype.ghash=function(Q$){for(var $=-1;++$<Q$.length;)this.state[$]^=Q$[$];this._multiply()},$$.prototype._multiply=function(){for(var Q$=r0(this.h),$=[0,0,0,0],N,Y$,O0,Z$=-1;++Z$<128;){for(Y$=(this.state[~~(Z$/8)]&1<<7-Z$%8)!==0,Y$&&($[0]^=Q$[0],$[1]^=Q$[1],$[2]^=Q$[2],$[3]^=Q$[3]),O0=(Q$[3]&1)!==0,N=3;N>0;N--)Q$[N]=Q$[N]>>>1|(Q$[N-1]&1)<<31;Q$[0]=Q$[0]>>>1,O0&&(Q$[0]=Q$[0]^225<<24)}this.state=i0($)},$$.prototype.update=function(Q$){this.cache=a0.concat([this.cache,Q$]);for(var $;this.cache.length>=16;)$=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash($)},$$.prototype.final=function(Q$,$){return this.cache.length&&this.ghash(a0.concat([this.cache,e0],16)),this.ghash(i0([0,Q$,0,$])),this.state},m0.exports=$$}}),E=pQ({"node_modules/browserify-aes/authCipher.js"(t0,m0){var a0=WY(),e0=cQ().Buffer,r0=A(),i0=dQ(),$$=EY(),Q$=W(),$=FY();function N(Z$,G$){var V$=0;Z$.length!==G$.length&&V$++;for(var U$=Math.min(Z$.length,G$.length),X$=0;X$<U$;++X$)V$+=Z$[X$]^G$[X$];return V$}function Y$(Z$,G$,V$){if(G$.length===12)return Z$._finID=e0.concat([G$,e0.from([0,0,0,1])]),e0.concat([G$,e0.from([0,0,0,2])]);var U$=new $$(V$),X$=G$.length,K$=X$%16;U$.update(G$),K$&&(K$=16-K$,U$.update(e0.alloc(K$,0))),U$.update(e0.alloc(8,0));var I$=X$*8,Q=e0.alloc(8);Q.writeUIntBE(I$,0,8),U$.update(Q),Z$._finID=U$.state;var x=e0.from(Z$._finID);return $(x),x}function O0(Z$,G$,V$,U$){r0.call(this);var X$=e0.alloc(4,0);this._cipher=new a0.AES(G$);var K$=this._cipher.encryptBlock(X$);this._ghash=new $$(K$),V$=Y$(this,V$,K$),this._prev=e0.from(V$),this._cache=e0.allocUnsafe(0),this._secCache=e0.allocUnsafe(0),this._decrypt=U$,this._alen=0,this._len=0,this._mode=Z$,this._authTag=null,this._called=!1}i0(O0,r0),O0.prototype._update=function(Z$){if(!this._called&&this._alen){var G$=16-this._alen%16;G$<16&&(G$=e0.alloc(G$,0),this._ghash.update(G$))}this._called=!0;var V$=this._mode.encrypt(this,Z$);return this._decrypt?this._ghash.update(Z$):this._ghash.update(V$),this._len+=Z$.length,V$},O0.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var Z$=Q$(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&N(Z$,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=Z$,this._cipher.scrub()},O0.prototype.getAuthTag=function(){if(this._decrypt||!e0.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},O0.prototype.setAuthTag=function(Z$){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=Z$},O0.prototype.setAAD=function(Z$){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(Z$),this._alen+=Z$.length},m0.exports=O0}}),s=pQ({"node_modules/browserify-aes/streamCipher.js"(t0,m0){var a0=WY(),e0=cQ().Buffer,r0=A(),i0=dQ();function $$(Q$,$,N,Y$){r0.call(this),this._cipher=new a0.AES($),this._prev=e0.from(N),this._cache=e0.allocUnsafe(0),this._secCache=e0.allocUnsafe(0),this._decrypt=Y$,this._mode=Q$}i0($$,r0),$$.prototype._update=function(Q$){return this._mode.encrypt(this,Q$,this._decrypt)},$$.prototype._final=function(){this._cipher.scrub()},m0.exports=$$}}),k0=pQ({"node_modules/evp_bytestokey/index.js"(t0,m0){var a0=cQ().Buffer,e0=_();function r0(i0,$$,Q$,$){if(a0.isBuffer(i0)||(i0=a0.from(i0,"binary")),$$&&(a0.isBuffer($$)||($$=a0.from($$,"binary")),$$.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var N=Q$/8,Y$=a0.alloc(N),O0=a0.alloc($||0),Z$=a0.alloc(0);N>0||$>0;){var G$=new e0;G$.update(Z$),G$.update(i0),$$&&G$.update($$),Z$=G$.digest();var V$=0;if(N>0){var U$=Y$.length-N;V$=Math.min(N,Z$.length),Z$.copy(Y$,U$,0,V$),N-=V$}if(V$<Z$.length&&$>0){var X$=O0.length-$,K$=Math.min($,Z$.length-V$);Z$.copy(O0,X$,V$,V$+K$),$-=K$}}return Z$.fill(0),{key:Y$,iv:O0}}m0.exports=r0}}),g0=pQ({"node_modules/browserify-aes/encrypter.js"(t0){var m0=HY(),a0=E(),e0=cQ().Buffer,r0=s(),i0=A(),$$=WY(),Q$=k0(),$=dQ();function N(V$,U$,X$){i0.call(this),this._cache=new O0,this._cipher=new $$.AES(U$),this._prev=e0.from(X$),this._mode=V$,this._autopadding=!0}$(N,i0),N.prototype._update=function(V$){this._cache.add(V$);for(var U$,X$,K$=[];U$=this._cache.get();)X$=this._mode.encrypt(this,U$),K$.push(X$);return e0.concat(K$)};var Y$=e0.alloc(16,16);N.prototype._final=function(){var V$=this._cache.flush();if(this._autopadding)return V$=this._mode.encrypt(this,V$),this._cipher.scrub(),V$;if(!V$.equals(Y$))throw this._cipher.scrub(),new Error("data not multiple of block length")},N.prototype.setAutoPadding=function(V$){return this._autopadding=!!V$,this};function O0(){this.cache=e0.allocUnsafe(0)}O0.prototype.add=function(V$){this.cache=e0.concat([this.cache,V$])},O0.prototype.get=function(){if(this.cache.length>15){var V$=this.cache.slice(0,16);return this.cache=this.cache.slice(16),V$}return null},O0.prototype.flush=function(){for(var V$=16-this.cache.length,U$=e0.allocUnsafe(V$),X$=-1;++X$<V$;)U$.writeUInt8(V$,X$);return e0.concat([this.cache,U$])};function Z$(V$,U$,X$){var K$=m0[V$.toLowerCase()];if(!K$)throw new TypeError("invalid suite type");if(typeof U$=="string"&&(U$=e0.from(U$)),U$.length!==K$.key/8)throw new TypeError("invalid key length "+U$.length);if(typeof X$=="string"&&(X$=e0.from(X$)),K$.mode!=="GCM"&&X$.length!==K$.iv)throw new TypeError("invalid iv length "+X$.length);return K$.type==="stream"?new r0(K$.module,U$,X$):K$.type==="auth"?new a0(K$.module,U$,X$):new N(K$.module,U$,X$)}function G$(V$,U$){var X$=m0[V$.toLowerCase()];if(!X$)throw new TypeError("invalid suite type");var K$=Q$(U$,!1,X$.key,X$.iv);return Z$(V$,K$.key,K$.iv)}t0.createCipheriv=Z$,t0.createCipher=G$}}),TY=pQ({"node_modules/browserify-aes/decrypter.js"(t0){var m0=E(),a0=cQ().Buffer,e0=HY(),r0=s(),i0=A(),$$=WY(),Q$=k0(),$=dQ();function N(V$,U$,X$){i0.call(this),this._cache=new Y$,this._last=void 0,this._cipher=new $$.AES(U$),this._prev=a0.from(X$),this._mode=V$,this._autopadding=!0}$(N,i0),N.prototype._update=function(V$){this._cache.add(V$);for(var U$,X$,K$=[];U$=this._cache.get(this._autopadding);)X$=this._mode.decrypt(this,U$),K$.push(X$);return a0.concat(K$)},N.prototype._final=function(){var V$=this._cache.flush();if(this._autopadding)return O0(this._mode.decrypt(this,V$));if(V$)throw new Error("data not multiple of block length")},N.prototype.setAutoPadding=function(V$){return this._autopadding=!!V$,this};function Y$(){this.cache=a0.allocUnsafe(0)}Y$.prototype.add=function(V$){this.cache=a0.concat([this.cache,V$])},Y$.prototype.get=function(V$){var U$;if(V$){if(this.cache.length>16)return U$=this.cache.slice(0,16),this.cache=this.cache.slice(16),U$}else if(this.cache.length>=16)return U$=this.cache.slice(0,16),this.cache=this.cache.slice(16),U$;return null},Y$.prototype.flush=function(){if(this.cache.length)return this.cache};function O0(V$){var U$=V$[15];if(U$<1||U$>16)throw new Error("unable to decrypt data");for(var X$=-1;++X$<U$;)if(V$[X$+(16-U$)]!==U$)throw new Error("unable to decrypt data");if(U$!==16)return V$.slice(0,16-U$)}function Z$(V$,U$,X$){var K$=e0[V$.toLowerCase()];if(!K$)throw new TypeError("invalid suite type");if(typeof X$=="string"&&(X$=a0.from(X$)),K$.mode!=="GCM"&&X$.length!==K$.iv)throw new TypeError("invalid iv length "+X$.length);if(typeof U$=="string"&&(U$=a0.from(U$)),U$.length!==K$.key/8)throw new TypeError("invalid key length "+U$.length);return K$.type==="stream"?new r0(K$.module,U$,X$,!0):K$.type==="auth"?new m0(K$.module,U$,X$,!0):new N(K$.module,U$,X$)}function G$(V$,U$){var X$=e0[V$.toLowerCase()];if(!X$)throw new TypeError("invalid suite type");var K$=Q$(U$,!1,X$.key,X$.iv);return Z$(V$,K$.key,K$.iv)}t0.createDecipher=G$,t0.createDecipheriv=Z$}}),DY=pQ({"node_modules/browserify-aes/browser.js"(t0){var m0=g0(),a0=TY(),e0=AY();function r0(){return Object.keys(e0)}t0.createCipher=t0.Cipher=m0.createCipher,t0.createCipheriv=t0.Cipheriv=m0.createCipheriv,t0.createDecipher=t0.Decipher=a0.createDecipher,t0.createDecipheriv=t0.Decipheriv=a0.createDecipheriv,t0.listCiphers=t0.getCiphers=r0}}),CY=pQ({"node_modules/browserify-des/modes.js"(t0){t0["des-ecb"]={key:8,iv:0},t0["des-cbc"]=t0.des={key:8,iv:8},t0["des-ede3-cbc"]=t0.des3={key:24,iv:8},t0["des-ede3"]={key:24,iv:0},t0["des-ede-cbc"]={key:16,iv:8},t0["des-ede"]={key:16,iv:0}}}),LY=pQ({"node_modules/browserify-cipher/browser.js"(t0){var m0=KY(),a0=DY(),e0=HY(),r0=CY(),i0=k0();function $$(O0,Z$){O0=O0.toLowerCase();var G$,V$;if(e0[O0])G$=e0[O0].key,V$=e0[O0].iv;else if(r0[O0])G$=r0[O0].key*8,V$=r0[O0].iv;else throw new TypeError("invalid suite type");var U$=i0(Z$,!1,G$,V$);return $(O0,U$.key,U$.iv)}function Q$(O0,Z$){O0=O0.toLowerCase();var G$,V$;if(e0[O0])G$=e0[O0].key,V$=e0[O0].iv;else if(r0[O0])G$=r0[O0].key*8,V$=r0[O0].iv;else throw new TypeError("invalid suite type");var U$=i0(Z$,!1,G$,V$);return N(O0,U$.key,U$.iv)}function $(O0,Z$,G$){if(O0=O0.toLowerCase(),e0[O0])return a0.createCipheriv(O0,Z$,G$);if(r0[O0])return new m0({key:Z$,iv:G$,mode:O0});throw new TypeError("invalid suite type")}function N(O0,Z$,G$){if(O0=O0.toLowerCase(),e0[O0])return a0.createDecipheriv(O0,Z$,G$);if(r0[O0])return new m0({key:Z$,iv:G$,mode:O0,decrypt:!0});throw new TypeError("invalid suite type")}function Y$(){return Object.keys(r0).concat(a0.getCiphers())}t0.createCipher=t0.Cipher=$$,t0.createCipheriv=t0.Cipheriv=$,t0.createDecipher=t0.Decipher=Q$,t0.createDecipheriv=t0.Decipheriv=N,t0.listCiphers=t0.getCiphers=Y$}}),RY=pQ({"node_modules/diffie-hellman/node_modules/bn.js/lib/bn.js"(t0,m0){(function(a0,e0){function r0(E$,T$){if(!E$)throw new Error(T$||"Assertion failed")}function i0(E$,T$){E$.super_=T$;var Y=function(){};Y.prototype=T$.prototype,E$.prototype=new Y,E$.prototype.constructor=E$}function $$(E$,T$,Y){if($$.isBN(E$))return E$;this.negative=0,this.words=null,this.length=0,this.red=null,E$!==null&&((T$==="le"||T$==="be")&&(Y=T$,T$=10),this._init(E$||0,T$||10,Y||"be"))}typeof a0=="object"?a0.exports=$$:e0.BN=$$,$$.BN=$$,$$.wordSize=26;var Q$=G0;$$.isBN=function(E$){return E$ instanceof $$?!0:E$!==null&&typeof E$=="object"&&E$.constructor.wordSize===$$.wordSize&&Array.isArray(E$.words)},$$.max=function(E$,T$){return E$.cmp(T$)>0?E$:T$},$$.min=function(E$,T$){return E$.cmp(T$)<0?E$:T$},$$.prototype._init=function(E$,T$,Y){if(typeof E$=="number")return this._initNumber(E$,T$,Y);if(typeof E$=="object")return this._initArray(E$,T$,Y);T$==="hex"&&(T$=16),r0(T$===(T$|0)&&T$>=2&&T$<=36),E$=E$.toString().replace(/\s+/g,"");var f=0;E$[0]==="-"&&(f++,this.negative=1),f<E$.length&&(T$===16?this._parseHex(E$,f,Y):(this._parseBase(E$,T$,f),Y==="le"&&this._initArray(this.toArray(),T$,Y)))},$$.prototype._initNumber=function(E$,T$,Y){E$<0&&(this.negative=1,E$=-E$),E$<67108864?(this.words=[E$&67108863],this.length=1):E$<4503599627370496?(this.words=[E$&67108863,E$/67108864&67108863],this.length=2):(r0(E$<9007199254740992),this.words=[E$&67108863,E$/67108864&67108863,1],this.length=3),Y==="le"&&this._initArray(this.toArray(),T$,Y)},$$.prototype._initArray=function(E$,T$,Y){if(r0(typeof E$.length=="number"),E$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E$.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$,F0,C$=0;if(Y==="be")for(f=E$.length-1,D$=0;f>=0;f-=3)F0=E$[f]|E$[f-1]<<8|E$[f-2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);else if(Y==="le")for(f=0,D$=0;f<E$.length;f+=3)F0=E$[f]|E$[f+1]<<8|E$[f+2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);return this.strip()};function $(E$,T$){var Y=E$.charCodeAt(T$);return Y>=65&&Y<=70?Y-55:Y>=97&&Y<=102?Y-87:Y-48&15}function N(E$,T$,Y){var f=$(E$,Y);return Y-1>=T$&&(f|=$(E$,Y-1)<<4),f}$$.prototype._parseHex=function(E$,T$,Y){this.length=Math.ceil((E$.length-T$)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$=0,F0=0,C$;if(Y==="be")for(f=E$.length-1;f>=T$;f-=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8;else{var L$=E$.length-T$;for(f=L$%2===0?T$+1:T$;f<E$.length;f+=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8}this.strip()};function Y$(E$,T$,Y,f){for(var D$=0,F0=Math.min(E$.length,Y),C$=T$;C$<F0;C$++){var L$=E$.charCodeAt(C$)-48;D$*=f,L$>=49?D$+=L$-49+10:L$>=17?D$+=L$-17+10:D$+=L$}return D$}$$.prototype._parseBase=function(E$,T$,Y){this.words=[0],this.length=1;for(var f=0,D$=1;D$<=67108863;D$*=T$)f++;f--,D$=D$/T$|0;for(var F0=E$.length-Y,C$=F0%f,L$=Math.min(F0,F0-C$)+Y,R$=0,P$=Y;P$<L$;P$+=f)R$=Y$(E$,P$,P$+f,T$),this.imuln(D$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$);if(C$!==0){var z$=1;for(R$=Y$(E$,P$,E$.length,T$),P$=0;P$<C$;P$++)z$*=T$;this.imuln(z$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$)}this.strip()},$$.prototype.copy=function(E$){E$.words=new Array(this.length);for(var T$=0;T$<this.length;T$++)E$.words[T$]=this.words[T$];E$.length=this.length,E$.negative=this.negative,E$.red=this.red},$$.prototype.clone=function(){var E$=new $$(null);return this.copy(E$),E$},$$.prototype._expand=function(E$){for(;this.length<E$;)this.words[this.length++]=0;return this},$$.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},$$.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},$$.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var O0=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],Z$=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],G$=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];$$.prototype.toString=function(E$,T$){E$=E$||10,T$=T$|0||1;var Y;if(E$===16||E$==="hex"){Y="";for(var f=0,D$=0,F0=0;F0<this.length;F0++){var C$=this.words[F0],L$=((C$<<f|D$)&16777215).toString(16);D$=C$>>>24-f&16777215,D$!==0||F0!==this.length-1?Y=O0[6-L$.length]+L$+Y:Y=L$+Y,f+=2,f>=26&&(f-=26,F0--)}for(D$!==0&&(Y=D$.toString(16)+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}if(E$===(E$|0)&&E$>=2&&E$<=36){var R$=Z$[E$],P$=G$[E$];Y="";var z$=this.clone();for(z$.negative=0;!z$.isZero();){var M$=z$.modn(P$).toString(E$);z$=z$.idivn(P$),z$.isZero()?Y=M$+Y:Y=O0[R$-M$.length]+M$+Y}for(this.isZero()&&(Y="0"+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}r0(!1,"Base should be between 2 and 36")},$$.prototype.toNumber=function(){var E$=this.words[0];return this.length===2?E$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?E$+=4503599627370496+this.words[1]*67108864:this.length>2&&r0(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-E$:E$},$$.prototype.toJSON=function(){return this.toString(16)},$$.prototype.toBuffer=function(E$,T$){return r0(typeof Q$<"u"),this.toArrayLike(Q$,E$,T$)},$$.prototype.toArray=function(E$,T$){return this.toArrayLike(Array,E$,T$)},$$.prototype.toArrayLike=function(E$,T$,Y){var f=this.byteLength(),D$=Y||Math.max(1,f);r0(f<=D$,"byte array longer than desired length"),r0(D$>0,"Requested array length <= 0"),this.strip();var F0=T$==="le",C$=new E$(D$),L$,R$,P$=this.clone();if(F0){for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[R$]=L$;for(;R$<D$;R$++)C$[R$]=0}else{for(R$=0;R$<D$-f;R$++)C$[R$]=0;for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[D$-R$-1]=L$}return C$},Math.clz32?$$.prototype._countBits=function(E$){return 32-Math.clz32(E$)}:$$.prototype._countBits=function(E$){var T$=E$,Y=0;return T$>=4096&&(Y+=13,T$>>>=13),T$>=64&&(Y+=7,T$>>>=7),T$>=8&&(Y+=4,T$>>>=4),T$>=2&&(Y+=2,T$>>>=2),Y+T$},$$.prototype._zeroBits=function(E$){if(E$===0)return 26;var T$=E$,Y=0;return(T$&8191)===0&&(Y+=13,T$>>>=13),(T$&127)===0&&(Y+=7,T$>>>=7),(T$&15)===0&&(Y+=4,T$>>>=4),(T$&3)===0&&(Y+=2,T$>>>=2),(T$&1)===0&&Y++,Y},$$.prototype.bitLength=function(){var E$=this.words[this.length-1],T$=this._countBits(E$);return(this.length-1)*26+T$};function V$(E$){for(var T$=new Array(E$.bitLength()),Y=0;Y<T$.length;Y++){var f=Y/26|0,D$=Y%26;T$[Y]=(E$.words[f]&1<<D$)>>>D$}return T$}$$.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E$=0,T$=0;T$<this.length;T$++){var Y=this._zeroBits(this.words[T$]);if(E$+=Y,Y!==26)break}return E$},$$.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},$$.prototype.toTwos=function(E$){return this.negative!==0?this.abs().inotn(E$).iaddn(1):this.clone()},$$.prototype.fromTwos=function(E$){return this.testn(E$-1)?this.notn(E$).iaddn(1).ineg():this.clone()},$$.prototype.isNeg=function(){return this.negative!==0},$$.prototype.neg=function(){return this.clone().ineg()},$$.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},$$.prototype.iuor=function(E$){for(;this.length<E$.length;)this.words[this.length++]=0;for(var T$=0;T$<E$.length;T$++)this.words[T$]=this.words[T$]|E$.words[T$];return this.strip()},$$.prototype.ior=function(E$){return r0((this.negative|E$.negative)===0),this.iuor(E$)},$$.prototype.or=function(E$){return this.length>E$.length?this.clone().ior(E$):E$.clone().ior(this)},$$.prototype.uor=function(E$){return this.length>E$.length?this.clone().iuor(E$):E$.clone().iuor(this)},$$.prototype.iuand=function(E$){var T$;this.length>E$.length?T$=E$:T$=this;for(var Y=0;Y<T$.length;Y++)this.words[Y]=this.words[Y]&E$.words[Y];return this.length=T$.length,this.strip()},$$.prototype.iand=function(E$){return r0((this.negative|E$.negative)===0),this.iuand(E$)},$$.prototype.and=function(E$){return this.length>E$.length?this.clone().iand(E$):E$.clone().iand(this)},$$.prototype.uand=function(E$){return this.length>E$.length?this.clone().iuand(E$):E$.clone().iuand(this)},$$.prototype.iuxor=function(E$){var T$,Y;this.length>E$.length?(T$=this,Y=E$):(T$=E$,Y=this);for(var f=0;f<Y.length;f++)this.words[f]=T$.words[f]^Y.words[f];if(this!==T$)for(;f<T$.length;f++)this.words[f]=T$.words[f];return this.length=T$.length,this.strip()},$$.prototype.ixor=function(E$){return r0((this.negative|E$.negative)===0),this.iuxor(E$)},$$.prototype.xor=function(E$){return this.length>E$.length?this.clone().ixor(E$):E$.clone().ixor(this)},$$.prototype.uxor=function(E$){return this.length>E$.length?this.clone().iuxor(E$):E$.clone().iuxor(this)},$$.prototype.inotn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=Math.ceil(E$/26)|0,Y=E$%26;this._expand(T$),Y>0&&T$--;for(var f=0;f<T$;f++)this.words[f]=~this.words[f]&67108863;return Y>0&&(this.words[f]=~this.words[f]&67108863>>26-Y),this.strip()},$$.prototype.notn=function(E$){return this.clone().inotn(E$)},$$.prototype.setn=function(E$,T$){r0(typeof E$=="number"&&E$>=0);var Y=E$/26|0,f=E$%26;return this._expand(Y+1),T$?this.words[Y]=this.words[Y]|1<<f:this.words[Y]=this.words[Y]&~(1<<f),this.strip()},$$.prototype.iadd=function(E$){var T$;if(this.negative!==0&&E$.negative===0)return this.negative=0,T$=this.isub(E$),this.negative^=1,this._normSign();if(this.negative===0&&E$.negative!==0)return E$.negative=0,T$=this.isub(E$),E$.negative=1,T$._normSign();var Y,f;this.length>E$.length?(Y=this,f=E$):(Y=E$,f=this);for(var D$=0,F0=0;F0<f.length;F0++)T$=(Y.words[F0]|0)+(f.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;for(;D$!==0&&F0<Y.length;F0++)T$=(Y.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;if(this.length=Y.length,D$!==0)this.words[this.length]=D$,this.length++;else if(Y!==this)for(;F0<Y.length;F0++)this.words[F0]=Y.words[F0];return this},$$.prototype.add=function(E$){var T$;return E$.negative!==0&&this.negative===0?(E$.negative=0,T$=this.sub(E$),E$.negative^=1,T$):E$.negative===0&&this.negative!==0?(this.negative=0,T$=E$.sub(this),this.negative=1,T$):this.length>E$.length?this.clone().iadd(E$):E$.clone().iadd(this)},$$.prototype.isub=function(E$){if(E$.negative!==0){E$.negative=0;var T$=this.iadd(E$);return E$.negative=1,T$._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(E$),this.negative=1,this._normSign();var Y=this.cmp(E$);if(Y===0)return this.negative=0,this.length=1,this.words[0]=0,this;var f,D$;Y>0?(f=this,D$=E$):(f=E$,D$=this);for(var F0=0,C$=0;C$<D$.length;C$++)T$=(f.words[C$]|0)-(D$.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;for(;F0!==0&&C$<f.length;C$++)T$=(f.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;if(F0===0&&C$<f.length&&f!==this)for(;C$<f.length;C$++)this.words[C$]=f.words[C$];return this.length=Math.max(this.length,C$),f!==this&&(this.negative=1),this.strip()},$$.prototype.sub=function(E$){return this.clone().isub(E$)};function U$(E$,T$,Y){Y.negative=T$.negative^E$.negative;var f=E$.length+T$.length|0;Y.length=f,f=f-1|0;var D$=E$.words[0]|0,F0=T$.words[0]|0,C$=D$*F0,L$=C$&67108863,R$=C$/67108864|0;Y.words[0]=L$;for(var P$=1;P$<f;P$++){for(var z$=R$>>>26,M$=R$&67108863,S$=Math.min(P$,T$.length-1),Z=Math.max(0,P$-E$.length+1);Z<=S$;Z++){var c=P$-Z|0;D$=E$.words[c]|0,F0=T$.words[Z]|0,C$=D$*F0+M$,z$+=C$/67108864|0,M$=C$&67108863}Y.words[P$]=M$|0,R$=z$|0}return R$!==0?Y.words[P$]=R$|0:Y.length--,Y.strip()}var X$=function(E$,T$,Y){var f=E$.words,D$=T$.words,F0=Y.words,C$=0,L$,R$,P$,z$=f[0]|0,M$=z$&8191,S$=z$>>>13,Z=f[1]|0,c=Z&8191,v$=Z>>>13,A0=f[2]|0,q$=A0&8191,j$=A0>>>13,k$=f[3]|0,g$=k$&8191,_$=k$>>>13,N$=f[4]|0,x$=N$&8191,G=N$>>>13,B=f[5]|0,B$=B&8191,H0=B>>>13,y$=f[6]|0,w$=y$&8191,p$=y$>>>13,f$=f[7]|0,c$=f$&8191,h$=f$>>>13,d$=f[8]|0,V=d$&8191,h=d$>>>13,W0=f[9]|0,E0=W0&8191,b$=W0>>>13,l$=D$[0]|0,o$=l$&8191,u$=l$>>>13,n$=D$[1]|0,s$=n$&8191,t$=n$>>>13,U=D$[2]|0,d=U&8191,m$=U>>>13,T0=D$[3]|0,a$=T0&8191,e$=T0>>>13,r$=D$[4]|0,i$=r$&8191,$Q=r$>>>13,QQ=D$[5]|0,YQ=QQ&8191,X=QQ>>>13,b=D$[6]|0,ZQ=b&8191,D0=b>>>13,GQ=D$[7]|0,VQ=GQ&8191,UQ=GQ>>>13,XQ=D$[8]|0,KQ=XQ&8191,IQ=XQ>>>13,OQ=D$[9]|0,K=OQ&8191,l=OQ>>>13;Y.negative=E$.negative^T$.negative,Y.length=19,L$=Math.imul(M$,o$),R$=Math.imul(M$,u$),R$=R$+Math.imul(S$,o$)|0,P$=Math.imul(S$,u$);var JQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(JQ>>>26)|0,JQ&=67108863,L$=Math.imul(c,o$),R$=Math.imul(c,u$),R$=R$+Math.imul(v$,o$)|0,P$=Math.imul(v$,u$),L$=L$+Math.imul(M$,s$)|0,R$=R$+Math.imul(M$,t$)|0,R$=R$+Math.imul(S$,s$)|0,P$=P$+Math.imul(S$,t$)|0;var C0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(C0>>>26)|0,C0&=67108863,L$=Math.imul(q$,o$),R$=Math.imul(q$,u$),R$=R$+Math.imul(j$,o$)|0,P$=Math.imul(j$,u$),L$=L$+Math.imul(c,s$)|0,R$=R$+Math.imul(c,t$)|0,R$=R$+Math.imul(v$,s$)|0,P$=P$+Math.imul(v$,t$)|0,L$=L$+Math.imul(M$,d)|0,R$=R$+Math.imul(M$,m$)|0,R$=R$+Math.imul(S$,d)|0,P$=P$+Math.imul(S$,m$)|0;var FQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(FQ>>>26)|0,FQ&=67108863,L$=Math.imul(g$,o$),R$=Math.imul(g$,u$),R$=R$+Math.imul(_$,o$)|0,P$=Math.imul(_$,u$),L$=L$+Math.imul(q$,s$)|0,R$=R$+Math.imul(q$,t$)|0,R$=R$+Math.imul(j$,s$)|0,P$=P$+Math.imul(j$,t$)|0,L$=L$+Math.imul(c,d)|0,R$=R$+Math.imul(c,m$)|0,R$=R$+Math.imul(v$,d)|0,P$=P$+Math.imul(v$,m$)|0,L$=L$+Math.imul(M$,a$)|0,R$=R$+Math.imul(M$,e$)|0,R$=R$+Math.imul(S$,a$)|0,P$=P$+Math.imul(S$,e$)|0;var AQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(AQ>>>26)|0,AQ&=67108863,L$=Math.imul(x$,o$),R$=Math.imul(x$,u$),R$=R$+Math.imul(G,o$)|0,P$=Math.imul(G,u$),L$=L$+Math.imul(g$,s$)|0,R$=R$+Math.imul(g$,t$)|0,R$=R$+Math.imul(_$,s$)|0,P$=P$+Math.imul(_$,t$)|0,L$=L$+Math.imul(q$,d)|0,R$=R$+Math.imul(q$,m$)|0,R$=R$+Math.imul(j$,d)|0,P$=P$+Math.imul(j$,m$)|0,L$=L$+Math.imul(c,a$)|0,R$=R$+Math.imul(c,e$)|0,R$=R$+Math.imul(v$,a$)|0,P$=P$+Math.imul(v$,e$)|0,L$=L$+Math.imul(M$,i$)|0,R$=R$+Math.imul(M$,$Q)|0,R$=R$+Math.imul(S$,i$)|0,P$=P$+Math.imul(S$,$Q)|0;var HQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(HQ>>>26)|0,HQ&=67108863,L$=Math.imul(B$,o$),R$=Math.imul(B$,u$),R$=R$+Math.imul(H0,o$)|0,P$=Math.imul(H0,u$),L$=L$+Math.imul(x$,s$)|0,R$=R$+Math.imul(x$,t$)|0,R$=R$+Math.imul(G,s$)|0,P$=P$+Math.imul(G,t$)|0,L$=L$+Math.imul(g$,d)|0,R$=R$+Math.imul(g$,m$)|0,R$=R$+Math.imul(_$,d)|0,P$=P$+Math.imul(_$,m$)|0,L$=L$+Math.imul(q$,a$)|0,R$=R$+Math.imul(q$,e$)|0,R$=R$+Math.imul(j$,a$)|0,P$=P$+Math.imul(j$,e$)|0,L$=L$+Math.imul(c,i$)|0,R$=R$+Math.imul(c,$Q)|0,R$=R$+Math.imul(v$,i$)|0,P$=P$+Math.imul(v$,$Q)|0,L$=L$+Math.imul(M$,YQ)|0,R$=R$+Math.imul(M$,X)|0,R$=R$+Math.imul(S$,YQ)|0,P$=P$+Math.imul(S$,X)|0;var WQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(WQ>>>26)|0,WQ&=67108863,L$=Math.imul(w$,o$),R$=Math.imul(w$,u$),R$=R$+Math.imul(p$,o$)|0,P$=Math.imul(p$,u$),L$=L$+Math.imul(B$,s$)|0,R$=R$+Math.imul(B$,t$)|0,R$=R$+Math.imul(H0,s$)|0,P$=P$+Math.imul(H0,t$)|0,L$=L$+Math.imul(x$,d)|0,R$=R$+Math.imul(x$,m$)|0,R$=R$+Math.imul(G,d)|0,P$=P$+Math.imul(G,m$)|0,L$=L$+Math.imul(g$,a$)|0,R$=R$+Math.imul(g$,e$)|0,R$=R$+Math.imul(_$,a$)|0,P$=P$+Math.imul(_$,e$)|0,L$=L$+Math.imul(q$,i$)|0,R$=R$+Math.imul(q$,$Q)|0,R$=R$+Math.imul(j$,i$)|0,P$=P$+Math.imul(j$,$Q)|0,L$=L$+Math.imul(c,YQ)|0,R$=R$+Math.imul(c,X)|0,R$=R$+Math.imul(v$,YQ)|0,P$=P$+Math.imul(v$,X)|0,L$=L$+Math.imul(M$,ZQ)|0,R$=R$+Math.imul(M$,D0)|0,R$=R$+Math.imul(S$,ZQ)|0,P$=P$+Math.imul(S$,D0)|0;var EQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(EQ>>>26)|0,EQ&=67108863,L$=Math.imul(c$,o$),R$=Math.imul(c$,u$),R$=R$+Math.imul(h$,o$)|0,P$=Math.imul(h$,u$),L$=L$+Math.imul(w$,s$)|0,R$=R$+Math.imul(w$,t$)|0,R$=R$+Math.imul(p$,s$)|0,P$=P$+Math.imul(p$,t$)|0,L$=L$+Math.imul(B$,d)|0,R$=R$+Math.imul(B$,m$)|0,R$=R$+Math.imul(H0,d)|0,P$=P$+Math.imul(H0,m$)|0,L$=L$+Math.imul(x$,a$)|0,R$=R$+Math.imul(x$,e$)|0,R$=R$+Math.imul(G,a$)|0,P$=P$+Math.imul(G,e$)|0,L$=L$+Math.imul(g$,i$)|0,R$=R$+Math.imul(g$,$Q)|0,R$=R$+Math.imul(_$,i$)|0,P$=P$+Math.imul(_$,$Q)|0,L$=L$+Math.imul(q$,YQ)|0,R$=R$+Math.imul(q$,X)|0,R$=R$+Math.imul(j$,YQ)|0,P$=P$+Math.imul(j$,X)|0,L$=L$+Math.imul(c,ZQ)|0,R$=R$+Math.imul(c,D0)|0,R$=R$+Math.imul(v$,ZQ)|0,P$=P$+Math.imul(v$,D0)|0,L$=L$+Math.imul(M$,VQ)|0,R$=R$+Math.imul(M$,UQ)|0,R$=R$+Math.imul(S$,VQ)|0,P$=P$+Math.imul(S$,UQ)|0;var TQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(TQ>>>26)|0,TQ&=67108863,L$=Math.imul(V,o$),R$=Math.imul(V,u$),R$=R$+Math.imul(h,o$)|0,P$=Math.imul(h,u$),L$=L$+Math.imul(c$,s$)|0,R$=R$+Math.imul(c$,t$)|0,R$=R$+Math.imul(h$,s$)|0,P$=P$+Math.imul(h$,t$)|0,L$=L$+Math.imul(w$,d)|0,R$=R$+Math.imul(w$,m$)|0,R$=R$+Math.imul(p$,d)|0,P$=P$+Math.imul(p$,m$)|0,L$=L$+Math.imul(B$,a$)|0,R$=R$+Math.imul(B$,e$)|0,R$=R$+Math.imul(H0,a$)|0,P$=P$+Math.imul(H0,e$)|0,L$=L$+Math.imul(x$,i$)|0,R$=R$+Math.imul(x$,$Q)|0,R$=R$+Math.imul(G,i$)|0,P$=P$+Math.imul(G,$Q)|0,L$=L$+Math.imul(g$,YQ)|0,R$=R$+Math.imul(g$,X)|0,R$=R$+Math.imul(_$,YQ)|0,P$=P$+Math.imul(_$,X)|0,L$=L$+Math.imul(q$,ZQ)|0,R$=R$+Math.imul(q$,D0)|0,R$=R$+Math.imul(j$,ZQ)|0,P$=P$+Math.imul(j$,D0)|0,L$=L$+Math.imul(c,VQ)|0,R$=R$+Math.imul(c,UQ)|0,R$=R$+Math.imul(v$,VQ)|0,P$=P$+Math.imul(v$,UQ)|0,L$=L$+Math.imul(M$,KQ)|0,R$=R$+Math.imul(M$,IQ)|0,R$=R$+Math.imul(S$,KQ)|0,P$=P$+Math.imul(S$,IQ)|0;var DQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(DQ>>>26)|0,DQ&=67108863,L$=Math.imul(E0,o$),R$=Math.imul(E0,u$),R$=R$+Math.imul(b$,o$)|0,P$=Math.imul(b$,u$),L$=L$+Math.imul(V,s$)|0,R$=R$+Math.imul(V,t$)|0,R$=R$+Math.imul(h,s$)|0,P$=P$+Math.imul(h,t$)|0,L$=L$+Math.imul(c$,d)|0,R$=R$+Math.imul(c$,m$)|0,R$=R$+Math.imul(h$,d)|0,P$=P$+Math.imul(h$,m$)|0,L$=L$+Math.imul(w$,a$)|0,R$=R$+Math.imul(w$,e$)|0,R$=R$+Math.imul(p$,a$)|0,P$=P$+Math.imul(p$,e$)|0,L$=L$+Math.imul(B$,i$)|0,R$=R$+Math.imul(B$,$Q)|0,R$=R$+Math.imul(H0,i$)|0,P$=P$+Math.imul(H0,$Q)|0,L$=L$+Math.imul(x$,YQ)|0,R$=R$+Math.imul(x$,X)|0,R$=R$+Math.imul(G,YQ)|0,P$=P$+Math.imul(G,X)|0,L$=L$+Math.imul(g$,ZQ)|0,R$=R$+Math.imul(g$,D0)|0,R$=R$+Math.imul(_$,ZQ)|0,P$=P$+Math.imul(_$,D0)|0,L$=L$+Math.imul(q$,VQ)|0,R$=R$+Math.imul(q$,UQ)|0,R$=R$+Math.imul(j$,VQ)|0,P$=P$+Math.imul(j$,UQ)|0,L$=L$+Math.imul(c,KQ)|0,R$=R$+Math.imul(c,IQ)|0,R$=R$+Math.imul(v$,KQ)|0,P$=P$+Math.imul(v$,IQ)|0,L$=L$+Math.imul(M$,K)|0,R$=R$+Math.imul(M$,l)|0,R$=R$+Math.imul(S$,K)|0,P$=P$+Math.imul(S$,l)|0;var I=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(I>>>26)|0,I&=67108863,L$=Math.imul(E0,s$),R$=Math.imul(E0,t$),R$=R$+Math.imul(b$,s$)|0,P$=Math.imul(b$,t$),L$=L$+Math.imul(V,d)|0,R$=R$+Math.imul(V,m$)|0,R$=R$+Math.imul(h,d)|0,P$=P$+Math.imul(h,m$)|0,L$=L$+Math.imul(c$,a$)|0,R$=R$+Math.imul(c$,e$)|0,R$=R$+Math.imul(h$,a$)|0,P$=P$+Math.imul(h$,e$)|0,L$=L$+Math.imul(w$,i$)|0,R$=R$+Math.imul(w$,$Q)|0,R$=R$+Math.imul(p$,i$)|0,P$=P$+Math.imul(p$,$Q)|0,L$=L$+Math.imul(B$,YQ)|0,R$=R$+Math.imul(B$,X)|0,R$=R$+Math.imul(H0,YQ)|0,P$=P$+Math.imul(H0,X)|0,L$=L$+Math.imul(x$,ZQ)|0,R$=R$+Math.imul(x$,D0)|0,R$=R$+Math.imul(G,ZQ)|0,P$=P$+Math.imul(G,D0)|0,L$=L$+Math.imul(g$,VQ)|0,R$=R$+Math.imul(g$,UQ)|0,R$=R$+Math.imul(_$,VQ)|0,P$=P$+Math.imul(_$,UQ)|0,L$=L$+Math.imul(q$,KQ)|0,R$=R$+Math.imul(q$,IQ)|0,R$=R$+Math.imul(j$,KQ)|0,P$=P$+Math.imul(j$,IQ)|0,L$=L$+Math.imul(c,K)|0,R$=R$+Math.imul(c,l)|0,R$=R$+Math.imul(v$,K)|0,P$=P$+Math.imul(v$,l)|0;var o=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(o>>>26)|0,o&=67108863,L$=Math.imul(E0,d),R$=Math.imul(E0,m$),R$=R$+Math.imul(b$,d)|0,P$=Math.imul(b$,m$),L$=L$+Math.imul(V,a$)|0,R$=R$+Math.imul(V,e$)|0,R$=R$+Math.imul(h,a$)|0,P$=P$+Math.imul(h,e$)|0,L$=L$+Math.imul(c$,i$)|0,R$=R$+Math.imul(c$,$Q)|0,R$=R$+Math.imul(h$,i$)|0,P$=P$+Math.imul(h$,$Q)|0,L$=L$+Math.imul(w$,YQ)|0,R$=R$+Math.imul(w$,X)|0,R$=R$+Math.imul(p$,YQ)|0,P$=P$+Math.imul(p$,X)|0,L$=L$+Math.imul(B$,ZQ)|0,R$=R$+Math.imul(B$,D0)|0,R$=R$+Math.imul(H0,ZQ)|0,P$=P$+Math.imul(H0,D0)|0,L$=L$+Math.imul(x$,VQ)|0,R$=R$+Math.imul(x$,UQ)|0,R$=R$+Math.imul(G,VQ)|0,P$=P$+Math.imul(G,UQ)|0,L$=L$+Math.imul(g$,KQ)|0,R$=R$+Math.imul(g$,IQ)|0,R$=R$+Math.imul(_$,KQ)|0,P$=P$+Math.imul(_$,IQ)|0,L$=L$+Math.imul(q$,K)|0,R$=R$+Math.imul(q$,l)|0,R$=R$+Math.imul(j$,K)|0,P$=P$+Math.imul(j$,l)|0;var CQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(CQ>>>26)|0,CQ&=67108863,L$=Math.imul(E0,a$),R$=Math.imul(E0,e$),R$=R$+Math.imul(b$,a$)|0,P$=Math.imul(b$,e$),L$=L$+Math.imul(V,i$)|0,R$=R$+Math.imul(V,$Q)|0,R$=R$+Math.imul(h,i$)|0,P$=P$+Math.imul(h,$Q)|0,L$=L$+Math.imul(c$,YQ)|0,R$=R$+Math.imul(c$,X)|0,R$=R$+Math.imul(h$,YQ)|0,P$=P$+Math.imul(h$,X)|0,L$=L$+Math.imul(w$,ZQ)|0,R$=R$+Math.imul(w$,D0)|0,R$=R$+Math.imul(p$,ZQ)|0,P$=P$+Math.imul(p$,D0)|0,L$=L$+Math.imul(B$,VQ)|0,R$=R$+Math.imul(B$,UQ)|0,R$=R$+Math.imul(H0,VQ)|0,P$=P$+Math.imul(H0,UQ)|0,L$=L$+Math.imul(x$,KQ)|0,R$=R$+Math.imul(x$,IQ)|0,R$=R$+Math.imul(G,KQ)|0,P$=P$+Math.imul(G,IQ)|0,L$=L$+Math.imul(g$,K)|0,R$=R$+Math.imul(g$,l)|0,R$=R$+Math.imul(_$,K)|0,P$=P$+Math.imul(_$,l)|0;var L0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(L0>>>26)|0,L0&=67108863,L$=Math.imul(E0,i$),R$=Math.imul(E0,$Q),R$=R$+Math.imul(b$,i$)|0,P$=Math.imul(b$,$Q),L$=L$+Math.imul(V,YQ)|0,R$=R$+Math.imul(V,X)|0,R$=R$+Math.imul(h,YQ)|0,P$=P$+Math.imul(h,X)|0,L$=L$+Math.imul(c$,ZQ)|0,R$=R$+Math.imul(c$,D0)|0,R$=R$+Math.imul(h$,ZQ)|0,P$=P$+Math.imul(h$,D0)|0,L$=L$+Math.imul(w$,VQ)|0,R$=R$+Math.imul(w$,UQ)|0,R$=R$+Math.imul(p$,VQ)|0,P$=P$+Math.imul(p$,UQ)|0,L$=L$+Math.imul(B$,KQ)|0,R$=R$+Math.imul(B$,IQ)|0,R$=R$+Math.imul(H0,KQ)|0,P$=P$+Math.imul(H0,IQ)|0,L$=L$+Math.imul(x$,K)|0,R$=R$+Math.imul(x$,l)|0,R$=R$+Math.imul(G,K)|0,P$=P$+Math.imul(G,l)|0;var LQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(LQ>>>26)|0,LQ&=67108863,L$=Math.imul(E0,YQ),R$=Math.imul(E0,X),R$=R$+Math.imul(b$,YQ)|0,P$=Math.imul(b$,X),L$=L$+Math.imul(V,ZQ)|0,R$=R$+Math.imul(V,D0)|0,R$=R$+Math.imul(h,ZQ)|0,P$=P$+Math.imul(h,D0)|0,L$=L$+Math.imul(c$,VQ)|0,R$=R$+Math.imul(c$,UQ)|0,R$=R$+Math.imul(h$,VQ)|0,P$=P$+Math.imul(h$,UQ)|0,L$=L$+Math.imul(w$,KQ)|0,R$=R$+Math.imul(w$,IQ)|0,R$=R$+Math.imul(p$,KQ)|0,P$=P$+Math.imul(p$,IQ)|0,L$=L$+Math.imul(B$,K)|0,R$=R$+Math.imul(B$,l)|0,R$=R$+Math.imul(H0,K)|0,P$=P$+Math.imul(H0,l)|0;var RQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(RQ>>>26)|0,RQ&=67108863,L$=Math.imul(E0,ZQ),R$=Math.imul(E0,D0),R$=R$+Math.imul(b$,ZQ)|0,P$=Math.imul(b$,D0),L$=L$+Math.imul(V,VQ)|0,R$=R$+Math.imul(V,UQ)|0,R$=R$+Math.imul(h,VQ)|0,P$=P$+Math.imul(h,UQ)|0,L$=L$+Math.imul(c$,KQ)|0,R$=R$+Math.imul(c$,IQ)|0,R$=R$+Math.imul(h$,KQ)|0,P$=P$+Math.imul(h$,IQ)|0,L$=L$+Math.imul(w$,K)|0,R$=R$+Math.imul(w$,l)|0,R$=R$+Math.imul(p$,K)|0,P$=P$+Math.imul(p$,l)|0;var PQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(PQ>>>26)|0,PQ&=67108863,L$=Math.imul(E0,VQ),R$=Math.imul(E0,UQ),R$=R$+Math.imul(b$,VQ)|0,P$=Math.imul(b$,UQ),L$=L$+Math.imul(V,KQ)|0,R$=R$+Math.imul(V,IQ)|0,R$=R$+Math.imul(h,KQ)|0,P$=P$+Math.imul(h,IQ)|0,L$=L$+Math.imul(c$,K)|0,R$=R$+Math.imul(c$,l)|0,R$=R$+Math.imul(h$,K)|0,P$=P$+Math.imul(h$,l)|0;var zQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(zQ>>>26)|0,zQ&=67108863,L$=Math.imul(E0,KQ),R$=Math.imul(E0,IQ),R$=R$+Math.imul(b$,KQ)|0,P$=Math.imul(b$,IQ),L$=L$+Math.imul(V,K)|0,R$=R$+Math.imul(V,l)|0,R$=R$+Math.imul(h,K)|0,P$=P$+Math.imul(h,l)|0;var MQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(MQ>>>26)|0,MQ&=67108863,L$=Math.imul(E0,K),R$=Math.imul(E0,l),R$=R$+Math.imul(b$,K)|0,P$=Math.imul(b$,l);var SQ=(C$+L$|0)+((R$&8191)<<13)|0;return C$=(P$+(R$>>>13)|0)+(SQ>>>26)|0,SQ&=67108863,F0[0]=JQ,F0[1]=C0,F0[2]=FQ,F0[3]=AQ,F0[4]=HQ,F0[5]=WQ,F0[6]=EQ,F0[7]=TQ,F0[8]=DQ,F0[9]=I,F0[10]=o,F0[11]=CQ,F0[12]=L0,F0[13]=LQ,F0[14]=RQ,F0[15]=PQ,F0[16]=zQ,F0[17]=MQ,F0[18]=SQ,C$!==0&&(F0[19]=C$,Y.length++),Y};Math.imul||(X$=U$);function K$(E$,T$,Y){Y.negative=T$.negative^E$.negative,Y.length=E$.length+T$.length;for(var f=0,D$=0,F0=0;F0<Y.length-1;F0++){var C$=D$;D$=0;for(var L$=f&67108863,R$=Math.min(F0,T$.length-1),P$=Math.max(0,F0-E$.length+1);P$<=R$;P$++){var z$=F0-P$,M$=E$.words[z$]|0,S$=T$.words[P$]|0,Z=M$*S$,c=Z&67108863;C$=C$+(Z/67108864|0)|0,c=c+L$|0,L$=c&67108863,C$=C$+(c>>>26)|0,D$+=C$>>>26,C$&=67108863}Y.words[F0]=L$,f=C$,C$=D$}return f!==0?Y.words[F0]=f:Y.length--,Y.strip()}function I$(E$,T$,Y){var f=new Q;return f.mulp(E$,T$,Y)}$$.prototype.mulTo=function(E$,T$){var Y,f=this.length+E$.length;return this.length===10&&E$.length===10?Y=X$(this,E$,T$):f<63?Y=U$(this,E$,T$):f<1024?Y=K$(this,E$,T$):Y=I$(this,E$,T$),Y};function Q(E$,T$){this.x=E$,this.y=T$}Q.prototype.makeRBT=function(E$){for(var T$=new Array(E$),Y=$$.prototype._countBits(E$)-1,f=0;f<E$;f++)T$[f]=this.revBin(f,Y,E$);return T$},Q.prototype.revBin=function(E$,T$,Y){if(E$===0||E$===Y-1)return E$;for(var f=0,D$=0;D$<T$;D$++)f|=(E$&1)<<T$-D$-1,E$>>=1;return f},Q.prototype.permute=function(E$,T$,Y,f,D$,F0){for(var C$=0;C$<F0;C$++)f[C$]=T$[E$[C$]],D$[C$]=Y[E$[C$]]},Q.prototype.transform=function(E$,T$,Y,f,D$,F0){this.permute(F0,E$,T$,Y,f,D$);for(var C$=1;C$<D$;C$<<=1)for(var L$=C$<<1,R$=Math.cos(2*Math.PI/L$),P$=Math.sin(2*Math.PI/L$),z$=0;z$<D$;z$+=L$)for(var M$=R$,S$=P$,Z=0;Z<C$;Z++){var c=Y[z$+Z],v$=f[z$+Z],A0=Y[z$+Z+C$],q$=f[z$+Z+C$],j$=M$*A0-S$*q$;q$=M$*q$+S$*A0,A0=j$,Y[z$+Z]=c+A0,f[z$+Z]=v$+q$,Y[z$+Z+C$]=c-A0,f[z$+Z+C$]=v$-q$,Z!==L$&&(j$=R$*M$-P$*S$,S$=R$*S$+P$*M$,M$=j$)}},Q.prototype.guessLen13b=function(E$,T$){var Y=Math.max(T$,E$)|1,f=Y&1,D$=0;for(Y=Y/2|0;Y;Y=Y>>>1)D$++;return 1<<D$+1+f},Q.prototype.conjugate=function(E$,T$,Y){if(!(Y<=1))for(var f=0;f<Y/2;f++){var D$=E$[f];E$[f]=E$[Y-f-1],E$[Y-f-1]=D$,D$=T$[f],T$[f]=-T$[Y-f-1],T$[Y-f-1]=-D$}},Q.prototype.normalize13b=function(E$,T$){for(var Y=0,f=0;f<T$/2;f++){var D$=Math.round(E$[2*f+1]/T$)*8192+Math.round(E$[2*f]/T$)+Y;E$[f]=D$&67108863,D$<67108864?Y=0:Y=D$/67108864|0}return E$},Q.prototype.convert13b=function(E$,T$,Y,f){for(var D$=0,F0=0;F0<T$;F0++)D$=D$+(E$[F0]|0),Y[2*F0]=D$&8191,D$=D$>>>13,Y[2*F0+1]=D$&8191,D$=D$>>>13;for(F0=2*T$;F0<f;++F0)Y[F0]=0;r0(D$===0),r0((D$&-8192)===0)},Q.prototype.stub=function(E$){for(var T$=new Array(E$),Y=0;Y<E$;Y++)T$[Y]=0;return T$},Q.prototype.mulp=function(E$,T$,Y){var f=2*this.guessLen13b(E$.length,T$.length),D$=this.makeRBT(f),F0=this.stub(f),C$=new Array(f),L$=new Array(f),R$=new Array(f),P$=new Array(f),z$=new Array(f),M$=new Array(f),S$=Y.words;S$.length=f,this.convert13b(E$.words,E$.length,C$,f),this.convert13b(T$.words,T$.length,P$,f),this.transform(C$,F0,L$,R$,f,D$),this.transform(P$,F0,z$,M$,f,D$);for(var Z=0;Z<f;Z++){var c=L$[Z]*z$[Z]-R$[Z]*M$[Z];R$[Z]=L$[Z]*M$[Z]+R$[Z]*z$[Z],L$[Z]=c}return this.conjugate(L$,R$,f),this.transform(L$,R$,S$,F0,f,D$),this.conjugate(S$,F0,f),this.normalize13b(S$,f),Y.negative=E$.negative^T$.negative,Y.length=E$.length+T$.length,Y.strip()},$$.prototype.mul=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),this.mulTo(E$,T$)},$$.prototype.mulf=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),I$(this,E$,T$)},$$.prototype.imul=function(E$){return this.clone().mulTo(E$,this)},$$.prototype.imuln=function(E$){r0(typeof E$=="number"),r0(E$<67108864);for(var T$=0,Y=0;Y<this.length;Y++){var f=(this.words[Y]|0)*E$,D$=(f&67108863)+(T$&67108863);T$>>=26,T$+=f/67108864|0,T$+=D$>>>26,this.words[Y]=D$&67108863}return T$!==0&&(this.words[Y]=T$,this.length++),this},$$.prototype.muln=function(E$){return this.clone().imuln(E$)},$$.prototype.sqr=function(){return this.mul(this)},$$.prototype.isqr=function(){return this.imul(this.clone())},$$.prototype.pow=function(E$){var T$=V$(E$);if(T$.length===0)return new $$(1);for(var Y=this,f=0;f<T$.length&&T$[f]===0;f++,Y=Y.sqr());if(++f<T$.length)for(var D$=Y.sqr();f<T$.length;f++,D$=D$.sqr())T$[f]!==0&&(Y=Y.mul(D$));return Y},$$.prototype.iushln=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=67108863>>>26-T$<<26-T$,D$;if(T$!==0){var F0=0;for(D$=0;D$<this.length;D$++){var C$=this.words[D$]&f,L$=(this.words[D$]|0)-C$<<T$;this.words[D$]=L$|F0,F0=C$>>>26-T$}F0&&(this.words[D$]=F0,this.length++)}if(Y!==0){for(D$=this.length-1;D$>=0;D$--)this.words[D$+Y]=this.words[D$];for(D$=0;D$<Y;D$++)this.words[D$]=0;this.length+=Y}return this.strip()},$$.prototype.ishln=function(E$){return r0(this.negative===0),this.iushln(E$)},$$.prototype.iushrn=function(E$,T$,Y){r0(typeof E$=="number"&&E$>=0);var f;T$?f=(T$-T$%26)/26:f=0;var D$=E$%26,F0=Math.min((E$-D$)/26,this.length),C$=67108863^67108863>>>D$<<D$,L$=Y;if(f-=F0,f=Math.max(0,f),L$){for(var R$=0;R$<F0;R$++)L$.words[R$]=this.words[R$];L$.length=F0}if(F0!==0)if(this.length>F0)for(this.length-=F0,R$=0;R$<this.length;R$++)this.words[R$]=this.words[R$+F0];else this.words[0]=0,this.length=1;var P$=0;for(R$=this.length-1;R$>=0&&(P$!==0||R$>=f);R$--){var z$=this.words[R$]|0;this.words[R$]=P$<<26-D$|z$>>>D$,P$=z$&C$}return L$&&P$!==0&&(L$.words[L$.length++]=P$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},$$.prototype.ishrn=function(E$,T$,Y){return r0(this.negative===0),this.iushrn(E$,T$,Y)},$$.prototype.shln=function(E$){return this.clone().ishln(E$)},$$.prototype.ushln=function(E$){return this.clone().iushln(E$)},$$.prototype.shrn=function(E$){return this.clone().ishrn(E$)},$$.prototype.ushrn=function(E$){return this.clone().iushrn(E$)},$$.prototype.testn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return!1;var D$=this.words[Y];return!!(D$&f)},$$.prototype.imaskn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26;if(r0(this.negative===0,"imaskn works only with positive numbers"),this.length<=Y)return this;if(T$!==0&&Y++,this.length=Math.min(Y,this.length),T$!==0){var f=67108863^67108863>>>T$<<T$;this.words[this.length-1]&=f}return this.strip()},$$.prototype.maskn=function(E$){return this.clone().imaskn(E$)},$$.prototype.iaddn=function(E$){return r0(typeof E$=="number"),r0(E$<67108864),E$<0?this.isubn(-E$):this.negative!==0?this.length===1&&(this.words[0]|0)<E$?(this.words[0]=E$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(E$),this.negative=1,this):this._iaddn(E$)},$$.prototype._iaddn=function(E$){this.words[0]+=E$;for(var T$=0;T$<this.length&&this.words[T$]>=67108864;T$++)this.words[T$]-=67108864,T$===this.length-1?this.words[T$+1]=1:this.words[T$+1]++;return this.length=Math.max(this.length,T$+1),this},$$.prototype.isubn=function(E$){if(r0(typeof E$=="number"),r0(E$<67108864),E$<0)return this.iaddn(-E$);if(this.negative!==0)return this.negative=0,this.iaddn(E$),this.negative=1,this;if(this.words[0]-=E$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T$=0;T$<this.length&&this.words[T$]<0;T$++)this.words[T$]+=67108864,this.words[T$+1]-=1;return this.strip()},$$.prototype.addn=function(E$){return this.clone().iaddn(E$)},$$.prototype.subn=function(E$){return this.clone().isubn(E$)},$$.prototype.iabs=function(){return this.negative=0,this},$$.prototype.abs=function(){return this.clone().iabs()},$$.prototype._ishlnsubmul=function(E$,T$,Y){var f=E$.length+Y,D$;this._expand(f);var F0,C$=0;for(D$=0;D$<E$.length;D$++){F0=(this.words[D$+Y]|0)+C$;var L$=(E$.words[D$]|0)*T$;F0-=L$&67108863,C$=(F0>>26)-(L$/67108864|0),this.words[D$+Y]=F0&67108863}for(;D$<this.length-Y;D$++)F0=(this.words[D$+Y]|0)+C$,C$=F0>>26,this.words[D$+Y]=F0&67108863;if(C$===0)return this.strip();for(r0(C$===-1),C$=0,D$=0;D$<this.length;D$++)F0=-(this.words[D$]|0)+C$,C$=F0>>26,this.words[D$]=F0&67108863;return this.negative=1,this.strip()},$$.prototype._wordDiv=function(E$,T$){var Y=this.length-E$.length,f=this.clone(),D$=E$,F0=D$.words[D$.length-1]|0,C$=this._countBits(F0);Y=26-C$,Y!==0&&(D$=D$.ushln(Y),f.iushln(Y),F0=D$.words[D$.length-1]|0);var L$=f.length-D$.length,R$;if(T$!=="mod"){R$=new $$(null),R$.length=L$+1,R$.words=new Array(R$.length);for(var P$=0;P$<R$.length;P$++)R$.words[P$]=0}var z$=f.clone()._ishlnsubmul(D$,1,L$);z$.negative===0&&(f=z$,R$&&(R$.words[L$]=1));for(var M$=L$-1;M$>=0;M$--){var S$=(f.words[D$.length+M$]|0)*67108864+(f.words[D$.length+M$-1]|0);for(S$=Math.min(S$/F0|0,67108863),f._ishlnsubmul(D$,S$,M$);f.negative!==0;)S$--,f.negative=0,f._ishlnsubmul(D$,1,M$),f.isZero()||(f.negative^=1);R$&&(R$.words[M$]=S$)}return R$&&R$.strip(),f.strip(),T$!=="div"&&Y!==0&&f.iushrn(Y),{div:R$||null,mod:f}},$$.prototype.divmod=function(E$,T$,Y){if(r0(!E$.isZero()),this.isZero())return{div:new $$(0),mod:new $$(0)};var f,D$,F0;return this.negative!==0&&E$.negative===0?(F0=this.neg().divmod(E$,T$),T$!=="mod"&&(f=F0.div.neg()),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.iadd(E$)),{div:f,mod:D$}):this.negative===0&&E$.negative!==0?(F0=this.divmod(E$.neg(),T$),T$!=="mod"&&(f=F0.div.neg()),{div:f,mod:F0.mod}):(this.negative&E$.negative)!==0?(F0=this.neg().divmod(E$.neg(),T$),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.isub(E$)),{div:F0.div,mod:D$}):E$.length>this.length||this.cmp(E$)<0?{div:new $$(0),mod:this}:E$.length===1?T$==="div"?{div:this.divn(E$.words[0]),mod:null}:T$==="mod"?{div:null,mod:new $$(this.modn(E$.words[0]))}:{div:this.divn(E$.words[0]),mod:new $$(this.modn(E$.words[0]))}:this._wordDiv(E$,T$)},$$.prototype.div=function(E$){return this.divmod(E$,"div",!1).div},$$.prototype.mod=function(E$){return this.divmod(E$,"mod",!1).mod},$$.prototype.umod=function(E$){return this.divmod(E$,"mod",!0).mod},$$.prototype.divRound=function(E$){var T$=this.divmod(E$);if(T$.mod.isZero())return T$.div;var Y=T$.div.negative!==0?T$.mod.isub(E$):T$.mod,f=E$.ushrn(1),D$=E$.andln(1),F0=Y.cmp(f);return F0<0||D$===1&&F0===0?T$.div:T$.div.negative!==0?T$.div.isubn(1):T$.div.iaddn(1)},$$.prototype.modn=function(E$){r0(E$<=67108863);for(var T$=(1<<26)%E$,Y=0,f=this.length-1;f>=0;f--)Y=(T$*Y+(this.words[f]|0))%E$;return Y},$$.prototype.idivn=function(E$){r0(E$<=67108863);for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=(this.words[Y]|0)+T$*67108864;this.words[Y]=f/E$|0,T$=f%E$}return this.strip()},$$.prototype.divn=function(E$){return this.clone().idivn(E$)},$$.prototype.egcd=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=new $$(0),C$=new $$(1),L$=0;T$.isEven()&&Y.isEven();)T$.iushrn(1),Y.iushrn(1),++L$;for(var R$=Y.clone(),P$=T$.clone();!T$.isZero();){for(var z$=0,M$=1;(T$.words[0]&M$)===0&&z$<26;++z$,M$<<=1);if(z$>0)for(T$.iushrn(z$);z$-- >0;)(f.isOdd()||D$.isOdd())&&(f.iadd(R$),D$.isub(P$)),f.iushrn(1),D$.iushrn(1);for(var S$=0,Z=1;(Y.words[0]&Z)===0&&S$<26;++S$,Z<<=1);if(S$>0)for(Y.iushrn(S$);S$-- >0;)(F0.isOdd()||C$.isOdd())&&(F0.iadd(R$),C$.isub(P$)),F0.iushrn(1),C$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(F0),D$.isub(C$)):(Y.isub(T$),F0.isub(f),C$.isub(D$))}return{a:F0,b:C$,gcd:Y.iushln(L$)}},$$.prototype._invmp=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=Y.clone();T$.cmpn(1)>0&&Y.cmpn(1)>0;){for(var C$=0,L$=1;(T$.words[0]&L$)===0&&C$<26;++C$,L$<<=1);if(C$>0)for(T$.iushrn(C$);C$-- >0;)f.isOdd()&&f.iadd(F0),f.iushrn(1);for(var R$=0,P$=1;(Y.words[0]&P$)===0&&R$<26;++R$,P$<<=1);if(R$>0)for(Y.iushrn(R$);R$-- >0;)D$.isOdd()&&D$.iadd(F0),D$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(D$)):(Y.isub(T$),D$.isub(f))}var z$;return T$.cmpn(1)===0?z$=f:z$=D$,z$.cmpn(0)<0&&z$.iadd(E$),z$},$$.prototype.gcd=function(E$){if(this.isZero())return E$.abs();if(E$.isZero())return this.abs();var T$=this.clone(),Y=E$.clone();T$.negative=0,Y.negative=0;for(var f=0;T$.isEven()&&Y.isEven();f++)T$.iushrn(1),Y.iushrn(1);do{for(;T$.isEven();)T$.iushrn(1);for(;Y.isEven();)Y.iushrn(1);var D$=T$.cmp(Y);if(D$<0){var F0=T$;T$=Y,Y=F0}else if(D$===0||Y.cmpn(1)===0)break;T$.isub(Y)}while(!0);return Y.iushln(f)},$$.prototype.invm=function(E$){return this.egcd(E$).a.umod(E$)},$$.prototype.isEven=function(){return(this.words[0]&1)===0},$$.prototype.isOdd=function(){return(this.words[0]&1)===1},$$.prototype.andln=function(E$){return this.words[0]&E$},$$.prototype.bincn=function(E$){r0(typeof E$=="number");var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return this._expand(Y+1),this.words[Y]|=f,this;for(var D$=f,F0=Y;D$!==0&&F0<this.length;F0++){var C$=this.words[F0]|0;C$+=D$,D$=C$>>>26,C$&=67108863,this.words[F0]=C$}return D$!==0&&(this.words[F0]=D$,this.length++),this},$$.prototype.isZero=function(){return this.length===1&&this.words[0]===0},$$.prototype.cmpn=function(E$){var T$=E$<0;if(this.negative!==0&&!T$)return-1;if(this.negative===0&&T$)return 1;this.strip();var Y;if(this.length>1)Y=1;else{T$&&(E$=-E$),r0(E$<=67108863,"Number is too big");var f=this.words[0]|0;Y=f===E$?0:f<E$?-1:1}return this.negative!==0?-Y|0:Y},$$.prototype.cmp=function(E$){if(this.negative!==0&&E$.negative===0)return-1;if(this.negative===0&&E$.negative!==0)return 1;var T$=this.ucmp(E$);return this.negative!==0?-T$|0:T$},$$.prototype.ucmp=function(E$){if(this.length>E$.length)return 1;if(this.length<E$.length)return-1;for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=this.words[Y]|0,D$=E$.words[Y]|0;if(f!==D$){f<D$?T$=-1:f>D$&&(T$=1);break}}return T$},$$.prototype.gtn=function(E$){return this.cmpn(E$)===1},$$.prototype.gt=function(E$){return this.cmp(E$)===1},$$.prototype.gten=function(E$){return this.cmpn(E$)>=0},$$.prototype.gte=function(E$){return this.cmp(E$)>=0},$$.prototype.ltn=function(E$){return this.cmpn(E$)===-1},$$.prototype.lt=function(E$){return this.cmp(E$)===-1},$$.prototype.lten=function(E$){return this.cmpn(E$)<=0},$$.prototype.lte=function(E$){return this.cmp(E$)<=0},$$.prototype.eqn=function(E$){return this.cmpn(E$)===0},$$.prototype.eq=function(E$){return this.cmp(E$)===0},$$.red=function(E$){return new H$(E$)},$$.prototype.toRed=function(E$){return r0(!this.red,"Already a number in reduction context"),r0(this.negative===0,"red works only with positives"),E$.convertTo(this)._forceRed(E$)},$$.prototype.fromRed=function(){return r0(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},$$.prototype._forceRed=function(E$){return this.red=E$,this},$$.prototype.forceRed=function(E$){return r0(!this.red,"Already a number in reduction context"),this._forceRed(E$)},$$.prototype.redAdd=function(E$){return r0(this.red,"redAdd works only with red numbers"),this.red.add(this,E$)},$$.prototype.redIAdd=function(E$){return r0(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,E$)},$$.prototype.redSub=function(E$){return r0(this.red,"redSub works only with red numbers"),this.red.sub(this,E$)},$$.prototype.redISub=function(E$){return r0(this.red,"redISub works only with red numbers"),this.red.isub(this,E$)},$$.prototype.redShl=function(E$){return r0(this.red,"redShl works only with red numbers"),this.red.shl(this,E$)},$$.prototype.redMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.mul(this,E$)},$$.prototype.redIMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.imul(this,E$)},$$.prototype.redSqr=function(){return r0(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},$$.prototype.redISqr=function(){return r0(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},$$.prototype.redSqrt=function(){return r0(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},$$.prototype.redInvm=function(){return r0(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},$$.prototype.redNeg=function(){return r0(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},$$.prototype.redPow=function(E$){return r0(this.red&&!E$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,E$)};var x={k256:null,p224:null,p192:null,p25519:null};function O$(E$,T$){this.name=E$,this.p=new $$(T$,16),this.n=this.p.bitLength(),this.k=new $$(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}O$.prototype._tmp=function(){var E$=new $$(null);return E$.words=new Array(Math.ceil(this.n/13)),E$},O$.prototype.ireduce=function(E$){var T$=E$,Y;do this.split(T$,this.tmp),T$=this.imulK(T$),T$=T$.iadd(this.tmp),Y=T$.bitLength();while(Y>this.n);var f=Y<this.n?-1:T$.ucmp(this.p);return f===0?(T$.words[0]=0,T$.length=1):f>0?T$.isub(this.p):T$.strip!==void 0?T$.strip():T$._strip(),T$},O$.prototype.split=function(E$,T$){E$.iushrn(this.n,0,T$)},O$.prototype.imulK=function(E$){return E$.imul(this.k)};function J0(){O$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i0(J0,O$),J0.prototype.split=function(E$,T$){for(var Y=4194303,f=Math.min(E$.length,9),D$=0;D$<f;D$++)T$.words[D$]=E$.words[D$];if(T$.length=f,E$.length<=9){E$.words[0]=0,E$.length=1;return}var F0=E$.words[9];for(T$.words[T$.length++]=F0&Y,D$=10;D$<E$.length;D$++){var C$=E$.words[D$]|0;E$.words[D$-10]=(C$&Y)<<4|F0>>>22,F0=C$}F0>>>=22,E$.words[D$-10]=F0,F0===0&&E$.length>10?E$.length-=10:E$.length-=9},J0.prototype.imulK=function(E$){E$.words[E$.length]=0,E$.words[E$.length+1]=0,E$.length+=2;for(var T$=0,Y=0;Y<E$.length;Y++){var f=E$.words[Y]|0;T$+=f*977,E$.words[Y]=T$&67108863,T$=f*64+(T$/67108864|0)}return E$.words[E$.length-1]===0&&(E$.length--,E$.words[E$.length-1]===0&&E$.length--),E$};function J$(){O$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i0(J$,O$);function F$(){O$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i0(F$,O$);function A$(){O$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i0(A$,O$),A$.prototype.imulK=function(E$){for(var T$=0,Y=0;Y<E$.length;Y++){var f=(E$.words[Y]|0)*19+T$,D$=f&67108863;f>>>=26,E$.words[Y]=D$,T$=f}return T$!==0&&(E$.words[E$.length++]=T$),E$},$$._prime=function(E$){if(x[E$])return x[E$];var T$;if(E$==="k256")T$=new J0;else if(E$==="p224")T$=new J$;else if(E$==="p192")T$=new F$;else if(E$==="p25519")T$=new A$;else throw new Error("Unknown prime "+E$);return x[E$]=T$,T$};function H$(E$){if(typeof E$=="string"){var T$=$$._prime(E$);this.m=T$.p,this.prime=T$}else r0(E$.gtn(1),"modulus must be greater than 1"),this.m=E$,this.prime=null}H$.prototype._verify1=function(E$){r0(E$.negative===0,"red works only with positives"),r0(E$.red,"red works only with red numbers")},H$.prototype._verify2=function(E$,T$){r0((E$.negative|T$.negative)===0,"red works only with positives"),r0(E$.red&&E$.red===T$.red,"red works only with red numbers")},H$.prototype.imod=function(E$){return this.prime?this.prime.ireduce(E$)._forceRed(this):E$.umod(this.m)._forceRed(this)},H$.prototype.neg=function(E$){return E$.isZero()?E$.clone():this.m.sub(E$)._forceRed(this)},H$.prototype.add=function(E$,T$){this._verify2(E$,T$);var Y=E$.add(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y._forceRed(this)},H$.prototype.iadd=function(E$,T$){this._verify2(E$,T$);var Y=E$.iadd(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y},H$.prototype.sub=function(E$,T$){this._verify2(E$,T$);var Y=E$.sub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y._forceRed(this)},H$.prototype.isub=function(E$,T$){this._verify2(E$,T$);var Y=E$.isub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y},H$.prototype.shl=function(E$,T$){return this._verify1(E$),this.imod(E$.ushln(T$))},H$.prototype.imul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.imul(T$))},H$.prototype.mul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.mul(T$))},H$.prototype.isqr=function(E$){return this.imul(E$,E$.clone())},H$.prototype.sqr=function(E$){return this.mul(E$,E$)},H$.prototype.sqrt=function(E$){if(E$.isZero())return E$.clone();var T$=this.m.andln(3);if(r0(T$%2===1),T$===3){var Y=this.m.add(new $$(1)).iushrn(2);return this.pow(E$,Y)}for(var f=this.m.subn(1),D$=0;!f.isZero()&&f.andln(1)===0;)D$++,f.iushrn(1);r0(!f.isZero());var F0=new $$(1).toRed(this),C$=F0.redNeg(),L$=this.m.subn(1).iushrn(1),R$=this.m.bitLength();for(R$=new $$(2*R$*R$).toRed(this);this.pow(R$,L$).cmp(C$)!==0;)R$.redIAdd(C$);for(var P$=this.pow(R$,f),z$=this.pow(E$,f.addn(1).iushrn(1)),M$=this.pow(E$,f),S$=D$;M$.cmp(F0)!==0;){for(var Z=M$,c=0;Z.cmp(F0)!==0;c++)Z=Z.redSqr();r0(c<S$);var v$=this.pow(P$,new $$(1).iushln(S$-c-1));z$=z$.redMul(v$),P$=v$.redSqr(),M$=M$.redMul(P$),S$=c}return z$},H$.prototype.invm=function(E$){var T$=E$._invmp(this.m);return T$.negative!==0?(T$.negative=0,this.imod(T$).redNeg()):this.imod(T$)},H$.prototype.pow=function(E$,T$){if(T$.isZero())return new $$(1).toRed(this);if(T$.cmpn(1)===0)return E$.clone();var Y=4,f=new Array(1<<Y);f[0]=new $$(1).toRed(this),f[1]=E$;for(var D$=2;D$<f.length;D$++)f[D$]=this.mul(f[D$-1],E$);var F0=f[0],C$=0,L$=0,R$=T$.bitLength()%26;for(R$===0&&(R$=26),D$=T$.length-1;D$>=0;D$--){for(var P$=T$.words[D$],z$=R$-1;z$>=0;z$--){var M$=P$>>z$&1;if(F0!==f[0]&&(F0=this.sqr(F0)),M$===0&&C$===0){L$=0;continue}C$<<=1,C$|=M$,L$++,!(L$!==Y&&(D$!==0||z$!==0))&&(F0=this.mul(F0,f[C$]),L$=0,C$=0)}R$=26}return F0},H$.prototype.convertTo=function(E$){var T$=E$.umod(this.m);return T$===E$?T$.clone():T$},H$.prototype.convertFrom=function(E$){var T$=E$.clone();return T$.red=null,T$},$$.mont=function(E$){return new W$(E$)};function W$(E$){H$.call(this,E$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new $$(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i0(W$,H$),W$.prototype.convertTo=function(E$){return this.imod(E$.ushln(this.shift))},W$.prototype.convertFrom=function(E$){var T$=this.imod(E$.mul(this.rinv));return T$.red=null,T$},W$.prototype.imul=function(E$,T$){if(E$.isZero()||T$.isZero())return E$.words[0]=0,E$.length=1,E$;var Y=E$.imul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.mul=function(E$,T$){if(E$.isZero()||T$.isZero())return new $$(0)._forceRed(this);var Y=E$.mul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.invm=function(E$){var T$=this.imod(E$._invmp(this.m).mul(this.r2));return T$._forceRed(this)}})(typeof m0>"u"||m0,t0)}}),PY=pQ({"node_modules/miller-rabin/node_modules/bn.js/lib/bn.js"(t0,m0){(function(a0,e0){function r0(E$,T$){if(!E$)throw new Error(T$||"Assertion failed")}function i0(E$,T$){E$.super_=T$;var Y=function(){};Y.prototype=T$.prototype,E$.prototype=new Y,E$.prototype.constructor=E$}function $$(E$,T$,Y){if($$.isBN(E$))return E$;this.negative=0,this.words=null,this.length=0,this.red=null,E$!==null&&((T$==="le"||T$==="be")&&(Y=T$,T$=10),this._init(E$||0,T$||10,Y||"be"))}typeof a0=="object"?a0.exports=$$:e0.BN=$$,$$.BN=$$,$$.wordSize=26;var Q$=G0;$$.isBN=function(E$){return E$ instanceof $$?!0:E$!==null&&typeof E$=="object"&&E$.constructor.wordSize===$$.wordSize&&Array.isArray(E$.words)},$$.max=function(E$,T$){return E$.cmp(T$)>0?E$:T$},$$.min=function(E$,T$){return E$.cmp(T$)<0?E$:T$},$$.prototype._init=function(E$,T$,Y){if(typeof E$=="number")return this._initNumber(E$,T$,Y);if(typeof E$=="object")return this._initArray(E$,T$,Y);T$==="hex"&&(T$=16),r0(T$===(T$|0)&&T$>=2&&T$<=36),E$=E$.toString().replace(/\s+/g,"");var f=0;E$[0]==="-"&&(f++,this.negative=1),f<E$.length&&(T$===16?this._parseHex(E$,f,Y):(this._parseBase(E$,T$,f),Y==="le"&&this._initArray(this.toArray(),T$,Y)))},$$.prototype._initNumber=function(E$,T$,Y){E$<0&&(this.negative=1,E$=-E$),E$<67108864?(this.words=[E$&67108863],this.length=1):E$<4503599627370496?(this.words=[E$&67108863,E$/67108864&67108863],this.length=2):(r0(E$<9007199254740992),this.words=[E$&67108863,E$/67108864&67108863,1],this.length=3),Y==="le"&&this._initArray(this.toArray(),T$,Y)},$$.prototype._initArray=function(E$,T$,Y){if(r0(typeof E$.length=="number"),E$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E$.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$,F0,C$=0;if(Y==="be")for(f=E$.length-1,D$=0;f>=0;f-=3)F0=E$[f]|E$[f-1]<<8|E$[f-2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);else if(Y==="le")for(f=0,D$=0;f<E$.length;f+=3)F0=E$[f]|E$[f+1]<<8|E$[f+2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);return this.strip()};function $(E$,T$){var Y=E$.charCodeAt(T$);return Y>=65&&Y<=70?Y-55:Y>=97&&Y<=102?Y-87:Y-48&15}function N(E$,T$,Y){var f=$(E$,Y);return Y-1>=T$&&(f|=$(E$,Y-1)<<4),f}$$.prototype._parseHex=function(E$,T$,Y){this.length=Math.ceil((E$.length-T$)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$=0,F0=0,C$;if(Y==="be")for(f=E$.length-1;f>=T$;f-=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8;else{var L$=E$.length-T$;for(f=L$%2===0?T$+1:T$;f<E$.length;f+=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8}this.strip()};function Y$(E$,T$,Y,f){for(var D$=0,F0=Math.min(E$.length,Y),C$=T$;C$<F0;C$++){var L$=E$.charCodeAt(C$)-48;D$*=f,L$>=49?D$+=L$-49+10:L$>=17?D$+=L$-17+10:D$+=L$}return D$}$$.prototype._parseBase=function(E$,T$,Y){this.words=[0],this.length=1;for(var f=0,D$=1;D$<=67108863;D$*=T$)f++;f--,D$=D$/T$|0;for(var F0=E$.length-Y,C$=F0%f,L$=Math.min(F0,F0-C$)+Y,R$=0,P$=Y;P$<L$;P$+=f)R$=Y$(E$,P$,P$+f,T$),this.imuln(D$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$);if(C$!==0){var z$=1;for(R$=Y$(E$,P$,E$.length,T$),P$=0;P$<C$;P$++)z$*=T$;this.imuln(z$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$)}this.strip()},$$.prototype.copy=function(E$){E$.words=new Array(this.length);for(var T$=0;T$<this.length;T$++)E$.words[T$]=this.words[T$];E$.length=this.length,E$.negative=this.negative,E$.red=this.red},$$.prototype.clone=function(){var E$=new $$(null);return this.copy(E$),E$},$$.prototype._expand=function(E$){for(;this.length<E$;)this.words[this.length++]=0;return this},$$.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},$$.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},$$.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var O0=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],Z$=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],G$=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];$$.prototype.toString=function(E$,T$){E$=E$||10,T$=T$|0||1;var Y;if(E$===16||E$==="hex"){Y="";for(var f=0,D$=0,F0=0;F0<this.length;F0++){var C$=this.words[F0],L$=((C$<<f|D$)&16777215).toString(16);D$=C$>>>24-f&16777215,D$!==0||F0!==this.length-1?Y=O0[6-L$.length]+L$+Y:Y=L$+Y,f+=2,f>=26&&(f-=26,F0--)}for(D$!==0&&(Y=D$.toString(16)+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}if(E$===(E$|0)&&E$>=2&&E$<=36){var R$=Z$[E$],P$=G$[E$];Y="";var z$=this.clone();for(z$.negative=0;!z$.isZero();){var M$=z$.modn(P$).toString(E$);z$=z$.idivn(P$),z$.isZero()?Y=M$+Y:Y=O0[R$-M$.length]+M$+Y}for(this.isZero()&&(Y="0"+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}r0(!1,"Base should be between 2 and 36")},$$.prototype.toNumber=function(){var E$=this.words[0];return this.length===2?E$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?E$+=4503599627370496+this.words[1]*67108864:this.length>2&&r0(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-E$:E$},$$.prototype.toJSON=function(){return this.toString(16)},$$.prototype.toBuffer=function(E$,T$){return r0(typeof Q$<"u"),this.toArrayLike(Q$,E$,T$)},$$.prototype.toArray=function(E$,T$){return this.toArrayLike(Array,E$,T$)},$$.prototype.toArrayLike=function(E$,T$,Y){var f=this.byteLength(),D$=Y||Math.max(1,f);r0(f<=D$,"byte array longer than desired length"),r0(D$>0,"Requested array length <= 0"),this.strip();var F0=T$==="le",C$=new E$(D$),L$,R$,P$=this.clone();if(F0){for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[R$]=L$;for(;R$<D$;R$++)C$[R$]=0}else{for(R$=0;R$<D$-f;R$++)C$[R$]=0;for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[D$-R$-1]=L$}return C$},Math.clz32?$$.prototype._countBits=function(E$){return 32-Math.clz32(E$)}:$$.prototype._countBits=function(E$){var T$=E$,Y=0;return T$>=4096&&(Y+=13,T$>>>=13),T$>=64&&(Y+=7,T$>>>=7),T$>=8&&(Y+=4,T$>>>=4),T$>=2&&(Y+=2,T$>>>=2),Y+T$},$$.prototype._zeroBits=function(E$){if(E$===0)return 26;var T$=E$,Y=0;return(T$&8191)===0&&(Y+=13,T$>>>=13),(T$&127)===0&&(Y+=7,T$>>>=7),(T$&15)===0&&(Y+=4,T$>>>=4),(T$&3)===0&&(Y+=2,T$>>>=2),(T$&1)===0&&Y++,Y},$$.prototype.bitLength=function(){var E$=this.words[this.length-1],T$=this._countBits(E$);return(this.length-1)*26+T$};function V$(E$){for(var T$=new Array(E$.bitLength()),Y=0;Y<T$.length;Y++){var f=Y/26|0,D$=Y%26;T$[Y]=(E$.words[f]&1<<D$)>>>D$}return T$}$$.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E$=0,T$=0;T$<this.length;T$++){var Y=this._zeroBits(this.words[T$]);if(E$+=Y,Y!==26)break}return E$},$$.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},$$.prototype.toTwos=function(E$){return this.negative!==0?this.abs().inotn(E$).iaddn(1):this.clone()},$$.prototype.fromTwos=function(E$){return this.testn(E$-1)?this.notn(E$).iaddn(1).ineg():this.clone()},$$.prototype.isNeg=function(){return this.negative!==0},$$.prototype.neg=function(){return this.clone().ineg()},$$.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},$$.prototype.iuor=function(E$){for(;this.length<E$.length;)this.words[this.length++]=0;for(var T$=0;T$<E$.length;T$++)this.words[T$]=this.words[T$]|E$.words[T$];return this.strip()},$$.prototype.ior=function(E$){return r0((this.negative|E$.negative)===0),this.iuor(E$)},$$.prototype.or=function(E$){return this.length>E$.length?this.clone().ior(E$):E$.clone().ior(this)},$$.prototype.uor=function(E$){return this.length>E$.length?this.clone().iuor(E$):E$.clone().iuor(this)},$$.prototype.iuand=function(E$){var T$;this.length>E$.length?T$=E$:T$=this;for(var Y=0;Y<T$.length;Y++)this.words[Y]=this.words[Y]&E$.words[Y];return this.length=T$.length,this.strip()},$$.prototype.iand=function(E$){return r0((this.negative|E$.negative)===0),this.iuand(E$)},$$.prototype.and=function(E$){return this.length>E$.length?this.clone().iand(E$):E$.clone().iand(this)},$$.prototype.uand=function(E$){return this.length>E$.length?this.clone().iuand(E$):E$.clone().iuand(this)},$$.prototype.iuxor=function(E$){var T$,Y;this.length>E$.length?(T$=this,Y=E$):(T$=E$,Y=this);for(var f=0;f<Y.length;f++)this.words[f]=T$.words[f]^Y.words[f];if(this!==T$)for(;f<T$.length;f++)this.words[f]=T$.words[f];return this.length=T$.length,this.strip()},$$.prototype.ixor=function(E$){return r0((this.negative|E$.negative)===0),this.iuxor(E$)},$$.prototype.xor=function(E$){return this.length>E$.length?this.clone().ixor(E$):E$.clone().ixor(this)},$$.prototype.uxor=function(E$){return this.length>E$.length?this.clone().iuxor(E$):E$.clone().iuxor(this)},$$.prototype.inotn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=Math.ceil(E$/26)|0,Y=E$%26;this._expand(T$),Y>0&&T$--;for(var f=0;f<T$;f++)this.words[f]=~this.words[f]&67108863;return Y>0&&(this.words[f]=~this.words[f]&67108863>>26-Y),this.strip()},$$.prototype.notn=function(E$){return this.clone().inotn(E$)},$$.prototype.setn=function(E$,T$){r0(typeof E$=="number"&&E$>=0);var Y=E$/26|0,f=E$%26;return this._expand(Y+1),T$?this.words[Y]=this.words[Y]|1<<f:this.words[Y]=this.words[Y]&~(1<<f),this.strip()},$$.prototype.iadd=function(E$){var T$;if(this.negative!==0&&E$.negative===0)return this.negative=0,T$=this.isub(E$),this.negative^=1,this._normSign();if(this.negative===0&&E$.negative!==0)return E$.negative=0,T$=this.isub(E$),E$.negative=1,T$._normSign();var Y,f;this.length>E$.length?(Y=this,f=E$):(Y=E$,f=this);for(var D$=0,F0=0;F0<f.length;F0++)T$=(Y.words[F0]|0)+(f.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;for(;D$!==0&&F0<Y.length;F0++)T$=(Y.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;if(this.length=Y.length,D$!==0)this.words[this.length]=D$,this.length++;else if(Y!==this)for(;F0<Y.length;F0++)this.words[F0]=Y.words[F0];return this},$$.prototype.add=function(E$){var T$;return E$.negative!==0&&this.negative===0?(E$.negative=0,T$=this.sub(E$),E$.negative^=1,T$):E$.negative===0&&this.negative!==0?(this.negative=0,T$=E$.sub(this),this.negative=1,T$):this.length>E$.length?this.clone().iadd(E$):E$.clone().iadd(this)},$$.prototype.isub=function(E$){if(E$.negative!==0){E$.negative=0;var T$=this.iadd(E$);return E$.negative=1,T$._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(E$),this.negative=1,this._normSign();var Y=this.cmp(E$);if(Y===0)return this.negative=0,this.length=1,this.words[0]=0,this;var f,D$;Y>0?(f=this,D$=E$):(f=E$,D$=this);for(var F0=0,C$=0;C$<D$.length;C$++)T$=(f.words[C$]|0)-(D$.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;for(;F0!==0&&C$<f.length;C$++)T$=(f.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;if(F0===0&&C$<f.length&&f!==this)for(;C$<f.length;C$++)this.words[C$]=f.words[C$];return this.length=Math.max(this.length,C$),f!==this&&(this.negative=1),this.strip()},$$.prototype.sub=function(E$){return this.clone().isub(E$)};function U$(E$,T$,Y){Y.negative=T$.negative^E$.negative;var f=E$.length+T$.length|0;Y.length=f,f=f-1|0;var D$=E$.words[0]|0,F0=T$.words[0]|0,C$=D$*F0,L$=C$&67108863,R$=C$/67108864|0;Y.words[0]=L$;for(var P$=1;P$<f;P$++){for(var z$=R$>>>26,M$=R$&67108863,S$=Math.min(P$,T$.length-1),Z=Math.max(0,P$-E$.length+1);Z<=S$;Z++){var c=P$-Z|0;D$=E$.words[c]|0,F0=T$.words[Z]|0,C$=D$*F0+M$,z$+=C$/67108864|0,M$=C$&67108863}Y.words[P$]=M$|0,R$=z$|0}return R$!==0?Y.words[P$]=R$|0:Y.length--,Y.strip()}var X$=function(E$,T$,Y){var f=E$.words,D$=T$.words,F0=Y.words,C$=0,L$,R$,P$,z$=f[0]|0,M$=z$&8191,S$=z$>>>13,Z=f[1]|0,c=Z&8191,v$=Z>>>13,A0=f[2]|0,q$=A0&8191,j$=A0>>>13,k$=f[3]|0,g$=k$&8191,_$=k$>>>13,N$=f[4]|0,x$=N$&8191,G=N$>>>13,B=f[5]|0,B$=B&8191,H0=B>>>13,y$=f[6]|0,w$=y$&8191,p$=y$>>>13,f$=f[7]|0,c$=f$&8191,h$=f$>>>13,d$=f[8]|0,V=d$&8191,h=d$>>>13,W0=f[9]|0,E0=W0&8191,b$=W0>>>13,l$=D$[0]|0,o$=l$&8191,u$=l$>>>13,n$=D$[1]|0,s$=n$&8191,t$=n$>>>13,U=D$[2]|0,d=U&8191,m$=U>>>13,T0=D$[3]|0,a$=T0&8191,e$=T0>>>13,r$=D$[4]|0,i$=r$&8191,$Q=r$>>>13,QQ=D$[5]|0,YQ=QQ&8191,X=QQ>>>13,b=D$[6]|0,ZQ=b&8191,D0=b>>>13,GQ=D$[7]|0,VQ=GQ&8191,UQ=GQ>>>13,XQ=D$[8]|0,KQ=XQ&8191,IQ=XQ>>>13,OQ=D$[9]|0,K=OQ&8191,l=OQ>>>13;Y.negative=E$.negative^T$.negative,Y.length=19,L$=Math.imul(M$,o$),R$=Math.imul(M$,u$),R$=R$+Math.imul(S$,o$)|0,P$=Math.imul(S$,u$);var JQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(JQ>>>26)|0,JQ&=67108863,L$=Math.imul(c,o$),R$=Math.imul(c,u$),R$=R$+Math.imul(v$,o$)|0,P$=Math.imul(v$,u$),L$=L$+Math.imul(M$,s$)|0,R$=R$+Math.imul(M$,t$)|0,R$=R$+Math.imul(S$,s$)|0,P$=P$+Math.imul(S$,t$)|0;var C0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(C0>>>26)|0,C0&=67108863,L$=Math.imul(q$,o$),R$=Math.imul(q$,u$),R$=R$+Math.imul(j$,o$)|0,P$=Math.imul(j$,u$),L$=L$+Math.imul(c,s$)|0,R$=R$+Math.imul(c,t$)|0,R$=R$+Math.imul(v$,s$)|0,P$=P$+Math.imul(v$,t$)|0,L$=L$+Math.imul(M$,d)|0,R$=R$+Math.imul(M$,m$)|0,R$=R$+Math.imul(S$,d)|0,P$=P$+Math.imul(S$,m$)|0;var FQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(FQ>>>26)|0,FQ&=67108863,L$=Math.imul(g$,o$),R$=Math.imul(g$,u$),R$=R$+Math.imul(_$,o$)|0,P$=Math.imul(_$,u$),L$=L$+Math.imul(q$,s$)|0,R$=R$+Math.imul(q$,t$)|0,R$=R$+Math.imul(j$,s$)|0,P$=P$+Math.imul(j$,t$)|0,L$=L$+Math.imul(c,d)|0,R$=R$+Math.imul(c,m$)|0,R$=R$+Math.imul(v$,d)|0,P$=P$+Math.imul(v$,m$)|0,L$=L$+Math.imul(M$,a$)|0,R$=R$+Math.imul(M$,e$)|0,R$=R$+Math.imul(S$,a$)|0,P$=P$+Math.imul(S$,e$)|0;var AQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(AQ>>>26)|0,AQ&=67108863,L$=Math.imul(x$,o$),R$=Math.imul(x$,u$),R$=R$+Math.imul(G,o$)|0,P$=Math.imul(G,u$),L$=L$+Math.imul(g$,s$)|0,R$=R$+Math.imul(g$,t$)|0,R$=R$+Math.imul(_$,s$)|0,P$=P$+Math.imul(_$,t$)|0,L$=L$+Math.imul(q$,d)|0,R$=R$+Math.imul(q$,m$)|0,R$=R$+Math.imul(j$,d)|0,P$=P$+Math.imul(j$,m$)|0,L$=L$+Math.imul(c,a$)|0,R$=R$+Math.imul(c,e$)|0,R$=R$+Math.imul(v$,a$)|0,P$=P$+Math.imul(v$,e$)|0,L$=L$+Math.imul(M$,i$)|0,R$=R$+Math.imul(M$,$Q)|0,R$=R$+Math.imul(S$,i$)|0,P$=P$+Math.imul(S$,$Q)|0;var HQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(HQ>>>26)|0,HQ&=67108863,L$=Math.imul(B$,o$),R$=Math.imul(B$,u$),R$=R$+Math.imul(H0,o$)|0,P$=Math.imul(H0,u$),L$=L$+Math.imul(x$,s$)|0,R$=R$+Math.imul(x$,t$)|0,R$=R$+Math.imul(G,s$)|0,P$=P$+Math.imul(G,t$)|0,L$=L$+Math.imul(g$,d)|0,R$=R$+Math.imul(g$,m$)|0,R$=R$+Math.imul(_$,d)|0,P$=P$+Math.imul(_$,m$)|0,L$=L$+Math.imul(q$,a$)|0,R$=R$+Math.imul(q$,e$)|0,R$=R$+Math.imul(j$,a$)|0,P$=P$+Math.imul(j$,e$)|0,L$=L$+Math.imul(c,i$)|0,R$=R$+Math.imul(c,$Q)|0,R$=R$+Math.imul(v$,i$)|0,P$=P$+Math.imul(v$,$Q)|0,L$=L$+Math.imul(M$,YQ)|0,R$=R$+Math.imul(M$,X)|0,R$=R$+Math.imul(S$,YQ)|0,P$=P$+Math.imul(S$,X)|0;var WQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(WQ>>>26)|0,WQ&=67108863,L$=Math.imul(w$,o$),R$=Math.imul(w$,u$),R$=R$+Math.imul(p$,o$)|0,P$=Math.imul(p$,u$),L$=L$+Math.imul(B$,s$)|0,R$=R$+Math.imul(B$,t$)|0,R$=R$+Math.imul(H0,s$)|0,P$=P$+Math.imul(H0,t$)|0,L$=L$+Math.imul(x$,d)|0,R$=R$+Math.imul(x$,m$)|0,R$=R$+Math.imul(G,d)|0,P$=P$+Math.imul(G,m$)|0,L$=L$+Math.imul(g$,a$)|0,R$=R$+Math.imul(g$,e$)|0,R$=R$+Math.imul(_$,a$)|0,P$=P$+Math.imul(_$,e$)|0,L$=L$+Math.imul(q$,i$)|0,R$=R$+Math.imul(q$,$Q)|0,R$=R$+Math.imul(j$,i$)|0,P$=P$+Math.imul(j$,$Q)|0,L$=L$+Math.imul(c,YQ)|0,R$=R$+Math.imul(c,X)|0,R$=R$+Math.imul(v$,YQ)|0,P$=P$+Math.imul(v$,X)|0,L$=L$+Math.imul(M$,ZQ)|0,R$=R$+Math.imul(M$,D0)|0,R$=R$+Math.imul(S$,ZQ)|0,P$=P$+Math.imul(S$,D0)|0;var EQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(EQ>>>26)|0,EQ&=67108863,L$=Math.imul(c$,o$),R$=Math.imul(c$,u$),R$=R$+Math.imul(h$,o$)|0,P$=Math.imul(h$,u$),L$=L$+Math.imul(w$,s$)|0,R$=R$+Math.imul(w$,t$)|0,R$=R$+Math.imul(p$,s$)|0,P$=P$+Math.imul(p$,t$)|0,L$=L$+Math.imul(B$,d)|0,R$=R$+Math.imul(B$,m$)|0,R$=R$+Math.imul(H0,d)|0,P$=P$+Math.imul(H0,m$)|0,L$=L$+Math.imul(x$,a$)|0,R$=R$+Math.imul(x$,e$)|0,R$=R$+Math.imul(G,a$)|0,P$=P$+Math.imul(G,e$)|0,L$=L$+Math.imul(g$,i$)|0,R$=R$+Math.imul(g$,$Q)|0,R$=R$+Math.imul(_$,i$)|0,P$=P$+Math.imul(_$,$Q)|0,L$=L$+Math.imul(q$,YQ)|0,R$=R$+Math.imul(q$,X)|0,R$=R$+Math.imul(j$,YQ)|0,P$=P$+Math.imul(j$,X)|0,L$=L$+Math.imul(c,ZQ)|0,R$=R$+Math.imul(c,D0)|0,R$=R$+Math.imul(v$,ZQ)|0,P$=P$+Math.imul(v$,D0)|0,L$=L$+Math.imul(M$,VQ)|0,R$=R$+Math.imul(M$,UQ)|0,R$=R$+Math.imul(S$,VQ)|0,P$=P$+Math.imul(S$,UQ)|0;var TQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(TQ>>>26)|0,TQ&=67108863,L$=Math.imul(V,o$),R$=Math.imul(V,u$),R$=R$+Math.imul(h,o$)|0,P$=Math.imul(h,u$),L$=L$+Math.imul(c$,s$)|0,R$=R$+Math.imul(c$,t$)|0,R$=R$+Math.imul(h$,s$)|0,P$=P$+Math.imul(h$,t$)|0,L$=L$+Math.imul(w$,d)|0,R$=R$+Math.imul(w$,m$)|0,R$=R$+Math.imul(p$,d)|0,P$=P$+Math.imul(p$,m$)|0,L$=L$+Math.imul(B$,a$)|0,R$=R$+Math.imul(B$,e$)|0,R$=R$+Math.imul(H0,a$)|0,P$=P$+Math.imul(H0,e$)|0,L$=L$+Math.imul(x$,i$)|0,R$=R$+Math.imul(x$,$Q)|0,R$=R$+Math.imul(G,i$)|0,P$=P$+Math.imul(G,$Q)|0,L$=L$+Math.imul(g$,YQ)|0,R$=R$+Math.imul(g$,X)|0,R$=R$+Math.imul(_$,YQ)|0,P$=P$+Math.imul(_$,X)|0,L$=L$+Math.imul(q$,ZQ)|0,R$=R$+Math.imul(q$,D0)|0,R$=R$+Math.imul(j$,ZQ)|0,P$=P$+Math.imul(j$,D0)|0,L$=L$+Math.imul(c,VQ)|0,R$=R$+Math.imul(c,UQ)|0,R$=R$+Math.imul(v$,VQ)|0,P$=P$+Math.imul(v$,UQ)|0,L$=L$+Math.imul(M$,KQ)|0,R$=R$+Math.imul(M$,IQ)|0,R$=R$+Math.imul(S$,KQ)|0,P$=P$+Math.imul(S$,IQ)|0;var DQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(DQ>>>26)|0,DQ&=67108863,L$=Math.imul(E0,o$),R$=Math.imul(E0,u$),R$=R$+Math.imul(b$,o$)|0,P$=Math.imul(b$,u$),L$=L$+Math.imul(V,s$)|0,R$=R$+Math.imul(V,t$)|0,R$=R$+Math.imul(h,s$)|0,P$=P$+Math.imul(h,t$)|0,L$=L$+Math.imul(c$,d)|0,R$=R$+Math.imul(c$,m$)|0,R$=R$+Math.imul(h$,d)|0,P$=P$+Math.imul(h$,m$)|0,L$=L$+Math.imul(w$,a$)|0,R$=R$+Math.imul(w$,e$)|0,R$=R$+Math.imul(p$,a$)|0,P$=P$+Math.imul(p$,e$)|0,L$=L$+Math.imul(B$,i$)|0,R$=R$+Math.imul(B$,$Q)|0,R$=R$+Math.imul(H0,i$)|0,P$=P$+Math.imul(H0,$Q)|0,L$=L$+Math.imul(x$,YQ)|0,R$=R$+Math.imul(x$,X)|0,R$=R$+Math.imul(G,YQ)|0,P$=P$+Math.imul(G,X)|0,L$=L$+Math.imul(g$,ZQ)|0,R$=R$+Math.imul(g$,D0)|0,R$=R$+Math.imul(_$,ZQ)|0,P$=P$+Math.imul(_$,D0)|0,L$=L$+Math.imul(q$,VQ)|0,R$=R$+Math.imul(q$,UQ)|0,R$=R$+Math.imul(j$,VQ)|0,P$=P$+Math.imul(j$,UQ)|0,L$=L$+Math.imul(c,KQ)|0,R$=R$+Math.imul(c,IQ)|0,R$=R$+Math.imul(v$,KQ)|0,P$=P$+Math.imul(v$,IQ)|0,L$=L$+Math.imul(M$,K)|0,R$=R$+Math.imul(M$,l)|0,R$=R$+Math.imul(S$,K)|0,P$=P$+Math.imul(S$,l)|0;var I=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(I>>>26)|0,I&=67108863,L$=Math.imul(E0,s$),R$=Math.imul(E0,t$),R$=R$+Math.imul(b$,s$)|0,P$=Math.imul(b$,t$),L$=L$+Math.imul(V,d)|0,R$=R$+Math.imul(V,m$)|0,R$=R$+Math.imul(h,d)|0,P$=P$+Math.imul(h,m$)|0,L$=L$+Math.imul(c$,a$)|0,R$=R$+Math.imul(c$,e$)|0,R$=R$+Math.imul(h$,a$)|0,P$=P$+Math.imul(h$,e$)|0,L$=L$+Math.imul(w$,i$)|0,R$=R$+Math.imul(w$,$Q)|0,R$=R$+Math.imul(p$,i$)|0,P$=P$+Math.imul(p$,$Q)|0,L$=L$+Math.imul(B$,YQ)|0,R$=R$+Math.imul(B$,X)|0,R$=R$+Math.imul(H0,YQ)|0,P$=P$+Math.imul(H0,X)|0,L$=L$+Math.imul(x$,ZQ)|0,R$=R$+Math.imul(x$,D0)|0,R$=R$+Math.imul(G,ZQ)|0,P$=P$+Math.imul(G,D0)|0,L$=L$+Math.imul(g$,VQ)|0,R$=R$+Math.imul(g$,UQ)|0,R$=R$+Math.imul(_$,VQ)|0,P$=P$+Math.imul(_$,UQ)|0,L$=L$+Math.imul(q$,KQ)|0,R$=R$+Math.imul(q$,IQ)|0,R$=R$+Math.imul(j$,KQ)|0,P$=P$+Math.imul(j$,IQ)|0,L$=L$+Math.imul(c,K)|0,R$=R$+Math.imul(c,l)|0,R$=R$+Math.imul(v$,K)|0,P$=P$+Math.imul(v$,l)|0;var o=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(o>>>26)|0,o&=67108863,L$=Math.imul(E0,d),R$=Math.imul(E0,m$),R$=R$+Math.imul(b$,d)|0,P$=Math.imul(b$,m$),L$=L$+Math.imul(V,a$)|0,R$=R$+Math.imul(V,e$)|0,R$=R$+Math.imul(h,a$)|0,P$=P$+Math.imul(h,e$)|0,L$=L$+Math.imul(c$,i$)|0,R$=R$+Math.imul(c$,$Q)|0,R$=R$+Math.imul(h$,i$)|0,P$=P$+Math.imul(h$,$Q)|0,L$=L$+Math.imul(w$,YQ)|0,R$=R$+Math.imul(w$,X)|0,R$=R$+Math.imul(p$,YQ)|0,P$=P$+Math.imul(p$,X)|0,L$=L$+Math.imul(B$,ZQ)|0,R$=R$+Math.imul(B$,D0)|0,R$=R$+Math.imul(H0,ZQ)|0,P$=P$+Math.imul(H0,D0)|0,L$=L$+Math.imul(x$,VQ)|0,R$=R$+Math.imul(x$,UQ)|0,R$=R$+Math.imul(G,VQ)|0,P$=P$+Math.imul(G,UQ)|0,L$=L$+Math.imul(g$,KQ)|0,R$=R$+Math.imul(g$,IQ)|0,R$=R$+Math.imul(_$,KQ)|0,P$=P$+Math.imul(_$,IQ)|0,L$=L$+Math.imul(q$,K)|0,R$=R$+Math.imul(q$,l)|0,R$=R$+Math.imul(j$,K)|0,P$=P$+Math.imul(j$,l)|0;var CQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(CQ>>>26)|0,CQ&=67108863,L$=Math.imul(E0,a$),R$=Math.imul(E0,e$),R$=R$+Math.imul(b$,a$)|0,P$=Math.imul(b$,e$),L$=L$+Math.imul(V,i$)|0,R$=R$+Math.imul(V,$Q)|0,R$=R$+Math.imul(h,i$)|0,P$=P$+Math.imul(h,$Q)|0,L$=L$+Math.imul(c$,YQ)|0,R$=R$+Math.imul(c$,X)|0,R$=R$+Math.imul(h$,YQ)|0,P$=P$+Math.imul(h$,X)|0,L$=L$+Math.imul(w$,ZQ)|0,R$=R$+Math.imul(w$,D0)|0,R$=R$+Math.imul(p$,ZQ)|0,P$=P$+Math.imul(p$,D0)|0,L$=L$+Math.imul(B$,VQ)|0,R$=R$+Math.imul(B$,UQ)|0,R$=R$+Math.imul(H0,VQ)|0,P$=P$+Math.imul(H0,UQ)|0,L$=L$+Math.imul(x$,KQ)|0,R$=R$+Math.imul(x$,IQ)|0,R$=R$+Math.imul(G,KQ)|0,P$=P$+Math.imul(G,IQ)|0,L$=L$+Math.imul(g$,K)|0,R$=R$+Math.imul(g$,l)|0,R$=R$+Math.imul(_$,K)|0,P$=P$+Math.imul(_$,l)|0;var L0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(L0>>>26)|0,L0&=67108863,L$=Math.imul(E0,i$),R$=Math.imul(E0,$Q),R$=R$+Math.imul(b$,i$)|0,P$=Math.imul(b$,$Q),L$=L$+Math.imul(V,YQ)|0,R$=R$+Math.imul(V,X)|0,R$=R$+Math.imul(h,YQ)|0,P$=P$+Math.imul(h,X)|0,L$=L$+Math.imul(c$,ZQ)|0,R$=R$+Math.imul(c$,D0)|0,R$=R$+Math.imul(h$,ZQ)|0,P$=P$+Math.imul(h$,D0)|0,L$=L$+Math.imul(w$,VQ)|0,R$=R$+Math.imul(w$,UQ)|0,R$=R$+Math.imul(p$,VQ)|0,P$=P$+Math.imul(p$,UQ)|0,L$=L$+Math.imul(B$,KQ)|0,R$=R$+Math.imul(B$,IQ)|0,R$=R$+Math.imul(H0,KQ)|0,P$=P$+Math.imul(H0,IQ)|0,L$=L$+Math.imul(x$,K)|0,R$=R$+Math.imul(x$,l)|0,R$=R$+Math.imul(G,K)|0,P$=P$+Math.imul(G,l)|0;var LQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(LQ>>>26)|0,LQ&=67108863,L$=Math.imul(E0,YQ),R$=Math.imul(E0,X),R$=R$+Math.imul(b$,YQ)|0,P$=Math.imul(b$,X),L$=L$+Math.imul(V,ZQ)|0,R$=R$+Math.imul(V,D0)|0,R$=R$+Math.imul(h,ZQ)|0,P$=P$+Math.imul(h,D0)|0,L$=L$+Math.imul(c$,VQ)|0,R$=R$+Math.imul(c$,UQ)|0,R$=R$+Math.imul(h$,VQ)|0,P$=P$+Math.imul(h$,UQ)|0,L$=L$+Math.imul(w$,KQ)|0,R$=R$+Math.imul(w$,IQ)|0,R$=R$+Math.imul(p$,KQ)|0,P$=P$+Math.imul(p$,IQ)|0,L$=L$+Math.imul(B$,K)|0,R$=R$+Math.imul(B$,l)|0,R$=R$+Math.imul(H0,K)|0,P$=P$+Math.imul(H0,l)|0;var RQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(RQ>>>26)|0,RQ&=67108863,L$=Math.imul(E0,ZQ),R$=Math.imul(E0,D0),R$=R$+Math.imul(b$,ZQ)|0,P$=Math.imul(b$,D0),L$=L$+Math.imul(V,VQ)|0,R$=R$+Math.imul(V,UQ)|0,R$=R$+Math.imul(h,VQ)|0,P$=P$+Math.imul(h,UQ)|0,L$=L$+Math.imul(c$,KQ)|0,R$=R$+Math.imul(c$,IQ)|0,R$=R$+Math.imul(h$,KQ)|0,P$=P$+Math.imul(h$,IQ)|0,L$=L$+Math.imul(w$,K)|0,R$=R$+Math.imul(w$,l)|0,R$=R$+Math.imul(p$,K)|0,P$=P$+Math.imul(p$,l)|0;var PQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(PQ>>>26)|0,PQ&=67108863,L$=Math.imul(E0,VQ),R$=Math.imul(E0,UQ),R$=R$+Math.imul(b$,VQ)|0,P$=Math.imul(b$,UQ),L$=L$+Math.imul(V,KQ)|0,R$=R$+Math.imul(V,IQ)|0,R$=R$+Math.imul(h,KQ)|0,P$=P$+Math.imul(h,IQ)|0,L$=L$+Math.imul(c$,K)|0,R$=R$+Math.imul(c$,l)|0,R$=R$+Math.imul(h$,K)|0,P$=P$+Math.imul(h$,l)|0;var zQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(zQ>>>26)|0,zQ&=67108863,L$=Math.imul(E0,KQ),R$=Math.imul(E0,IQ),R$=R$+Math.imul(b$,KQ)|0,P$=Math.imul(b$,IQ),L$=L$+Math.imul(V,K)|0,R$=R$+Math.imul(V,l)|0,R$=R$+Math.imul(h,K)|0,P$=P$+Math.imul(h,l)|0;var MQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(MQ>>>26)|0,MQ&=67108863,L$=Math.imul(E0,K),R$=Math.imul(E0,l),R$=R$+Math.imul(b$,K)|0,P$=Math.imul(b$,l);var SQ=(C$+L$|0)+((R$&8191)<<13)|0;return C$=(P$+(R$>>>13)|0)+(SQ>>>26)|0,SQ&=67108863,F0[0]=JQ,F0[1]=C0,F0[2]=FQ,F0[3]=AQ,F0[4]=HQ,F0[5]=WQ,F0[6]=EQ,F0[7]=TQ,F0[8]=DQ,F0[9]=I,F0[10]=o,F0[11]=CQ,F0[12]=L0,F0[13]=LQ,F0[14]=RQ,F0[15]=PQ,F0[16]=zQ,F0[17]=MQ,F0[18]=SQ,C$!==0&&(F0[19]=C$,Y.length++),Y};Math.imul||(X$=U$);function K$(E$,T$,Y){Y.negative=T$.negative^E$.negative,Y.length=E$.length+T$.length;for(var f=0,D$=0,F0=0;F0<Y.length-1;F0++){var C$=D$;D$=0;for(var L$=f&67108863,R$=Math.min(F0,T$.length-1),P$=Math.max(0,F0-E$.length+1);P$<=R$;P$++){var z$=F0-P$,M$=E$.words[z$]|0,S$=T$.words[P$]|0,Z=M$*S$,c=Z&67108863;C$=C$+(Z/67108864|0)|0,c=c+L$|0,L$=c&67108863,C$=C$+(c>>>26)|0,D$+=C$>>>26,C$&=67108863}Y.words[F0]=L$,f=C$,C$=D$}return f!==0?Y.words[F0]=f:Y.length--,Y.strip()}function I$(E$,T$,Y){var f=new Q;return f.mulp(E$,T$,Y)}$$.prototype.mulTo=function(E$,T$){var Y,f=this.length+E$.length;return this.length===10&&E$.length===10?Y=X$(this,E$,T$):f<63?Y=U$(this,E$,T$):f<1024?Y=K$(this,E$,T$):Y=I$(this,E$,T$),Y};function Q(E$,T$){this.x=E$,this.y=T$}Q.prototype.makeRBT=function(E$){for(var T$=new Array(E$),Y=$$.prototype._countBits(E$)-1,f=0;f<E$;f++)T$[f]=this.revBin(f,Y,E$);return T$},Q.prototype.revBin=function(E$,T$,Y){if(E$===0||E$===Y-1)return E$;for(var f=0,D$=0;D$<T$;D$++)f|=(E$&1)<<T$-D$-1,E$>>=1;return f},Q.prototype.permute=function(E$,T$,Y,f,D$,F0){for(var C$=0;C$<F0;C$++)f[C$]=T$[E$[C$]],D$[C$]=Y[E$[C$]]},Q.prototype.transform=function(E$,T$,Y,f,D$,F0){this.permute(F0,E$,T$,Y,f,D$);for(var C$=1;C$<D$;C$<<=1)for(var L$=C$<<1,R$=Math.cos(2*Math.PI/L$),P$=Math.sin(2*Math.PI/L$),z$=0;z$<D$;z$+=L$)for(var M$=R$,S$=P$,Z=0;Z<C$;Z++){var c=Y[z$+Z],v$=f[z$+Z],A0=Y[z$+Z+C$],q$=f[z$+Z+C$],j$=M$*A0-S$*q$;q$=M$*q$+S$*A0,A0=j$,Y[z$+Z]=c+A0,f[z$+Z]=v$+q$,Y[z$+Z+C$]=c-A0,f[z$+Z+C$]=v$-q$,Z!==L$&&(j$=R$*M$-P$*S$,S$=R$*S$+P$*M$,M$=j$)}},Q.prototype.guessLen13b=function(E$,T$){var Y=Math.max(T$,E$)|1,f=Y&1,D$=0;for(Y=Y/2|0;Y;Y=Y>>>1)D$++;return 1<<D$+1+f},Q.prototype.conjugate=function(E$,T$,Y){if(!(Y<=1))for(var f=0;f<Y/2;f++){var D$=E$[f];E$[f]=E$[Y-f-1],E$[Y-f-1]=D$,D$=T$[f],T$[f]=-T$[Y-f-1],T$[Y-f-1]=-D$}},Q.prototype.normalize13b=function(E$,T$){for(var Y=0,f=0;f<T$/2;f++){var D$=Math.round(E$[2*f+1]/T$)*8192+Math.round(E$[2*f]/T$)+Y;E$[f]=D$&67108863,D$<67108864?Y=0:Y=D$/67108864|0}return E$},Q.prototype.convert13b=function(E$,T$,Y,f){for(var D$=0,F0=0;F0<T$;F0++)D$=D$+(E$[F0]|0),Y[2*F0]=D$&8191,D$=D$>>>13,Y[2*F0+1]=D$&8191,D$=D$>>>13;for(F0=2*T$;F0<f;++F0)Y[F0]=0;r0(D$===0),r0((D$&-8192)===0)},Q.prototype.stub=function(E$){for(var T$=new Array(E$),Y=0;Y<E$;Y++)T$[Y]=0;return T$},Q.prototype.mulp=function(E$,T$,Y){var f=2*this.guessLen13b(E$.length,T$.length),D$=this.makeRBT(f),F0=this.stub(f),C$=new Array(f),L$=new Array(f),R$=new Array(f),P$=new Array(f),z$=new Array(f),M$=new Array(f),S$=Y.words;S$.length=f,this.convert13b(E$.words,E$.length,C$,f),this.convert13b(T$.words,T$.length,P$,f),this.transform(C$,F0,L$,R$,f,D$),this.transform(P$,F0,z$,M$,f,D$);for(var Z=0;Z<f;Z++){var c=L$[Z]*z$[Z]-R$[Z]*M$[Z];R$[Z]=L$[Z]*M$[Z]+R$[Z]*z$[Z],L$[Z]=c}return this.conjugate(L$,R$,f),this.transform(L$,R$,S$,F0,f,D$),this.conjugate(S$,F0,f),this.normalize13b(S$,f),Y.negative=E$.negative^T$.negative,Y.length=E$.length+T$.length,Y.strip()},$$.prototype.mul=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),this.mulTo(E$,T$)},$$.prototype.mulf=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),I$(this,E$,T$)},$$.prototype.imul=function(E$){return this.clone().mulTo(E$,this)},$$.prototype.imuln=function(E$){r0(typeof E$=="number"),r0(E$<67108864);for(var T$=0,Y=0;Y<this.length;Y++){var f=(this.words[Y]|0)*E$,D$=(f&67108863)+(T$&67108863);T$>>=26,T$+=f/67108864|0,T$+=D$>>>26,this.words[Y]=D$&67108863}return T$!==0&&(this.words[Y]=T$,this.length++),this},$$.prototype.muln=function(E$){return this.clone().imuln(E$)},$$.prototype.sqr=function(){return this.mul(this)},$$.prototype.isqr=function(){return this.imul(this.clone())},$$.prototype.pow=function(E$){var T$=V$(E$);if(T$.length===0)return new $$(1);for(var Y=this,f=0;f<T$.length&&T$[f]===0;f++,Y=Y.sqr());if(++f<T$.length)for(var D$=Y.sqr();f<T$.length;f++,D$=D$.sqr())T$[f]!==0&&(Y=Y.mul(D$));return Y},$$.prototype.iushln=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=67108863>>>26-T$<<26-T$,D$;if(T$!==0){var F0=0;for(D$=0;D$<this.length;D$++){var C$=this.words[D$]&f,L$=(this.words[D$]|0)-C$<<T$;this.words[D$]=L$|F0,F0=C$>>>26-T$}F0&&(this.words[D$]=F0,this.length++)}if(Y!==0){for(D$=this.length-1;D$>=0;D$--)this.words[D$+Y]=this.words[D$];for(D$=0;D$<Y;D$++)this.words[D$]=0;this.length+=Y}return this.strip()},$$.prototype.ishln=function(E$){return r0(this.negative===0),this.iushln(E$)},$$.prototype.iushrn=function(E$,T$,Y){r0(typeof E$=="number"&&E$>=0);var f;T$?f=(T$-T$%26)/26:f=0;var D$=E$%26,F0=Math.min((E$-D$)/26,this.length),C$=67108863^67108863>>>D$<<D$,L$=Y;if(f-=F0,f=Math.max(0,f),L$){for(var R$=0;R$<F0;R$++)L$.words[R$]=this.words[R$];L$.length=F0}if(F0!==0)if(this.length>F0)for(this.length-=F0,R$=0;R$<this.length;R$++)this.words[R$]=this.words[R$+F0];else this.words[0]=0,this.length=1;var P$=0;for(R$=this.length-1;R$>=0&&(P$!==0||R$>=f);R$--){var z$=this.words[R$]|0;this.words[R$]=P$<<26-D$|z$>>>D$,P$=z$&C$}return L$&&P$!==0&&(L$.words[L$.length++]=P$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},$$.prototype.ishrn=function(E$,T$,Y){return r0(this.negative===0),this.iushrn(E$,T$,Y)},$$.prototype.shln=function(E$){return this.clone().ishln(E$)},$$.prototype.ushln=function(E$){return this.clone().iushln(E$)},$$.prototype.shrn=function(E$){return this.clone().ishrn(E$)},$$.prototype.ushrn=function(E$){return this.clone().iushrn(E$)},$$.prototype.testn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return!1;var D$=this.words[Y];return!!(D$&f)},$$.prototype.imaskn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26;if(r0(this.negative===0,"imaskn works only with positive numbers"),this.length<=Y)return this;if(T$!==0&&Y++,this.length=Math.min(Y,this.length),T$!==0){var f=67108863^67108863>>>T$<<T$;this.words[this.length-1]&=f}return this.strip()},$$.prototype.maskn=function(E$){return this.clone().imaskn(E$)},$$.prototype.iaddn=function(E$){return r0(typeof E$=="number"),r0(E$<67108864),E$<0?this.isubn(-E$):this.negative!==0?this.length===1&&(this.words[0]|0)<E$?(this.words[0]=E$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(E$),this.negative=1,this):this._iaddn(E$)},$$.prototype._iaddn=function(E$){this.words[0]+=E$;for(var T$=0;T$<this.length&&this.words[T$]>=67108864;T$++)this.words[T$]-=67108864,T$===this.length-1?this.words[T$+1]=1:this.words[T$+1]++;return this.length=Math.max(this.length,T$+1),this},$$.prototype.isubn=function(E$){if(r0(typeof E$=="number"),r0(E$<67108864),E$<0)return this.iaddn(-E$);if(this.negative!==0)return this.negative=0,this.iaddn(E$),this.negative=1,this;if(this.words[0]-=E$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T$=0;T$<this.length&&this.words[T$]<0;T$++)this.words[T$]+=67108864,this.words[T$+1]-=1;return this.strip()},$$.prototype.addn=function(E$){return this.clone().iaddn(E$)},$$.prototype.subn=function(E$){return this.clone().isubn(E$)},$$.prototype.iabs=function(){return this.negative=0,this},$$.prototype.abs=function(){return this.clone().iabs()},$$.prototype._ishlnsubmul=function(E$,T$,Y){var f=E$.length+Y,D$;this._expand(f);var F0,C$=0;for(D$=0;D$<E$.length;D$++){F0=(this.words[D$+Y]|0)+C$;var L$=(E$.words[D$]|0)*T$;F0-=L$&67108863,C$=(F0>>26)-(L$/67108864|0),this.words[D$+Y]=F0&67108863}for(;D$<this.length-Y;D$++)F0=(this.words[D$+Y]|0)+C$,C$=F0>>26,this.words[D$+Y]=F0&67108863;if(C$===0)return this.strip();for(r0(C$===-1),C$=0,D$=0;D$<this.length;D$++)F0=-(this.words[D$]|0)+C$,C$=F0>>26,this.words[D$]=F0&67108863;return this.negative=1,this.strip()},$$.prototype._wordDiv=function(E$,T$){var Y=this.length-E$.length,f=this.clone(),D$=E$,F0=D$.words[D$.length-1]|0,C$=this._countBits(F0);Y=26-C$,Y!==0&&(D$=D$.ushln(Y),f.iushln(Y),F0=D$.words[D$.length-1]|0);var L$=f.length-D$.length,R$;if(T$!=="mod"){R$=new $$(null),R$.length=L$+1,R$.words=new Array(R$.length);for(var P$=0;P$<R$.length;P$++)R$.words[P$]=0}var z$=f.clone()._ishlnsubmul(D$,1,L$);z$.negative===0&&(f=z$,R$&&(R$.words[L$]=1));for(var M$=L$-1;M$>=0;M$--){var S$=(f.words[D$.length+M$]|0)*67108864+(f.words[D$.length+M$-1]|0);for(S$=Math.min(S$/F0|0,67108863),f._ishlnsubmul(D$,S$,M$);f.negative!==0;)S$--,f.negative=0,f._ishlnsubmul(D$,1,M$),f.isZero()||(f.negative^=1);R$&&(R$.words[M$]=S$)}return R$&&R$.strip(),f.strip(),T$!=="div"&&Y!==0&&f.iushrn(Y),{div:R$||null,mod:f}},$$.prototype.divmod=function(E$,T$,Y){if(r0(!E$.isZero()),this.isZero())return{div:new $$(0),mod:new $$(0)};var f,D$,F0;return this.negative!==0&&E$.negative===0?(F0=this.neg().divmod(E$,T$),T$!=="mod"&&(f=F0.div.neg()),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.iadd(E$)),{div:f,mod:D$}):this.negative===0&&E$.negative!==0?(F0=this.divmod(E$.neg(),T$),T$!=="mod"&&(f=F0.div.neg()),{div:f,mod:F0.mod}):(this.negative&E$.negative)!==0?(F0=this.neg().divmod(E$.neg(),T$),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.isub(E$)),{div:F0.div,mod:D$}):E$.length>this.length||this.cmp(E$)<0?{div:new $$(0),mod:this}:E$.length===1?T$==="div"?{div:this.divn(E$.words[0]),mod:null}:T$==="mod"?{div:null,mod:new $$(this.modn(E$.words[0]))}:{div:this.divn(E$.words[0]),mod:new $$(this.modn(E$.words[0]))}:this._wordDiv(E$,T$)},$$.prototype.div=function(E$){return this.divmod(E$,"div",!1).div},$$.prototype.mod=function(E$){return this.divmod(E$,"mod",!1).mod},$$.prototype.umod=function(E$){return this.divmod(E$,"mod",!0).mod},$$.prototype.divRound=function(E$){var T$=this.divmod(E$);if(T$.mod.isZero())return T$.div;var Y=T$.div.negative!==0?T$.mod.isub(E$):T$.mod,f=E$.ushrn(1),D$=E$.andln(1),F0=Y.cmp(f);return F0<0||D$===1&&F0===0?T$.div:T$.div.negative!==0?T$.div.isubn(1):T$.div.iaddn(1)},$$.prototype.modn=function(E$){r0(E$<=67108863);for(var T$=(1<<26)%E$,Y=0,f=this.length-1;f>=0;f--)Y=(T$*Y+(this.words[f]|0))%E$;return Y},$$.prototype.idivn=function(E$){r0(E$<=67108863);for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=(this.words[Y]|0)+T$*67108864;this.words[Y]=f/E$|0,T$=f%E$}return this.strip()},$$.prototype.divn=function(E$){return this.clone().idivn(E$)},$$.prototype.egcd=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=new $$(0),C$=new $$(1),L$=0;T$.isEven()&&Y.isEven();)T$.iushrn(1),Y.iushrn(1),++L$;for(var R$=Y.clone(),P$=T$.clone();!T$.isZero();){for(var z$=0,M$=1;(T$.words[0]&M$)===0&&z$<26;++z$,M$<<=1);if(z$>0)for(T$.iushrn(z$);z$-- >0;)(f.isOdd()||D$.isOdd())&&(f.iadd(R$),D$.isub(P$)),f.iushrn(1),D$.iushrn(1);for(var S$=0,Z=1;(Y.words[0]&Z)===0&&S$<26;++S$,Z<<=1);if(S$>0)for(Y.iushrn(S$);S$-- >0;)(F0.isOdd()||C$.isOdd())&&(F0.iadd(R$),C$.isub(P$)),F0.iushrn(1),C$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(F0),D$.isub(C$)):(Y.isub(T$),F0.isub(f),C$.isub(D$))}return{a:F0,b:C$,gcd:Y.iushln(L$)}},$$.prototype._invmp=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=Y.clone();T$.cmpn(1)>0&&Y.cmpn(1)>0;){for(var C$=0,L$=1;(T$.words[0]&L$)===0&&C$<26;++C$,L$<<=1);if(C$>0)for(T$.iushrn(C$);C$-- >0;)f.isOdd()&&f.iadd(F0),f.iushrn(1);for(var R$=0,P$=1;(Y.words[0]&P$)===0&&R$<26;++R$,P$<<=1);if(R$>0)for(Y.iushrn(R$);R$-- >0;)D$.isOdd()&&D$.iadd(F0),D$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(D$)):(Y.isub(T$),D$.isub(f))}var z$;return T$.cmpn(1)===0?z$=f:z$=D$,z$.cmpn(0)<0&&z$.iadd(E$),z$},$$.prototype.gcd=function(E$){if(this.isZero())return E$.abs();if(E$.isZero())return this.abs();var T$=this.clone(),Y=E$.clone();T$.negative=0,Y.negative=0;for(var f=0;T$.isEven()&&Y.isEven();f++)T$.iushrn(1),Y.iushrn(1);do{for(;T$.isEven();)T$.iushrn(1);for(;Y.isEven();)Y.iushrn(1);var D$=T$.cmp(Y);if(D$<0){var F0=T$;T$=Y,Y=F0}else if(D$===0||Y.cmpn(1)===0)break;T$.isub(Y)}while(!0);return Y.iushln(f)},$$.prototype.invm=function(E$){return this.egcd(E$).a.umod(E$)},$$.prototype.isEven=function(){return(this.words[0]&1)===0},$$.prototype.isOdd=function(){return(this.words[0]&1)===1},$$.prototype.andln=function(E$){return this.words[0]&E$},$$.prototype.bincn=function(E$){r0(typeof E$=="number");var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return this._expand(Y+1),this.words[Y]|=f,this;for(var D$=f,F0=Y;D$!==0&&F0<this.length;F0++){var C$=this.words[F0]|0;C$+=D$,D$=C$>>>26,C$&=67108863,this.words[F0]=C$}return D$!==0&&(this.words[F0]=D$,this.length++),this},$$.prototype.isZero=function(){return this.length===1&&this.words[0]===0},$$.prototype.cmpn=function(E$){var T$=E$<0;if(this.negative!==0&&!T$)return-1;if(this.negative===0&&T$)return 1;this.strip();var Y;if(this.length>1)Y=1;else{T$&&(E$=-E$),r0(E$<=67108863,"Number is too big");var f=this.words[0]|0;Y=f===E$?0:f<E$?-1:1}return this.negative!==0?-Y|0:Y},$$.prototype.cmp=function(E$){if(this.negative!==0&&E$.negative===0)return-1;if(this.negative===0&&E$.negative!==0)return 1;var T$=this.ucmp(E$);return this.negative!==0?-T$|0:T$},$$.prototype.ucmp=function(E$){if(this.length>E$.length)return 1;if(this.length<E$.length)return-1;for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=this.words[Y]|0,D$=E$.words[Y]|0;if(f!==D$){f<D$?T$=-1:f>D$&&(T$=1);break}}return T$},$$.prototype.gtn=function(E$){return this.cmpn(E$)===1},$$.prototype.gt=function(E$){return this.cmp(E$)===1},$$.prototype.gten=function(E$){return this.cmpn(E$)>=0},$$.prototype.gte=function(E$){return this.cmp(E$)>=0},$$.prototype.ltn=function(E$){return this.cmpn(E$)===-1},$$.prototype.lt=function(E$){return this.cmp(E$)===-1},$$.prototype.lten=function(E$){return this.cmpn(E$)<=0},$$.prototype.lte=function(E$){return this.cmp(E$)<=0},$$.prototype.eqn=function(E$){return this.cmpn(E$)===0},$$.prototype.eq=function(E$){return this.cmp(E$)===0},$$.red=function(E$){return new H$(E$)},$$.prototype.toRed=function(E$){return r0(!this.red,"Already a number in reduction context"),r0(this.negative===0,"red works only with positives"),E$.convertTo(this)._forceRed(E$)},$$.prototype.fromRed=function(){return r0(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},$$.prototype._forceRed=function(E$){return this.red=E$,this},$$.prototype.forceRed=function(E$){return r0(!this.red,"Already a number in reduction context"),this._forceRed(E$)},$$.prototype.redAdd=function(E$){return r0(this.red,"redAdd works only with red numbers"),this.red.add(this,E$)},$$.prototype.redIAdd=function(E$){return r0(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,E$)},$$.prototype.redSub=function(E$){return r0(this.red,"redSub works only with red numbers"),this.red.sub(this,E$)},$$.prototype.redISub=function(E$){return r0(this.red,"redISub works only with red numbers"),this.red.isub(this,E$)},$$.prototype.redShl=function(E$){return r0(this.red,"redShl works only with red numbers"),this.red.shl(this,E$)},$$.prototype.redMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.mul(this,E$)},$$.prototype.redIMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.imul(this,E$)},$$.prototype.redSqr=function(){return r0(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},$$.prototype.redISqr=function(){return r0(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},$$.prototype.redSqrt=function(){return r0(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},$$.prototype.redInvm=function(){return r0(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},$$.prototype.redNeg=function(){return r0(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},$$.prototype.redPow=function(E$){return r0(this.red&&!E$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,E$)};var x={k256:null,p224:null,p192:null,p25519:null};function O$(E$,T$){this.name=E$,this.p=new $$(T$,16),this.n=this.p.bitLength(),this.k=new $$(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}O$.prototype._tmp=function(){var E$=new $$(null);return E$.words=new Array(Math.ceil(this.n/13)),E$},O$.prototype.ireduce=function(E$){var T$=E$,Y;do this.split(T$,this.tmp),T$=this.imulK(T$),T$=T$.iadd(this.tmp),Y=T$.bitLength();while(Y>this.n);var f=Y<this.n?-1:T$.ucmp(this.p);return f===0?(T$.words[0]=0,T$.length=1):f>0?T$.isub(this.p):T$.strip!==void 0?T$.strip():T$._strip(),T$},O$.prototype.split=function(E$,T$){E$.iushrn(this.n,0,T$)},O$.prototype.imulK=function(E$){return E$.imul(this.k)};function J0(){O$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i0(J0,O$),J0.prototype.split=function(E$,T$){for(var Y=4194303,f=Math.min(E$.length,9),D$=0;D$<f;D$++)T$.words[D$]=E$.words[D$];if(T$.length=f,E$.length<=9){E$.words[0]=0,E$.length=1;return}var F0=E$.words[9];for(T$.words[T$.length++]=F0&Y,D$=10;D$<E$.length;D$++){var C$=E$.words[D$]|0;E$.words[D$-10]=(C$&Y)<<4|F0>>>22,F0=C$}F0>>>=22,E$.words[D$-10]=F0,F0===0&&E$.length>10?E$.length-=10:E$.length-=9},J0.prototype.imulK=function(E$){E$.words[E$.length]=0,E$.words[E$.length+1]=0,E$.length+=2;for(var T$=0,Y=0;Y<E$.length;Y++){var f=E$.words[Y]|0;T$+=f*977,E$.words[Y]=T$&67108863,T$=f*64+(T$/67108864|0)}return E$.words[E$.length-1]===0&&(E$.length--,E$.words[E$.length-1]===0&&E$.length--),E$};function J$(){O$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i0(J$,O$);function F$(){O$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i0(F$,O$);function A$(){O$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i0(A$,O$),A$.prototype.imulK=function(E$){for(var T$=0,Y=0;Y<E$.length;Y++){var f=(E$.words[Y]|0)*19+T$,D$=f&67108863;f>>>=26,E$.words[Y]=D$,T$=f}return T$!==0&&(E$.words[E$.length++]=T$),E$},$$._prime=function(E$){if(x[E$])return x[E$];var T$;if(E$==="k256")T$=new J0;else if(E$==="p224")T$=new J$;else if(E$==="p192")T$=new F$;else if(E$==="p25519")T$=new A$;else throw new Error("Unknown prime "+E$);return x[E$]=T$,T$};function H$(E$){if(typeof E$=="string"){var T$=$$._prime(E$);this.m=T$.p,this.prime=T$}else r0(E$.gtn(1),"modulus must be greater than 1"),this.m=E$,this.prime=null}H$.prototype._verify1=function(E$){r0(E$.negative===0,"red works only with positives"),r0(E$.red,"red works only with red numbers")},H$.prototype._verify2=function(E$,T$){r0((E$.negative|T$.negative)===0,"red works only with positives"),r0(E$.red&&E$.red===T$.red,"red works only with red numbers")},H$.prototype.imod=function(E$){return this.prime?this.prime.ireduce(E$)._forceRed(this):E$.umod(this.m)._forceRed(this)},H$.prototype.neg=function(E$){return E$.isZero()?E$.clone():this.m.sub(E$)._forceRed(this)},H$.prototype.add=function(E$,T$){this._verify2(E$,T$);var Y=E$.add(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y._forceRed(this)},H$.prototype.iadd=function(E$,T$){this._verify2(E$,T$);var Y=E$.iadd(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y},H$.prototype.sub=function(E$,T$){this._verify2(E$,T$);var Y=E$.sub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y._forceRed(this)},H$.prototype.isub=function(E$,T$){this._verify2(E$,T$);var Y=E$.isub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y},H$.prototype.shl=function(E$,T$){return this._verify1(E$),this.imod(E$.ushln(T$))},H$.prototype.imul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.imul(T$))},H$.prototype.mul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.mul(T$))},H$.prototype.isqr=function(E$){return this.imul(E$,E$.clone())},H$.prototype.sqr=function(E$){return this.mul(E$,E$)},H$.prototype.sqrt=function(E$){if(E$.isZero())return E$.clone();var T$=this.m.andln(3);if(r0(T$%2===1),T$===3){var Y=this.m.add(new $$(1)).iushrn(2);return this.pow(E$,Y)}for(var f=this.m.subn(1),D$=0;!f.isZero()&&f.andln(1)===0;)D$++,f.iushrn(1);r0(!f.isZero());var F0=new $$(1).toRed(this),C$=F0.redNeg(),L$=this.m.subn(1).iushrn(1),R$=this.m.bitLength();for(R$=new $$(2*R$*R$).toRed(this);this.pow(R$,L$).cmp(C$)!==0;)R$.redIAdd(C$);for(var P$=this.pow(R$,f),z$=this.pow(E$,f.addn(1).iushrn(1)),M$=this.pow(E$,f),S$=D$;M$.cmp(F0)!==0;){for(var Z=M$,c=0;Z.cmp(F0)!==0;c++)Z=Z.redSqr();r0(c<S$);var v$=this.pow(P$,new $$(1).iushln(S$-c-1));z$=z$.redMul(v$),P$=v$.redSqr(),M$=M$.redMul(P$),S$=c}return z$},H$.prototype.invm=function(E$){var T$=E$._invmp(this.m);return T$.negative!==0?(T$.negative=0,this.imod(T$).redNeg()):this.imod(T$)},H$.prototype.pow=function(E$,T$){if(T$.isZero())return new $$(1).toRed(this);if(T$.cmpn(1)===0)return E$.clone();var Y=4,f=new Array(1<<Y);f[0]=new $$(1).toRed(this),f[1]=E$;for(var D$=2;D$<f.length;D$++)f[D$]=this.mul(f[D$-1],E$);var F0=f[0],C$=0,L$=0,R$=T$.bitLength()%26;for(R$===0&&(R$=26),D$=T$.length-1;D$>=0;D$--){for(var P$=T$.words[D$],z$=R$-1;z$>=0;z$--){var M$=P$>>z$&1;if(F0!==f[0]&&(F0=this.sqr(F0)),M$===0&&C$===0){L$=0;continue}C$<<=1,C$|=M$,L$++,!(L$!==Y&&(D$!==0||z$!==0))&&(F0=this.mul(F0,f[C$]),L$=0,C$=0)}R$=26}return F0},H$.prototype.convertTo=function(E$){var T$=E$.umod(this.m);return T$===E$?T$.clone():T$},H$.prototype.convertFrom=function(E$){var T$=E$.clone();return T$.red=null,T$},$$.mont=function(E$){return new W$(E$)};function W$(E$){H$.call(this,E$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new $$(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i0(W$,H$),W$.prototype.convertTo=function(E$){return this.imod(E$.ushln(this.shift))},W$.prototype.convertFrom=function(E$){var T$=this.imod(E$.mul(this.rinv));return T$.red=null,T$},W$.prototype.imul=function(E$,T$){if(E$.isZero()||T$.isZero())return E$.words[0]=0,E$.length=1,E$;var Y=E$.imul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.mul=function(E$,T$){if(E$.isZero()||T$.isZero())return new $$(0)._forceRed(this);var Y=E$.mul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.invm=function(E$){var T$=this.imod(E$._invmp(this.m).mul(this.r2));return T$._forceRed(this)}})(typeof m0>"u"||m0,t0)}}),zY=pQ({"(disabled):node_modules/crypto-browserify/index.js"(){}}),T=pQ({"node_modules/brorand/index.js"(t0,m0){var a0;m0.exports=function(r0){return a0||(a0=new e0(null)),a0.generate(r0)};function e0(r0){this.rand=r0}m0.exports.Rand=e0,e0.prototype.generate=function(r0){return this._rand(r0)},e0.prototype._rand=function(r0){var i0=new G0(r0);return qQ.getRandomValues(i0),i0}}}),t=pQ({"node_modules/miller-rabin/lib/mr.js"(t0,m0){var a0=PY(),e0=T();function r0(i0){this.rand=i0||new e0.Rand}m0.exports=r0,r0.create=function(i0){return new r0(i0)},r0.prototype._randbelow=function(i0){var $$=i0.bitLength(),Q$=Math.ceil($$/8);do var $=new a0(this.rand.generate(Q$));while($.cmp(i0)>=0);return $},r0.prototype._randrange=function(i0,$$){var Q$=$$.sub(i0);return i0.add(this._randbelow(Q$))},r0.prototype.test=function(i0,$$,Q$){var $=i0.bitLength(),N=a0.mont(i0),Y$=new a0(1).toRed(N);$$||($$=Math.max(1,$/48|0));for(var O0=i0.subn(1),Z$=0;!O0.testn(Z$);Z$++);for(var G$=i0.shrn(Z$),V$=O0.toRed(N),U$=!0;$$>0;$$--){var X$=this._randrange(new a0(2),O0);Q$&&Q$(X$);var K$=X$.toRed(N).redPow(G$);if(!(K$.cmp(Y$)===0||K$.cmp(V$)===0)){for(var I$=1;I$<Z$;I$++){if(K$=K$.redSqr(),K$.cmp(Y$)===0)return!1;if(K$.cmp(V$)===0)break}if(I$===Z$)return!1}}return U$},r0.prototype.getDivisor=function(i0,$$){var Q$=i0.bitLength(),$=a0.mont(i0),N=new a0(1).toRed($);$$||($$=Math.max(1,Q$/48|0));for(var Y$=i0.subn(1),O0=0;!Y$.testn(O0);O0++);for(var Z$=i0.shrn(O0),G$=Y$.toRed($);$$>0;$$--){var V$=this._randrange(new a0(2),Y$),U$=i0.gcd(V$);if(U$.cmpn(1)!==0)return U$;var X$=V$.toRed($).redPow(Z$);if(!(X$.cmp(N)===0||X$.cmp(G$)===0)){for(var K$=1;K$<O0;K$++){if(X$=X$.redSqr(),X$.cmp(N)===0)return X$.fromRed().subn(1).gcd(i0);if(X$.cmp(G$)===0)break}if(K$===O0)return X$=X$.redSqr(),X$.fromRed().subn(1).gcd(i0)}}return!1}}}),_0=pQ({"node_modules/diffie-hellman/lib/generatePrime.js"(t0,m0){var a0=hQ();m0.exports=J0,J0.simpleSieve=x,J0.fermatTest=O$;var e0=RY(),r0=new e0(24),i0=t(),$$=new i0,Q$=new e0(1),$=new e0(2),N=new e0(5),Y$=new e0(16),O0=new e0(8),Z$=new e0(10),G$=new e0(3),V$=new e0(7),U$=new e0(11),X$=new e0(4),K$=new e0(12),I$=null;function Q(){if(I$!==null)return I$;var J$=1048576,F$=[];F$[0]=2;for(var A$=1,H$=3;H$<J$;H$+=2){for(var W$=Math.ceil(Math.sqrt(H$)),E$=0;E$<A$&&F$[E$]<=W$&&H$%F$[E$]!==0;E$++);A$!==E$&&F$[E$]<=W$||(F$[A$++]=H$)}return I$=F$,F$}function x(J$){for(var F$=Q(),A$=0;A$<F$.length;A$++)if(J$.modn(F$[A$])===0)return J$.cmpn(F$[A$])===0;return!0}function O$(J$){var F$=e0.mont(J$);return $.toRed(F$).redPow(J$.subn(1)).fromRed().cmpn(1)===0}function J0(J$,F$){if(J$<16)return F$===2||F$===5?new e0([140,123]):new e0([140,39]);F$=new e0(F$);for(var A$,H$;;){for(A$=new e0(a0(Math.ceil(J$/8)));A$.bitLength()>J$;)A$.ishrn(1);if(A$.isEven()&&A$.iadd(Q$),A$.testn(1)||A$.iadd($),F$.cmp($)){if(!F$.cmp(N))for(;A$.mod(Z$).cmp(G$);)A$.iadd(X$)}else for(;A$.mod(r0).cmp(U$);)A$.iadd(X$);if(H$=A$.shrn(1),x(H$)&&x(A$)&&O$(H$)&&O$(A$)&&$$.test(H$)&&$$.test(A$))return A$}}}}),N0=pQ({"node_modules/diffie-hellman/lib/primes.json"(t0,m0){m0.exports={modp1:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18:{gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}}}),MY=pQ({"node_modules/diffie-hellman/lib/dh.js"(t0,m0){var a0=RY(),e0=t(),r0=new e0,i0=new a0(24),$$=new a0(11),Q$=new a0(10),$=new a0(3),N=new a0(7),Y$=_0(),O0=hQ();m0.exports=X$;function Z$(I$,Q){return Q=Q||"utf8",G0.isBuffer(I$)||(I$=new G0(I$,Q)),this._pub=new a0(I$),this}function G$(I$,Q){return Q=Q||"utf8",G0.isBuffer(I$)||(I$=new G0(I$,Q)),this._priv=new a0(I$),this}var V$={};function U$(I$,Q){var x=Q.toString("hex"),O$=[x,I$.toString(16)].join("_");if(O$ in V$)return V$[O$];var J0=0;if(I$.isEven()||!Y$.simpleSieve||!Y$.fermatTest(I$)||!r0.test(I$))return J0+=1,x==="02"||x==="05"?J0+=8:J0+=4,V$[O$]=J0,J0;r0.test(I$.shrn(1))||(J0+=2);var J$;switch(x){case"02":I$.mod(i0).cmp($$)&&(J0+=8);break;case"05":J$=I$.mod(Q$),J$.cmp($)&&J$.cmp(N)&&(J0+=8);break;default:J0+=4}return V$[O$]=J0,J0}function X$(I$,Q,x){this.setGenerator(Q),this.__prime=new a0(I$),this._prime=a0.mont(this.__prime),this._primeLen=I$.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,x?(this.setPublicKey=Z$,this.setPrivateKey=G$):this._primeCode=8}Object.defineProperty(X$.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=U$(this.__prime,this.__gen)),this._primeCode}}),X$.prototype.generateKeys=function(){return this._priv||(this._priv=new a0(O0(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},X$.prototype.computeSecret=function(I$){I$=new a0(I$),I$=I$.toRed(this._prime);var Q=I$.redPow(this._priv).fromRed(),x=new G0(Q.toArray()),O$=this.getPrime();if(x.length<O$.length){var J0=new G0(O$.length-x.length);J0.fill(0),x=G0.concat([J0,x])}return x},X$.prototype.getPublicKey=function(I$){return K$(this._pub,I$)},X$.prototype.getPrivateKey=function(I$){return K$(this._priv,I$)},X$.prototype.getPrime=function(I$){return K$(this.__prime,I$)},X$.prototype.getGenerator=function(I$){return K$(this._gen,I$)},X$.prototype.setGenerator=function(I$,Q){return Q=Q||"utf8",G0.isBuffer(I$)||(I$=new G0(I$,Q)),this.__gen=I$,this._gen=new a0(I$),this};function K$(I$,Q){var x=new G0(I$.toArray());return Q?x.toString(Q):x}}}),SY=pQ({"node_modules/diffie-hellman/browser.js"(t0){var m0=_0(),a0=N0(),e0=MY();function r0(Q$){var $=new G0(a0[Q$].prime,"hex"),N=new G0(a0[Q$].gen,"hex");return new e0($,N)}var i0={binary:!0,hex:!0,base64:!0};function $$(Q$,$,N,Y$){return G0.isBuffer($)||i0[$]===void 0?$$(Q$,"binary",$,N):($=$||"binary",Y$=Y$||"binary",N=N||new G0([2]),G0.isBuffer(N)||(N=new G0(N,Y$)),typeof Q$=="number"?new e0(m0(Q$,N),N,!0):(G0.isBuffer(Q$)||(Q$=new G0(Q$,$)),new e0(Q$,N,!0)))}t0.DiffieHellmanGroup=t0.createDiffieHellmanGroup=t0.getDiffieHellman=r0,t0.createDiffieHellman=t0.DiffieHellman=$$}}),vY=pQ({"node_modules/bn.js/lib/bn.js"(t0,m0){(function(a0,e0){function r0(f,D$){if(!f)throw new Error(D$||"Assertion failed")}function i0(f,D$){f.super_=D$;var F0=function(){};F0.prototype=D$.prototype,f.prototype=new F0,f.prototype.constructor=f}function $$(f,D$,F0){if($$.isBN(f))return f;this.negative=0,this.words=null,this.length=0,this.red=null,f!==null&&((D$==="le"||D$==="be")&&(F0=D$,D$=10),this._init(f||0,D$||10,F0||"be"))}typeof a0=="object"?a0.exports=$$:e0.BN=$$,$$.BN=$$,$$.wordSize=26;var Q$=G0;$$.isBN=function(f){return f instanceof $$?!0:f!==null&&typeof f=="object"&&f.constructor.wordSize===$$.wordSize&&Array.isArray(f.words)},$$.max=function(f,D$){return f.cmp(D$)>0?f:D$},$$.min=function(f,D$){return f.cmp(D$)<0?f:D$},$$.prototype._init=function(f,D$,F0){if(typeof f=="number")return this._initNumber(f,D$,F0);if(typeof f=="object")return this._initArray(f,D$,F0);D$==="hex"&&(D$=16),r0(D$===(D$|0)&&D$>=2&&D$<=36),f=f.toString().replace(/\s+/g,"");var C$=0;f[0]==="-"&&(C$++,this.negative=1),C$<f.length&&(D$===16?this._parseHex(f,C$,F0):(this._parseBase(f,D$,C$),F0==="le"&&this._initArray(this.toArray(),D$,F0)))},$$.prototype._initNumber=function(f,D$,F0){f<0&&(this.negative=1,f=-f),f<67108864?(this.words=[f&67108863],this.length=1):f<4503599627370496?(this.words=[f&67108863,f/67108864&67108863],this.length=2):(r0(f<9007199254740992),this.words=[f&67108863,f/67108864&67108863,1],this.length=3),F0==="le"&&this._initArray(this.toArray(),D$,F0)},$$.prototype._initArray=function(f,D$,F0){if(r0(typeof f.length=="number"),f.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(f.length/3),this.words=new Array(this.length);for(var C$=0;C$<this.length;C$++)this.words[C$]=0;var L$,R$,P$=0;if(F0==="be")for(C$=f.length-1,L$=0;C$>=0;C$-=3)R$=f[C$]|f[C$-1]<<8|f[C$-2]<<16,this.words[L$]|=R$<<P$&67108863,this.words[L$+1]=R$>>>26-P$&67108863,P$+=24,P$>=26&&(P$-=26,L$++);else if(F0==="le")for(C$=0,L$=0;C$<f.length;C$+=3)R$=f[C$]|f[C$+1]<<8|f[C$+2]<<16,this.words[L$]|=R$<<P$&67108863,this.words[L$+1]=R$>>>26-P$&67108863,P$+=24,P$>=26&&(P$-=26,L$++);return this._strip()};function $(f,D$){var F0=f.charCodeAt(D$);if(F0>=48&&F0<=57)return F0-48;if(F0>=65&&F0<=70)return F0-55;if(F0>=97&&F0<=102)return F0-87;r0(!1,"Invalid character in "+f)}function N(f,D$,F0){var C$=$(f,F0);return F0-1>=D$&&(C$|=$(f,F0-1)<<4),C$}$$.prototype._parseHex=function(f,D$,F0){this.length=Math.ceil((f.length-D$)/6),this.words=new Array(this.length);for(var C$=0;C$<this.length;C$++)this.words[C$]=0;var L$=0,R$=0,P$;if(F0==="be")for(C$=f.length-1;C$>=D$;C$-=2)P$=N(f,D$,C$)<<L$,this.words[R$]|=P$&67108863,L$>=18?(L$-=18,R$+=1,this.words[R$]|=P$>>>26):L$+=8;else{var z$=f.length-D$;for(C$=z$%2===0?D$+1:D$;C$<f.length;C$+=2)P$=N(f,D$,C$)<<L$,this.words[R$]|=P$&67108863,L$>=18?(L$-=18,R$+=1,this.words[R$]|=P$>>>26):L$+=8}this._strip()};function Y$(f,D$,F0,C$){for(var L$=0,R$=0,P$=Math.min(f.length,F0),z$=D$;z$<P$;z$++){var M$=f.charCodeAt(z$)-48;L$*=C$,M$>=49?R$=M$-49+10:M$>=17?R$=M$-17+10:R$=M$,r0(M$>=0&&R$<C$,"Invalid character"),L$+=R$}return L$}$$.prototype._parseBase=function(f,D$,F0){this.words=[0],this.length=1;for(var C$=0,L$=1;L$<=67108863;L$*=D$)C$++;C$--,L$=L$/D$|0;for(var R$=f.length-F0,P$=R$%C$,z$=Math.min(R$,R$-P$)+F0,M$=0,S$=F0;S$<z$;S$+=C$)M$=Y$(f,S$,S$+C$,D$),this.imuln(L$),this.words[0]+M$<67108864?this.words[0]+=M$:this._iaddn(M$);if(P$!==0){var Z=1;for(M$=Y$(f,S$,f.length,D$),S$=0;S$<P$;S$++)Z*=D$;this.imuln(Z),this.words[0]+M$<67108864?this.words[0]+=M$:this._iaddn(M$)}this._strip()},$$.prototype.copy=function(f){f.words=new Array(this.length);for(var D$=0;D$<this.length;D$++)f.words[D$]=this.words[D$];f.length=this.length,f.negative=this.negative,f.red=this.red};function O0(f,D$){f.words=D$.words,f.length=D$.length,f.negative=D$.negative,f.red=D$.red}if($$.prototype._move=function(f){O0(f,this)},$$.prototype.clone=function(){var f=new $$(null);return this.copy(f),f},$$.prototype._expand=function(f){for(;this.length<f;)this.words[this.length++]=0;return this},$$.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},$$.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{$$.prototype[Symbol.for("nodejs.util.inspect.custom")]=Z$}catch{$$.prototype.inspect=Z$}else $$.prototype.inspect=Z$;function Z$(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var G$=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],V$=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],U$=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];$$.prototype.toString=function(f,D$){f=f||10,D$=D$|0||1;var F0;if(f===16||f==="hex"){F0="";for(var C$=0,L$=0,R$=0;R$<this.length;R$++){var P$=this.words[R$],z$=((P$<<C$|L$)&16777215).toString(16);L$=P$>>>24-C$&16777215,C$+=2,C$>=26&&(C$-=26,R$--),L$!==0||R$!==this.length-1?F0=G$[6-z$.length]+z$+F0:F0=z$+F0}for(L$!==0&&(F0=L$.toString(16)+F0);F0.length%D$!==0;)F0="0"+F0;return this.negative!==0&&(F0="-"+F0),F0}if(f===(f|0)&&f>=2&&f<=36){var M$=V$[f],S$=U$[f];F0="";var Z=this.clone();for(Z.negative=0;!Z.isZero();){var c=Z.modrn(S$).toString(f);Z=Z.idivn(S$),Z.isZero()?F0=c+F0:F0=G$[M$-c.length]+c+F0}for(this.isZero()&&(F0="0"+F0);F0.length%D$!==0;)F0="0"+F0;return this.negative!==0&&(F0="-"+F0),F0}r0(!1,"Base should be between 2 and 36")},$$.prototype.toNumber=function(){var f=this.words[0];return this.length===2?f+=this.words[1]*67108864:this.length===3&&this.words[2]===1?f+=4503599627370496+this.words[1]*67108864:this.length>2&&r0(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-f:f},$$.prototype.toJSON=function(){return this.toString(16,2)},Q$&&($$.prototype.toBuffer=function(f,D$){return this.toArrayLike(Q$,f,D$)}),$$.prototype.toArray=function(f,D$){return this.toArrayLike(Array,f,D$)};var X$=function(f,D$){return f.allocUnsafe?f.allocUnsafe(D$):new f(D$)};$$.prototype.toArrayLike=function(f,D$,F0){this._strip();var C$=this.byteLength(),L$=F0||Math.max(1,C$);r0(C$<=L$,"byte array longer than desired length"),r0(L$>0,"Requested array length <= 0");var R$=X$(f,L$),P$=D$==="le"?"LE":"BE";return this["_toArrayLike"+P$](R$,C$),R$},$$.prototype._toArrayLikeLE=function(f,D$){for(var F0=0,C$=0,L$=0,R$=0;L$<this.length;L$++){var P$=this.words[L$]<<R$|C$;f[F0++]=P$&255,F0<f.length&&(f[F0++]=P$>>8&255),F0<f.length&&(f[F0++]=P$>>16&255),R$===6?(F0<f.length&&(f[F0++]=P$>>24&255),C$=0,R$=0):(C$=P$>>>24,R$+=2)}if(F0<f.length)for(f[F0++]=C$;F0<f.length;)f[F0++]=0},$$.prototype._toArrayLikeBE=function(f,D$){for(var F0=f.length-1,C$=0,L$=0,R$=0;L$<this.length;L$++){var P$=this.words[L$]<<R$|C$;f[F0--]=P$&255,F0>=0&&(f[F0--]=P$>>8&255),F0>=0&&(f[F0--]=P$>>16&255),R$===6?(F0>=0&&(f[F0--]=P$>>24&255),C$=0,R$=0):(C$=P$>>>24,R$+=2)}if(F0>=0)for(f[F0--]=C$;F0>=0;)f[F0--]=0},Math.clz32?$$.prototype._countBits=function(f){return 32-Math.clz32(f)}:$$.prototype._countBits=function(f){var D$=f,F0=0;return D$>=4096&&(F0+=13,D$>>>=13),D$>=64&&(F0+=7,D$>>>=7),D$>=8&&(F0+=4,D$>>>=4),D$>=2&&(F0+=2,D$>>>=2),F0+D$},$$.prototype._zeroBits=function(f){if(f===0)return 26;var D$=f,F0=0;return(D$&8191)===0&&(F0+=13,D$>>>=13),(D$&127)===0&&(F0+=7,D$>>>=7),(D$&15)===0&&(F0+=4,D$>>>=4),(D$&3)===0&&(F0+=2,D$>>>=2),(D$&1)===0&&F0++,F0},$$.prototype.bitLength=function(){var f=this.words[this.length-1],D$=this._countBits(f);return(this.length-1)*26+D$};function K$(f){for(var D$=new Array(f.bitLength()),F0=0;F0<D$.length;F0++){var C$=F0/26|0,L$=F0%26;D$[F0]=f.words[C$]>>>L$&1}return D$}$$.prototype.zeroBits=function(){if(this.isZero())return 0;for(var f=0,D$=0;D$<this.length;D$++){var F0=this._zeroBits(this.words[D$]);if(f+=F0,F0!==26)break}return f},$$.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},$$.prototype.toTwos=function(f){return this.negative!==0?this.abs().inotn(f).iaddn(1):this.clone()},$$.prototype.fromTwos=function(f){return this.testn(f-1)?this.notn(f).iaddn(1).ineg():this.clone()},$$.prototype.isNeg=function(){return this.negative!==0},$$.prototype.neg=function(){return this.clone().ineg()},$$.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},$$.prototype.iuor=function(f){for(;this.length<f.length;)this.words[this.length++]=0;for(var D$=0;D$<f.length;D$++)this.words[D$]=this.words[D$]|f.words[D$];return this._strip()},$$.prototype.ior=function(f){return r0((this.negative|f.negative)===0),this.iuor(f)},$$.prototype.or=function(f){return this.length>f.length?this.clone().ior(f):f.clone().ior(this)},$$.prototype.uor=function(f){return this.length>f.length?this.clone().iuor(f):f.clone().iuor(this)},$$.prototype.iuand=function(f){var D$;this.length>f.length?D$=f:D$=this;for(var F0=0;F0<D$.length;F0++)this.words[F0]=this.words[F0]&f.words[F0];return this.length=D$.length,this._strip()},$$.prototype.iand=function(f){return r0((this.negative|f.negative)===0),this.iuand(f)},$$.prototype.and=function(f){return this.length>f.length?this.clone().iand(f):f.clone().iand(this)},$$.prototype.uand=function(f){return this.length>f.length?this.clone().iuand(f):f.clone().iuand(this)},$$.prototype.iuxor=function(f){var D$,F0;this.length>f.length?(D$=this,F0=f):(D$=f,F0=this);for(var C$=0;C$<F0.length;C$++)this.words[C$]=D$.words[C$]^F0.words[C$];if(this!==D$)for(;C$<D$.length;C$++)this.words[C$]=D$.words[C$];return this.length=D$.length,this._strip()},$$.prototype.ixor=function(f){return r0((this.negative|f.negative)===0),this.iuxor(f)},$$.prototype.xor=function(f){return this.length>f.length?this.clone().ixor(f):f.clone().ixor(this)},$$.prototype.uxor=function(f){return this.length>f.length?this.clone().iuxor(f):f.clone().iuxor(this)},$$.prototype.inotn=function(f){r0(typeof f=="number"&&f>=0);var D$=Math.ceil(f/26)|0,F0=f%26;this._expand(D$),F0>0&&D$--;for(var C$=0;C$<D$;C$++)this.words[C$]=~this.words[C$]&67108863;return F0>0&&(this.words[C$]=~this.words[C$]&67108863>>26-F0),this._strip()},$$.prototype.notn=function(f){return this.clone().inotn(f)},$$.prototype.setn=function(f,D$){r0(typeof f=="number"&&f>=0);var F0=f/26|0,C$=f%26;return this._expand(F0+1),D$?this.words[F0]=this.words[F0]|1<<C$:this.words[F0]=this.words[F0]&~(1<<C$),this._strip()},$$.prototype.iadd=function(f){var D$;if(this.negative!==0&&f.negative===0)return this.negative=0,D$=this.isub(f),this.negative^=1,this._normSign();if(this.negative===0&&f.negative!==0)return f.negative=0,D$=this.isub(f),f.negative=1,D$._normSign();var F0,C$;this.length>f.length?(F0=this,C$=f):(F0=f,C$=this);for(var L$=0,R$=0;R$<C$.length;R$++)D$=(F0.words[R$]|0)+(C$.words[R$]|0)+L$,this.words[R$]=D$&67108863,L$=D$>>>26;for(;L$!==0&&R$<F0.length;R$++)D$=(F0.words[R$]|0)+L$,this.words[R$]=D$&67108863,L$=D$>>>26;if(this.length=F0.length,L$!==0)this.words[this.length]=L$,this.length++;else if(F0!==this)for(;R$<F0.length;R$++)this.words[R$]=F0.words[R$];return this},$$.prototype.add=function(f){var D$;return f.negative!==0&&this.negative===0?(f.negative=0,D$=this.sub(f),f.negative^=1,D$):f.negative===0&&this.negative!==0?(this.negative=0,D$=f.sub(this),this.negative=1,D$):this.length>f.length?this.clone().iadd(f):f.clone().iadd(this)},$$.prototype.isub=function(f){if(f.negative!==0){f.negative=0;var D$=this.iadd(f);return f.negative=1,D$._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(f),this.negative=1,this._normSign();var F0=this.cmp(f);if(F0===0)return this.negative=0,this.length=1,this.words[0]=0,this;var C$,L$;F0>0?(C$=this,L$=f):(C$=f,L$=this);for(var R$=0,P$=0;P$<L$.length;P$++)D$=(C$.words[P$]|0)-(L$.words[P$]|0)+R$,R$=D$>>26,this.words[P$]=D$&67108863;for(;R$!==0&&P$<C$.length;P$++)D$=(C$.words[P$]|0)+R$,R$=D$>>26,this.words[P$]=D$&67108863;if(R$===0&&P$<C$.length&&C$!==this)for(;P$<C$.length;P$++)this.words[P$]=C$.words[P$];return this.length=Math.max(this.length,P$),C$!==this&&(this.negative=1),this._strip()},$$.prototype.sub=function(f){return this.clone().isub(f)};function I$(f,D$,F0){F0.negative=D$.negative^f.negative;var C$=f.length+D$.length|0;F0.length=C$,C$=C$-1|0;var L$=f.words[0]|0,R$=D$.words[0]|0,P$=L$*R$,z$=P$&67108863,M$=P$/67108864|0;F0.words[0]=z$;for(var S$=1;S$<C$;S$++){for(var Z=M$>>>26,c=M$&67108863,v$=Math.min(S$,D$.length-1),A0=Math.max(0,S$-f.length+1);A0<=v$;A0++){var q$=S$-A0|0;L$=f.words[q$]|0,R$=D$.words[A0]|0,P$=L$*R$+c,Z+=P$/67108864|0,c=P$&67108863}F0.words[S$]=c|0,M$=Z|0}return M$!==0?F0.words[S$]=M$|0:F0.length--,F0._strip()}var Q=function(f,D$,F0){var C$=f.words,L$=D$.words,R$=F0.words,P$=0,z$,M$,S$,Z=C$[0]|0,c=Z&8191,v$=Z>>>13,A0=C$[1]|0,q$=A0&8191,j$=A0>>>13,k$=C$[2]|0,g$=k$&8191,_$=k$>>>13,N$=C$[3]|0,x$=N$&8191,G=N$>>>13,B=C$[4]|0,B$=B&8191,H0=B>>>13,y$=C$[5]|0,w$=y$&8191,p$=y$>>>13,f$=C$[6]|0,c$=f$&8191,h$=f$>>>13,d$=C$[7]|0,V=d$&8191,h=d$>>>13,W0=C$[8]|0,E0=W0&8191,b$=W0>>>13,l$=C$[9]|0,o$=l$&8191,u$=l$>>>13,n$=L$[0]|0,s$=n$&8191,t$=n$>>>13,U=L$[1]|0,d=U&8191,m$=U>>>13,T0=L$[2]|0,a$=T0&8191,e$=T0>>>13,r$=L$[3]|0,i$=r$&8191,$Q=r$>>>13,QQ=L$[4]|0,YQ=QQ&8191,X=QQ>>>13,b=L$[5]|0,ZQ=b&8191,D0=b>>>13,GQ=L$[6]|0,VQ=GQ&8191,UQ=GQ>>>13,XQ=L$[7]|0,KQ=XQ&8191,IQ=XQ>>>13,OQ=L$[8]|0,K=OQ&8191,l=OQ>>>13,JQ=L$[9]|0,C0=JQ&8191,FQ=JQ>>>13;F0.negative=f.negative^D$.negative,F0.length=19,z$=Math.imul(c,s$),M$=Math.imul(c,t$),M$=M$+Math.imul(v$,s$)|0,S$=Math.imul(v$,t$);var AQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(AQ>>>26)|0,AQ&=67108863,z$=Math.imul(q$,s$),M$=Math.imul(q$,t$),M$=M$+Math.imul(j$,s$)|0,S$=Math.imul(j$,t$),z$=z$+Math.imul(c,d)|0,M$=M$+Math.imul(c,m$)|0,M$=M$+Math.imul(v$,d)|0,S$=S$+Math.imul(v$,m$)|0;var HQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(HQ>>>26)|0,HQ&=67108863,z$=Math.imul(g$,s$),M$=Math.imul(g$,t$),M$=M$+Math.imul(_$,s$)|0,S$=Math.imul(_$,t$),z$=z$+Math.imul(q$,d)|0,M$=M$+Math.imul(q$,m$)|0,M$=M$+Math.imul(j$,d)|0,S$=S$+Math.imul(j$,m$)|0,z$=z$+Math.imul(c,a$)|0,M$=M$+Math.imul(c,e$)|0,M$=M$+Math.imul(v$,a$)|0,S$=S$+Math.imul(v$,e$)|0;var WQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(WQ>>>26)|0,WQ&=67108863,z$=Math.imul(x$,s$),M$=Math.imul(x$,t$),M$=M$+Math.imul(G,s$)|0,S$=Math.imul(G,t$),z$=z$+Math.imul(g$,d)|0,M$=M$+Math.imul(g$,m$)|0,M$=M$+Math.imul(_$,d)|0,S$=S$+Math.imul(_$,m$)|0,z$=z$+Math.imul(q$,a$)|0,M$=M$+Math.imul(q$,e$)|0,M$=M$+Math.imul(j$,a$)|0,S$=S$+Math.imul(j$,e$)|0,z$=z$+Math.imul(c,i$)|0,M$=M$+Math.imul(c,$Q)|0,M$=M$+Math.imul(v$,i$)|0,S$=S$+Math.imul(v$,$Q)|0;var EQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(EQ>>>26)|0,EQ&=67108863,z$=Math.imul(B$,s$),M$=Math.imul(B$,t$),M$=M$+Math.imul(H0,s$)|0,S$=Math.imul(H0,t$),z$=z$+Math.imul(x$,d)|0,M$=M$+Math.imul(x$,m$)|0,M$=M$+Math.imul(G,d)|0,S$=S$+Math.imul(G,m$)|0,z$=z$+Math.imul(g$,a$)|0,M$=M$+Math.imul(g$,e$)|0,M$=M$+Math.imul(_$,a$)|0,S$=S$+Math.imul(_$,e$)|0,z$=z$+Math.imul(q$,i$)|0,M$=M$+Math.imul(q$,$Q)|0,M$=M$+Math.imul(j$,i$)|0,S$=S$+Math.imul(j$,$Q)|0,z$=z$+Math.imul(c,YQ)|0,M$=M$+Math.imul(c,X)|0,M$=M$+Math.imul(v$,YQ)|0,S$=S$+Math.imul(v$,X)|0;var TQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(TQ>>>26)|0,TQ&=67108863,z$=Math.imul(w$,s$),M$=Math.imul(w$,t$),M$=M$+Math.imul(p$,s$)|0,S$=Math.imul(p$,t$),z$=z$+Math.imul(B$,d)|0,M$=M$+Math.imul(B$,m$)|0,M$=M$+Math.imul(H0,d)|0,S$=S$+Math.imul(H0,m$)|0,z$=z$+Math.imul(x$,a$)|0,M$=M$+Math.imul(x$,e$)|0,M$=M$+Math.imul(G,a$)|0,S$=S$+Math.imul(G,e$)|0,z$=z$+Math.imul(g$,i$)|0,M$=M$+Math.imul(g$,$Q)|0,M$=M$+Math.imul(_$,i$)|0,S$=S$+Math.imul(_$,$Q)|0,z$=z$+Math.imul(q$,YQ)|0,M$=M$+Math.imul(q$,X)|0,M$=M$+Math.imul(j$,YQ)|0,S$=S$+Math.imul(j$,X)|0,z$=z$+Math.imul(c,ZQ)|0,M$=M$+Math.imul(c,D0)|0,M$=M$+Math.imul(v$,ZQ)|0,S$=S$+Math.imul(v$,D0)|0;var DQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(DQ>>>26)|0,DQ&=67108863,z$=Math.imul(c$,s$),M$=Math.imul(c$,t$),M$=M$+Math.imul(h$,s$)|0,S$=Math.imul(h$,t$),z$=z$+Math.imul(w$,d)|0,M$=M$+Math.imul(w$,m$)|0,M$=M$+Math.imul(p$,d)|0,S$=S$+Math.imul(p$,m$)|0,z$=z$+Math.imul(B$,a$)|0,M$=M$+Math.imul(B$,e$)|0,M$=M$+Math.imul(H0,a$)|0,S$=S$+Math.imul(H0,e$)|0,z$=z$+Math.imul(x$,i$)|0,M$=M$+Math.imul(x$,$Q)|0,M$=M$+Math.imul(G,i$)|0,S$=S$+Math.imul(G,$Q)|0,z$=z$+Math.imul(g$,YQ)|0,M$=M$+Math.imul(g$,X)|0,M$=M$+Math.imul(_$,YQ)|0,S$=S$+Math.imul(_$,X)|0,z$=z$+Math.imul(q$,ZQ)|0,M$=M$+Math.imul(q$,D0)|0,M$=M$+Math.imul(j$,ZQ)|0,S$=S$+Math.imul(j$,D0)|0,z$=z$+Math.imul(c,VQ)|0,M$=M$+Math.imul(c,UQ)|0,M$=M$+Math.imul(v$,VQ)|0,S$=S$+Math.imul(v$,UQ)|0;var I=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(I>>>26)|0,I&=67108863,z$=Math.imul(V,s$),M$=Math.imul(V,t$),M$=M$+Math.imul(h,s$)|0,S$=Math.imul(h,t$),z$=z$+Math.imul(c$,d)|0,M$=M$+Math.imul(c$,m$)|0,M$=M$+Math.imul(h$,d)|0,S$=S$+Math.imul(h$,m$)|0,z$=z$+Math.imul(w$,a$)|0,M$=M$+Math.imul(w$,e$)|0,M$=M$+Math.imul(p$,a$)|0,S$=S$+Math.imul(p$,e$)|0,z$=z$+Math.imul(B$,i$)|0,M$=M$+Math.imul(B$,$Q)|0,M$=M$+Math.imul(H0,i$)|0,S$=S$+Math.imul(H0,$Q)|0,z$=z$+Math.imul(x$,YQ)|0,M$=M$+Math.imul(x$,X)|0,M$=M$+Math.imul(G,YQ)|0,S$=S$+Math.imul(G,X)|0,z$=z$+Math.imul(g$,ZQ)|0,M$=M$+Math.imul(g$,D0)|0,M$=M$+Math.imul(_$,ZQ)|0,S$=S$+Math.imul(_$,D0)|0,z$=z$+Math.imul(q$,VQ)|0,M$=M$+Math.imul(q$,UQ)|0,M$=M$+Math.imul(j$,VQ)|0,S$=S$+Math.imul(j$,UQ)|0,z$=z$+Math.imul(c,KQ)|0,M$=M$+Math.imul(c,IQ)|0,M$=M$+Math.imul(v$,KQ)|0,S$=S$+Math.imul(v$,IQ)|0;var o=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(o>>>26)|0,o&=67108863,z$=Math.imul(E0,s$),M$=Math.imul(E0,t$),M$=M$+Math.imul(b$,s$)|0,S$=Math.imul(b$,t$),z$=z$+Math.imul(V,d)|0,M$=M$+Math.imul(V,m$)|0,M$=M$+Math.imul(h,d)|0,S$=S$+Math.imul(h,m$)|0,z$=z$+Math.imul(c$,a$)|0,M$=M$+Math.imul(c$,e$)|0,M$=M$+Math.imul(h$,a$)|0,S$=S$+Math.imul(h$,e$)|0,z$=z$+Math.imul(w$,i$)|0,M$=M$+Math.imul(w$,$Q)|0,M$=M$+Math.imul(p$,i$)|0,S$=S$+Math.imul(p$,$Q)|0,z$=z$+Math.imul(B$,YQ)|0,M$=M$+Math.imul(B$,X)|0,M$=M$+Math.imul(H0,YQ)|0,S$=S$+Math.imul(H0,X)|0,z$=z$+Math.imul(x$,ZQ)|0,M$=M$+Math.imul(x$,D0)|0,M$=M$+Math.imul(G,ZQ)|0,S$=S$+Math.imul(G,D0)|0,z$=z$+Math.imul(g$,VQ)|0,M$=M$+Math.imul(g$,UQ)|0,M$=M$+Math.imul(_$,VQ)|0,S$=S$+Math.imul(_$,UQ)|0,z$=z$+Math.imul(q$,KQ)|0,M$=M$+Math.imul(q$,IQ)|0,M$=M$+Math.imul(j$,KQ)|0,S$=S$+Math.imul(j$,IQ)|0,z$=z$+Math.imul(c,K)|0,M$=M$+Math.imul(c,l)|0,M$=M$+Math.imul(v$,K)|0,S$=S$+Math.imul(v$,l)|0;var CQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(CQ>>>26)|0,CQ&=67108863,z$=Math.imul(o$,s$),M$=Math.imul(o$,t$),M$=M$+Math.imul(u$,s$)|0,S$=Math.imul(u$,t$),z$=z$+Math.imul(E0,d)|0,M$=M$+Math.imul(E0,m$)|0,M$=M$+Math.imul(b$,d)|0,S$=S$+Math.imul(b$,m$)|0,z$=z$+Math.imul(V,a$)|0,M$=M$+Math.imul(V,e$)|0,M$=M$+Math.imul(h,a$)|0,S$=S$+Math.imul(h,e$)|0,z$=z$+Math.imul(c$,i$)|0,M$=M$+Math.imul(c$,$Q)|0,M$=M$+Math.imul(h$,i$)|0,S$=S$+Math.imul(h$,$Q)|0,z$=z$+Math.imul(w$,YQ)|0,M$=M$+Math.imul(w$,X)|0,M$=M$+Math.imul(p$,YQ)|0,S$=S$+Math.imul(p$,X)|0,z$=z$+Math.imul(B$,ZQ)|0,M$=M$+Math.imul(B$,D0)|0,M$=M$+Math.imul(H0,ZQ)|0,S$=S$+Math.imul(H0,D0)|0,z$=z$+Math.imul(x$,VQ)|0,M$=M$+Math.imul(x$,UQ)|0,M$=M$+Math.imul(G,VQ)|0,S$=S$+Math.imul(G,UQ)|0,z$=z$+Math.imul(g$,KQ)|0,M$=M$+Math.imul(g$,IQ)|0,M$=M$+Math.imul(_$,KQ)|0,S$=S$+Math.imul(_$,IQ)|0,z$=z$+Math.imul(q$,K)|0,M$=M$+Math.imul(q$,l)|0,M$=M$+Math.imul(j$,K)|0,S$=S$+Math.imul(j$,l)|0,z$=z$+Math.imul(c,C0)|0,M$=M$+Math.imul(c,FQ)|0,M$=M$+Math.imul(v$,C0)|0,S$=S$+Math.imul(v$,FQ)|0;var L0=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(L0>>>26)|0,L0&=67108863,z$=Math.imul(o$,d),M$=Math.imul(o$,m$),M$=M$+Math.imul(u$,d)|0,S$=Math.imul(u$,m$),z$=z$+Math.imul(E0,a$)|0,M$=M$+Math.imul(E0,e$)|0,M$=M$+Math.imul(b$,a$)|0,S$=S$+Math.imul(b$,e$)|0,z$=z$+Math.imul(V,i$)|0,M$=M$+Math.imul(V,$Q)|0,M$=M$+Math.imul(h,i$)|0,S$=S$+Math.imul(h,$Q)|0,z$=z$+Math.imul(c$,YQ)|0,M$=M$+Math.imul(c$,X)|0,M$=M$+Math.imul(h$,YQ)|0,S$=S$+Math.imul(h$,X)|0,z$=z$+Math.imul(w$,ZQ)|0,M$=M$+Math.imul(w$,D0)|0,M$=M$+Math.imul(p$,ZQ)|0,S$=S$+Math.imul(p$,D0)|0,z$=z$+Math.imul(B$,VQ)|0,M$=M$+Math.imul(B$,UQ)|0,M$=M$+Math.imul(H0,VQ)|0,S$=S$+Math.imul(H0,UQ)|0,z$=z$+Math.imul(x$,KQ)|0,M$=M$+Math.imul(x$,IQ)|0,M$=M$+Math.imul(G,KQ)|0,S$=S$+Math.imul(G,IQ)|0,z$=z$+Math.imul(g$,K)|0,M$=M$+Math.imul(g$,l)|0,M$=M$+Math.imul(_$,K)|0,S$=S$+Math.imul(_$,l)|0,z$=z$+Math.imul(q$,C0)|0,M$=M$+Math.imul(q$,FQ)|0,M$=M$+Math.imul(j$,C0)|0,S$=S$+Math.imul(j$,FQ)|0;var LQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(LQ>>>26)|0,LQ&=67108863,z$=Math.imul(o$,a$),M$=Math.imul(o$,e$),M$=M$+Math.imul(u$,a$)|0,S$=Math.imul(u$,e$),z$=z$+Math.imul(E0,i$)|0,M$=M$+Math.imul(E0,$Q)|0,M$=M$+Math.imul(b$,i$)|0,S$=S$+Math.imul(b$,$Q)|0,z$=z$+Math.imul(V,YQ)|0,M$=M$+Math.imul(V,X)|0,M$=M$+Math.imul(h,YQ)|0,S$=S$+Math.imul(h,X)|0,z$=z$+Math.imul(c$,ZQ)|0,M$=M$+Math.imul(c$,D0)|0,M$=M$+Math.imul(h$,ZQ)|0,S$=S$+Math.imul(h$,D0)|0,z$=z$+Math.imul(w$,VQ)|0,M$=M$+Math.imul(w$,UQ)|0,M$=M$+Math.imul(p$,VQ)|0,S$=S$+Math.imul(p$,UQ)|0,z$=z$+Math.imul(B$,KQ)|0,M$=M$+Math.imul(B$,IQ)|0,M$=M$+Math.imul(H0,KQ)|0,S$=S$+Math.imul(H0,IQ)|0,z$=z$+Math.imul(x$,K)|0,M$=M$+Math.imul(x$,l)|0,M$=M$+Math.imul(G,K)|0,S$=S$+Math.imul(G,l)|0,z$=z$+Math.imul(g$,C0)|0,M$=M$+Math.imul(g$,FQ)|0,M$=M$+Math.imul(_$,C0)|0,S$=S$+Math.imul(_$,FQ)|0;var RQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(RQ>>>26)|0,RQ&=67108863,z$=Math.imul(o$,i$),M$=Math.imul(o$,$Q),M$=M$+Math.imul(u$,i$)|0,S$=Math.imul(u$,$Q),z$=z$+Math.imul(E0,YQ)|0,M$=M$+Math.imul(E0,X)|0,M$=M$+Math.imul(b$,YQ)|0,S$=S$+Math.imul(b$,X)|0,z$=z$+Math.imul(V,ZQ)|0,M$=M$+Math.imul(V,D0)|0,M$=M$+Math.imul(h,ZQ)|0,S$=S$+Math.imul(h,D0)|0,z$=z$+Math.imul(c$,VQ)|0,M$=M$+Math.imul(c$,UQ)|0,M$=M$+Math.imul(h$,VQ)|0,S$=S$+Math.imul(h$,UQ)|0,z$=z$+Math.imul(w$,KQ)|0,M$=M$+Math.imul(w$,IQ)|0,M$=M$+Math.imul(p$,KQ)|0,S$=S$+Math.imul(p$,IQ)|0,z$=z$+Math.imul(B$,K)|0,M$=M$+Math.imul(B$,l)|0,M$=M$+Math.imul(H0,K)|0,S$=S$+Math.imul(H0,l)|0,z$=z$+Math.imul(x$,C0)|0,M$=M$+Math.imul(x$,FQ)|0,M$=M$+Math.imul(G,C0)|0,S$=S$+Math.imul(G,FQ)|0;var PQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(PQ>>>26)|0,PQ&=67108863,z$=Math.imul(o$,YQ),M$=Math.imul(o$,X),M$=M$+Math.imul(u$,YQ)|0,S$=Math.imul(u$,X),z$=z$+Math.imul(E0,ZQ)|0,M$=M$+Math.imul(E0,D0)|0,M$=M$+Math.imul(b$,ZQ)|0,S$=S$+Math.imul(b$,D0)|0,z$=z$+Math.imul(V,VQ)|0,M$=M$+Math.imul(V,UQ)|0,M$=M$+Math.imul(h,VQ)|0,S$=S$+Math.imul(h,UQ)|0,z$=z$+Math.imul(c$,KQ)|0,M$=M$+Math.imul(c$,IQ)|0,M$=M$+Math.imul(h$,KQ)|0,S$=S$+Math.imul(h$,IQ)|0,z$=z$+Math.imul(w$,K)|0,M$=M$+Math.imul(w$,l)|0,M$=M$+Math.imul(p$,K)|0,S$=S$+Math.imul(p$,l)|0,z$=z$+Math.imul(B$,C0)|0,M$=M$+Math.imul(B$,FQ)|0,M$=M$+Math.imul(H0,C0)|0,S$=S$+Math.imul(H0,FQ)|0;var zQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(zQ>>>26)|0,zQ&=67108863,z$=Math.imul(o$,ZQ),M$=Math.imul(o$,D0),M$=M$+Math.imul(u$,ZQ)|0,S$=Math.imul(u$,D0),z$=z$+Math.imul(E0,VQ)|0,M$=M$+Math.imul(E0,UQ)|0,M$=M$+Math.imul(b$,VQ)|0,S$=S$+Math.imul(b$,UQ)|0,z$=z$+Math.imul(V,KQ)|0,M$=M$+Math.imul(V,IQ)|0,M$=M$+Math.imul(h,KQ)|0,S$=S$+Math.imul(h,IQ)|0,z$=z$+Math.imul(c$,K)|0,M$=M$+Math.imul(c$,l)|0,M$=M$+Math.imul(h$,K)|0,S$=S$+Math.imul(h$,l)|0,z$=z$+Math.imul(w$,C0)|0,M$=M$+Math.imul(w$,FQ)|0,M$=M$+Math.imul(p$,C0)|0,S$=S$+Math.imul(p$,FQ)|0;var MQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(MQ>>>26)|0,MQ&=67108863,z$=Math.imul(o$,VQ),M$=Math.imul(o$,UQ),M$=M$+Math.imul(u$,VQ)|0,S$=Math.imul(u$,UQ),z$=z$+Math.imul(E0,KQ)|0,M$=M$+Math.imul(E0,IQ)|0,M$=M$+Math.imul(b$,KQ)|0,S$=S$+Math.imul(b$,IQ)|0,z$=z$+Math.imul(V,K)|0,M$=M$+Math.imul(V,l)|0,M$=M$+Math.imul(h,K)|0,S$=S$+Math.imul(h,l)|0,z$=z$+Math.imul(c$,C0)|0,M$=M$+Math.imul(c$,FQ)|0,M$=M$+Math.imul(h$,C0)|0,S$=S$+Math.imul(h$,FQ)|0;var SQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(SQ>>>26)|0,SQ&=67108863,z$=Math.imul(o$,KQ),M$=Math.imul(o$,IQ),M$=M$+Math.imul(u$,KQ)|0,S$=Math.imul(u$,IQ),z$=z$+Math.imul(E0,K)|0,M$=M$+Math.imul(E0,l)|0,M$=M$+Math.imul(b$,K)|0,S$=S$+Math.imul(b$,l)|0,z$=z$+Math.imul(V,C0)|0,M$=M$+Math.imul(V,FQ)|0,M$=M$+Math.imul(h,C0)|0,S$=S$+Math.imul(h,FQ)|0;var vQ=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(vQ>>>26)|0,vQ&=67108863,z$=Math.imul(o$,K),M$=Math.imul(o$,l),M$=M$+Math.imul(u$,K)|0,S$=Math.imul(u$,l),z$=z$+Math.imul(E0,C0)|0,M$=M$+Math.imul(E0,FQ)|0,M$=M$+Math.imul(b$,C0)|0,S$=S$+Math.imul(b$,FQ)|0;var O=(P$+z$|0)+((M$&8191)<<13)|0;P$=(S$+(M$>>>13)|0)+(O>>>26)|0,O&=67108863,z$=Math.imul(o$,C0),M$=Math.imul(o$,FQ),M$=M$+Math.imul(u$,C0)|0,S$=Math.imul(u$,FQ);var g=(P$+z$|0)+((M$&8191)<<13)|0;return P$=(S$+(M$>>>13)|0)+(g>>>26)|0,g&=67108863,R$[0]=AQ,R$[1]=HQ,R$[2]=WQ,R$[3]=EQ,R$[4]=TQ,R$[5]=DQ,R$[6]=I,R$[7]=o,R$[8]=CQ,R$[9]=L0,R$[10]=LQ,R$[11]=RQ,R$[12]=PQ,R$[13]=zQ,R$[14]=MQ,R$[15]=SQ,R$[16]=vQ,R$[17]=O,R$[18]=g,P$!==0&&(R$[19]=P$,F0.length++),F0};Math.imul||(Q=I$);function x(f,D$,F0){F0.negative=D$.negative^f.negative,F0.length=f.length+D$.length;for(var C$=0,L$=0,R$=0;R$<F0.length-1;R$++){var P$=L$;L$=0;for(var z$=C$&67108863,M$=Math.min(R$,D$.length-1),S$=Math.max(0,R$-f.length+1);S$<=M$;S$++){var Z=R$-S$,c=f.words[Z]|0,v$=D$.words[S$]|0,A0=c*v$,q$=A0&67108863;P$=P$+(A0/67108864|0)|0,q$=q$+z$|0,z$=q$&67108863,P$=P$+(q$>>>26)|0,L$+=P$>>>26,P$&=67108863}F0.words[R$]=z$,C$=P$,P$=L$}return C$!==0?F0.words[R$]=C$:F0.length--,F0._strip()}function O$(f,D$,F0){return x(f,D$,F0)}$$.prototype.mulTo=function(f,D$){var F0,C$=this.length+f.length;return this.length===10&&f.length===10?F0=Q(this,f,D$):C$<63?F0=I$(this,f,D$):C$<1024?F0=x(this,f,D$):F0=O$(this,f,D$),F0};function J0(f,D$){this.x=f,this.y=D$}J0.prototype.makeRBT=function(f){for(var D$=new Array(f),F0=$$.prototype._countBits(f)-1,C$=0;C$<f;C$++)D$[C$]=this.revBin(C$,F0,f);return D$},J0.prototype.revBin=function(f,D$,F0){if(f===0||f===F0-1)return f;for(var C$=0,L$=0;L$<D$;L$++)C$|=(f&1)<<D$-L$-1,f>>=1;return C$},J0.prototype.permute=function(f,D$,F0,C$,L$,R$){for(var P$=0;P$<R$;P$++)C$[P$]=D$[f[P$]],L$[P$]=F0[f[P$]]},J0.prototype.transform=function(f,D$,F0,C$,L$,R$){this.permute(R$,f,D$,F0,C$,L$);for(var P$=1;P$<L$;P$<<=1)for(var z$=P$<<1,M$=Math.cos(2*Math.PI/z$),S$=Math.sin(2*Math.PI/z$),Z=0;Z<L$;Z+=z$)for(var c=M$,v$=S$,A0=0;A0<P$;A0++){var q$=F0[Z+A0],j$=C$[Z+A0],k$=F0[Z+A0+P$],g$=C$[Z+A0+P$],_$=c*k$-v$*g$;g$=c*g$+v$*k$,k$=_$,F0[Z+A0]=q$+k$,C$[Z+A0]=j$+g$,F0[Z+A0+P$]=q$-k$,C$[Z+A0+P$]=j$-g$,A0!==z$&&(_$=M$*c-S$*v$,v$=M$*v$+S$*c,c=_$)}},J0.prototype.guessLen13b=function(f,D$){var F0=Math.max(D$,f)|1,C$=F0&1,L$=0;for(F0=F0/2|0;F0;F0=F0>>>1)L$++;return 1<<L$+1+C$},J0.prototype.conjugate=function(f,D$,F0){if(!(F0<=1))for(var C$=0;C$<F0/2;C$++){var L$=f[C$];f[C$]=f[F0-C$-1],f[F0-C$-1]=L$,L$=D$[C$],D$[C$]=-D$[F0-C$-1],D$[F0-C$-1]=-L$}},J0.prototype.normalize13b=function(f,D$){for(var F0=0,C$=0;C$<D$/2;C$++){var L$=Math.round(f[2*C$+1]/D$)*8192+Math.round(f[2*C$]/D$)+F0;f[C$]=L$&67108863,L$<67108864?F0=0:F0=L$/67108864|0}return f},J0.prototype.convert13b=function(f,D$,F0,C$){for(var L$=0,R$=0;R$<D$;R$++)L$=L$+(f[R$]|0),F0[2*R$]=L$&8191,L$=L$>>>13,F0[2*R$+1]=L$&8191,L$=L$>>>13;for(R$=2*D$;R$<C$;++R$)F0[R$]=0;r0(L$===0),r0((L$&-8192)===0)},J0.prototype.stub=function(f){for(var D$=new Array(f),F0=0;F0<f;F0++)D$[F0]=0;return D$},J0.prototype.mulp=function(f,D$,F0){var C$=2*this.guessLen13b(f.length,D$.length),L$=this.makeRBT(C$),R$=this.stub(C$),P$=new Array(C$),z$=new Array(C$),M$=new Array(C$),S$=new Array(C$),Z=new Array(C$),c=new Array(C$),v$=F0.words;v$.length=C$,this.convert13b(f.words,f.length,P$,C$),this.convert13b(D$.words,D$.length,S$,C$),this.transform(P$,R$,z$,M$,C$,L$),this.transform(S$,R$,Z,c,C$,L$);for(var A0=0;A0<C$;A0++){var q$=z$[A0]*Z[A0]-M$[A0]*c[A0];M$[A0]=z$[A0]*c[A0]+M$[A0]*Z[A0],z$[A0]=q$}return this.conjugate(z$,M$,C$),this.transform(z$,M$,v$,R$,C$,L$),this.conjugate(v$,R$,C$),this.normalize13b(v$,C$),F0.negative=f.negative^D$.negative,F0.length=f.length+D$.length,F0._strip()},$$.prototype.mul=function(f){var D$=new $$(null);return D$.words=new Array(this.length+f.length),this.mulTo(f,D$)},$$.prototype.mulf=function(f){var D$=new $$(null);return D$.words=new Array(this.length+f.length),O$(this,f,D$)},$$.prototype.imul=function(f){return this.clone().mulTo(f,this)},$$.prototype.imuln=function(f){var D$=f<0;D$&&(f=-f),r0(typeof f=="number"),r0(f<67108864);for(var F0=0,C$=0;C$<this.length;C$++){var L$=(this.words[C$]|0)*f,R$=(L$&67108863)+(F0&67108863);F0>>=26,F0+=L$/67108864|0,F0+=R$>>>26,this.words[C$]=R$&67108863}return F0!==0&&(this.words[C$]=F0,this.length++),D$?this.ineg():this},$$.prototype.muln=function(f){return this.clone().imuln(f)},$$.prototype.sqr=function(){return this.mul(this)},$$.prototype.isqr=function(){return this.imul(this.clone())},$$.prototype.pow=function(f){var D$=K$(f);if(D$.length===0)return new $$(1);for(var F0=this,C$=0;C$<D$.length&&D$[C$]===0;C$++,F0=F0.sqr());if(++C$<D$.length)for(var L$=F0.sqr();C$<D$.length;C$++,L$=L$.sqr())D$[C$]!==0&&(F0=F0.mul(L$));return F0},$$.prototype.iushln=function(f){r0(typeof f=="number"&&f>=0);var D$=f%26,F0=(f-D$)/26,C$=67108863>>>26-D$<<26-D$,L$;if(D$!==0){var R$=0;for(L$=0;L$<this.length;L$++){var P$=this.words[L$]&C$,z$=(this.words[L$]|0)-P$<<D$;this.words[L$]=z$|R$,R$=P$>>>26-D$}R$&&(this.words[L$]=R$,this.length++)}if(F0!==0){for(L$=this.length-1;L$>=0;L$--)this.words[L$+F0]=this.words[L$];for(L$=0;L$<F0;L$++)this.words[L$]=0;this.length+=F0}return this._strip()},$$.prototype.ishln=function(f){return r0(this.negative===0),this.iushln(f)},$$.prototype.iushrn=function(f,D$,F0){r0(typeof f=="number"&&f>=0);var C$;D$?C$=(D$-D$%26)/26:C$=0;var L$=f%26,R$=Math.min((f-L$)/26,this.length),P$=67108863^67108863>>>L$<<L$,z$=F0;if(C$-=R$,C$=Math.max(0,C$),z$){for(var M$=0;M$<R$;M$++)z$.words[M$]=this.words[M$];z$.length=R$}if(R$!==0)if(this.length>R$)for(this.length-=R$,M$=0;M$<this.length;M$++)this.words[M$]=this.words[M$+R$];else this.words[0]=0,this.length=1;var S$=0;for(M$=this.length-1;M$>=0&&(S$!==0||M$>=C$);M$--){var Z=this.words[M$]|0;this.words[M$]=S$<<26-L$|Z>>>L$,S$=Z&P$}return z$&&S$!==0&&(z$.words[z$.length++]=S$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},$$.prototype.ishrn=function(f,D$,F0){return r0(this.negative===0),this.iushrn(f,D$,F0)},$$.prototype.shln=function(f){return this.clone().ishln(f)},$$.prototype.ushln=function(f){return this.clone().iushln(f)},$$.prototype.shrn=function(f){return this.clone().ishrn(f)},$$.prototype.ushrn=function(f){return this.clone().iushrn(f)},$$.prototype.testn=function(f){r0(typeof f=="number"&&f>=0);var D$=f%26,F0=(f-D$)/26,C$=1<<D$;if(this.length<=F0)return!1;var L$=this.words[F0];return!!(L$&C$)},$$.prototype.imaskn=function(f){r0(typeof f=="number"&&f>=0);var D$=f%26,F0=(f-D$)/26;if(r0(this.negative===0,"imaskn works only with positive numbers"),this.length<=F0)return this;if(D$!==0&&F0++,this.length=Math.min(F0,this.length),D$!==0){var C$=67108863^67108863>>>D$<<D$;this.words[this.length-1]&=C$}return this._strip()},$$.prototype.maskn=function(f){return this.clone().imaskn(f)},$$.prototype.iaddn=function(f){return r0(typeof f=="number"),r0(f<67108864),f<0?this.isubn(-f):this.negative!==0?this.length===1&&(this.words[0]|0)<=f?(this.words[0]=f-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(f),this.negative=1,this):this._iaddn(f)},$$.prototype._iaddn=function(f){this.words[0]+=f;for(var D$=0;D$<this.length&&this.words[D$]>=67108864;D$++)this.words[D$]-=67108864,D$===this.length-1?this.words[D$+1]=1:this.words[D$+1]++;return this.length=Math.max(this.length,D$+1),this},$$.prototype.isubn=function(f){if(r0(typeof f=="number"),r0(f<67108864),f<0)return this.iaddn(-f);if(this.negative!==0)return this.negative=0,this.iaddn(f),this.negative=1,this;if(this.words[0]-=f,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var D$=0;D$<this.length&&this.words[D$]<0;D$++)this.words[D$]+=67108864,this.words[D$+1]-=1;return this._strip()},$$.prototype.addn=function(f){return this.clone().iaddn(f)},$$.prototype.subn=function(f){return this.clone().isubn(f)},$$.prototype.iabs=function(){return this.negative=0,this},$$.prototype.abs=function(){return this.clone().iabs()},$$.prototype._ishlnsubmul=function(f,D$,F0){var C$=f.length+F0,L$;this._expand(C$);var R$,P$=0;for(L$=0;L$<f.length;L$++){R$=(this.words[L$+F0]|0)+P$;var z$=(f.words[L$]|0)*D$;R$-=z$&67108863,P$=(R$>>26)-(z$/67108864|0),this.words[L$+F0]=R$&67108863}for(;L$<this.length-F0;L$++)R$=(this.words[L$+F0]|0)+P$,P$=R$>>26,this.words[L$+F0]=R$&67108863;if(P$===0)return this._strip();for(r0(P$===-1),P$=0,L$=0;L$<this.length;L$++)R$=-(this.words[L$]|0)+P$,P$=R$>>26,this.words[L$]=R$&67108863;return this.negative=1,this._strip()},$$.prototype._wordDiv=function(f,D$){var F0=this.length-f.length,C$=this.clone(),L$=f,R$=L$.words[L$.length-1]|0,P$=this._countBits(R$);F0=26-P$,F0!==0&&(L$=L$.ushln(F0),C$.iushln(F0),R$=L$.words[L$.length-1]|0);var z$=C$.length-L$.length,M$;if(D$!=="mod"){M$=new $$(null),M$.length=z$+1,M$.words=new Array(M$.length);for(var S$=0;S$<M$.length;S$++)M$.words[S$]=0}var Z=C$.clone()._ishlnsubmul(L$,1,z$);Z.negative===0&&(C$=Z,M$&&(M$.words[z$]=1));for(var c=z$-1;c>=0;c--){var v$=(C$.words[L$.length+c]|0)*67108864+(C$.words[L$.length+c-1]|0);for(v$=Math.min(v$/R$|0,67108863),C$._ishlnsubmul(L$,v$,c);C$.negative!==0;)v$--,C$.negative=0,C$._ishlnsubmul(L$,1,c),C$.isZero()||(C$.negative^=1);M$&&(M$.words[c]=v$)}return M$&&M$._strip(),C$._strip(),D$!=="div"&&F0!==0&&C$.iushrn(F0),{div:M$||null,mod:C$}},$$.prototype.divmod=function(f,D$,F0){if(r0(!f.isZero()),this.isZero())return{div:new $$(0),mod:new $$(0)};var C$,L$,R$;return this.negative!==0&&f.negative===0?(R$=this.neg().divmod(f,D$),D$!=="mod"&&(C$=R$.div.neg()),D$!=="div"&&(L$=R$.mod.neg(),F0&&L$.negative!==0&&L$.iadd(f)),{div:C$,mod:L$}):this.negative===0&&f.negative!==0?(R$=this.divmod(f.neg(),D$),D$!=="mod"&&(C$=R$.div.neg()),{div:C$,mod:R$.mod}):(this.negative&f.negative)!==0?(R$=this.neg().divmod(f.neg(),D$),D$!=="div"&&(L$=R$.mod.neg(),F0&&L$.negative!==0&&L$.isub(f)),{div:R$.div,mod:L$}):f.length>this.length||this.cmp(f)<0?{div:new $$(0),mod:this}:f.length===1?D$==="div"?{div:this.divn(f.words[0]),mod:null}:D$==="mod"?{div:null,mod:new $$(this.modrn(f.words[0]))}:{div:this.divn(f.words[0]),mod:new $$(this.modrn(f.words[0]))}:this._wordDiv(f,D$)},$$.prototype.div=function(f){return this.divmod(f,"div",!1).div},$$.prototype.mod=function(f){return this.divmod(f,"mod",!1).mod},$$.prototype.umod=function(f){return this.divmod(f,"mod",!0).mod},$$.prototype.divRound=function(f){var D$=this.divmod(f);if(D$.mod.isZero())return D$.div;var F0=D$.div.negative!==0?D$.mod.isub(f):D$.mod,C$=f.ushrn(1),L$=f.andln(1),R$=F0.cmp(C$);return R$<0||L$===1&&R$===0?D$.div:D$.div.negative!==0?D$.div.isubn(1):D$.div.iaddn(1)},$$.prototype.modrn=function(f){var D$=f<0;D$&&(f=-f),r0(f<=67108863);for(var F0=(1<<26)%f,C$=0,L$=this.length-1;L$>=0;L$--)C$=(F0*C$+(this.words[L$]|0))%f;return D$?-C$:C$},$$.prototype.modn=function(f){return this.modrn(f)},$$.prototype.idivn=function(f){var D$=f<0;D$&&(f=-f),r0(f<=67108863);for(var F0=0,C$=this.length-1;C$>=0;C$--){var L$=(this.words[C$]|0)+F0*67108864;this.words[C$]=L$/f|0,F0=L$%f}return this._strip(),D$?this.ineg():this},$$.prototype.divn=function(f){return this.clone().idivn(f)},$$.prototype.egcd=function(f){r0(f.negative===0),r0(!f.isZero());var D$=this,F0=f.clone();D$.negative!==0?D$=D$.umod(f):D$=D$.clone();for(var C$=new $$(1),L$=new $$(0),R$=new $$(0),P$=new $$(1),z$=0;D$.isEven()&&F0.isEven();)D$.iushrn(1),F0.iushrn(1),++z$;for(var M$=F0.clone(),S$=D$.clone();!D$.isZero();){for(var Z=0,c=1;(D$.words[0]&c)===0&&Z<26;++Z,c<<=1);if(Z>0)for(D$.iushrn(Z);Z-- >0;)(C$.isOdd()||L$.isOdd())&&(C$.iadd(M$),L$.isub(S$)),C$.iushrn(1),L$.iushrn(1);for(var v$=0,A0=1;(F0.words[0]&A0)===0&&v$<26;++v$,A0<<=1);if(v$>0)for(F0.iushrn(v$);v$-- >0;)(R$.isOdd()||P$.isOdd())&&(R$.iadd(M$),P$.isub(S$)),R$.iushrn(1),P$.iushrn(1);D$.cmp(F0)>=0?(D$.isub(F0),C$.isub(R$),L$.isub(P$)):(F0.isub(D$),R$.isub(C$),P$.isub(L$))}return{a:R$,b:P$,gcd:F0.iushln(z$)}},$$.prototype._invmp=function(f){r0(f.negative===0),r0(!f.isZero());var D$=this,F0=f.clone();D$.negative!==0?D$=D$.umod(f):D$=D$.clone();for(var C$=new $$(1),L$=new $$(0),R$=F0.clone();D$.cmpn(1)>0&&F0.cmpn(1)>0;){for(var P$=0,z$=1;(D$.words[0]&z$)===0&&P$<26;++P$,z$<<=1);if(P$>0)for(D$.iushrn(P$);P$-- >0;)C$.isOdd()&&C$.iadd(R$),C$.iushrn(1);for(var M$=0,S$=1;(F0.words[0]&S$)===0&&M$<26;++M$,S$<<=1);if(M$>0)for(F0.iushrn(M$);M$-- >0;)L$.isOdd()&&L$.iadd(R$),L$.iushrn(1);D$.cmp(F0)>=0?(D$.isub(F0),C$.isub(L$)):(F0.isub(D$),L$.isub(C$))}var Z;return D$.cmpn(1)===0?Z=C$:Z=L$,Z.cmpn(0)<0&&Z.iadd(f),Z},$$.prototype.gcd=function(f){if(this.isZero())return f.abs();if(f.isZero())return this.abs();var D$=this.clone(),F0=f.clone();D$.negative=0,F0.negative=0;for(var C$=0;D$.isEven()&&F0.isEven();C$++)D$.iushrn(1),F0.iushrn(1);do{for(;D$.isEven();)D$.iushrn(1);for(;F0.isEven();)F0.iushrn(1);var L$=D$.cmp(F0);if(L$<0){var R$=D$;D$=F0,F0=R$}else if(L$===0||F0.cmpn(1)===0)break;D$.isub(F0)}while(!0);return F0.iushln(C$)},$$.prototype.invm=function(f){return this.egcd(f).a.umod(f)},$$.prototype.isEven=function(){return(this.words[0]&1)===0},$$.prototype.isOdd=function(){return(this.words[0]&1)===1},$$.prototype.andln=function(f){return this.words[0]&f},$$.prototype.bincn=function(f){r0(typeof f=="number");var D$=f%26,F0=(f-D$)/26,C$=1<<D$;if(this.length<=F0)return this._expand(F0+1),this.words[F0]|=C$,this;for(var L$=C$,R$=F0;L$!==0&&R$<this.length;R$++){var P$=this.words[R$]|0;P$+=L$,L$=P$>>>26,P$&=67108863,this.words[R$]=P$}return L$!==0&&(this.words[R$]=L$,this.length++),this},$$.prototype.isZero=function(){return this.length===1&&this.words[0]===0},$$.prototype.cmpn=function(f){var D$=f<0;if(this.negative!==0&&!D$)return-1;if(this.negative===0&&D$)return 1;this._strip();var F0;if(this.length>1)F0=1;else{D$&&(f=-f),r0(f<=67108863,"Number is too big");var C$=this.words[0]|0;F0=C$===f?0:C$<f?-1:1}return this.negative!==0?-F0|0:F0},$$.prototype.cmp=function(f){if(this.negative!==0&&f.negative===0)return-1;if(this.negative===0&&f.negative!==0)return 1;var D$=this.ucmp(f);return this.negative!==0?-D$|0:D$},$$.prototype.ucmp=function(f){if(this.length>f.length)return 1;if(this.length<f.length)return-1;for(var D$=0,F0=this.length-1;F0>=0;F0--){var C$=this.words[F0]|0,L$=f.words[F0]|0;if(C$!==L$){C$<L$?D$=-1:C$>L$&&(D$=1);break}}return D$},$$.prototype.gtn=function(f){return this.cmpn(f)===1},$$.prototype.gt=function(f){return this.cmp(f)===1},$$.prototype.gten=function(f){return this.cmpn(f)>=0},$$.prototype.gte=function(f){return this.cmp(f)>=0},$$.prototype.ltn=function(f){return this.cmpn(f)===-1},$$.prototype.lt=function(f){return this.cmp(f)===-1},$$.prototype.lten=function(f){return this.cmpn(f)<=0},$$.prototype.lte=function(f){return this.cmp(f)<=0},$$.prototype.eqn=function(f){return this.cmpn(f)===0},$$.prototype.eq=function(f){return this.cmp(f)===0},$$.red=function(f){return new T$(f)},$$.prototype.toRed=function(f){return r0(!this.red,"Already a number in reduction context"),r0(this.negative===0,"red works only with positives"),f.convertTo(this)._forceRed(f)},$$.prototype.fromRed=function(){return r0(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},$$.prototype._forceRed=function(f){return this.red=f,this},$$.prototype.forceRed=function(f){return r0(!this.red,"Already a number in reduction context"),this._forceRed(f)},$$.prototype.redAdd=function(f){return r0(this.red,"redAdd works only with red numbers"),this.red.add(this,f)},$$.prototype.redIAdd=function(f){return r0(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,f)},$$.prototype.redSub=function(f){return r0(this.red,"redSub works only with red numbers"),this.red.sub(this,f)},$$.prototype.redISub=function(f){return r0(this.red,"redISub works only with red numbers"),this.red.isub(this,f)},$$.prototype.redShl=function(f){return r0(this.red,"redShl works only with red numbers"),this.red.shl(this,f)},$$.prototype.redMul=function(f){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,f),this.red.mul(this,f)},$$.prototype.redIMul=function(f){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,f),this.red.imul(this,f)},$$.prototype.redSqr=function(){return r0(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},$$.prototype.redISqr=function(){return r0(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},$$.prototype.redSqrt=function(){return r0(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},$$.prototype.redInvm=function(){return r0(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},$$.prototype.redNeg=function(){return r0(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},$$.prototype.redPow=function(f){return r0(this.red&&!f.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,f)};var J$={k256:null,p224:null,p192:null,p25519:null};function F$(f,D$){this.name=f,this.p=new $$(D$,16),this.n=this.p.bitLength(),this.k=new $$(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}F$.prototype._tmp=function(){var f=new $$(null);return f.words=new Array(Math.ceil(this.n/13)),f},F$.prototype.ireduce=function(f){var D$=f,F0;do this.split(D$,this.tmp),D$=this.imulK(D$),D$=D$.iadd(this.tmp),F0=D$.bitLength();while(F0>this.n);var C$=F0<this.n?-1:D$.ucmp(this.p);return C$===0?(D$.words[0]=0,D$.length=1):C$>0?D$.isub(this.p):D$.strip!==void 0?D$.strip():D$._strip(),D$},F$.prototype.split=function(f,D$){f.iushrn(this.n,0,D$)},F$.prototype.imulK=function(f){return f.imul(this.k)};function A$(){F$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i0(A$,F$),A$.prototype.split=function(f,D$){for(var F0=4194303,C$=Math.min(f.length,9),L$=0;L$<C$;L$++)D$.words[L$]=f.words[L$];if(D$.length=C$,f.length<=9){f.words[0]=0,f.length=1;return}var R$=f.words[9];for(D$.words[D$.length++]=R$&F0,L$=10;L$<f.length;L$++){var P$=f.words[L$]|0;f.words[L$-10]=(P$&F0)<<4|R$>>>22,R$=P$}R$>>>=22,f.words[L$-10]=R$,R$===0&&f.length>10?f.length-=10:f.length-=9},A$.prototype.imulK=function(f){f.words[f.length]=0,f.words[f.length+1]=0,f.length+=2;for(var D$=0,F0=0;F0<f.length;F0++){var C$=f.words[F0]|0;D$+=C$*977,f.words[F0]=D$&67108863,D$=C$*64+(D$/67108864|0)}return f.words[f.length-1]===0&&(f.length--,f.words[f.length-1]===0&&f.length--),f};function H$(){F$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i0(H$,F$);function W$(){F$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i0(W$,F$);function E$(){F$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i0(E$,F$),E$.prototype.imulK=function(f){for(var D$=0,F0=0;F0<f.length;F0++){var C$=(f.words[F0]|0)*19+D$,L$=C$&67108863;C$>>>=26,f.words[F0]=L$,D$=C$}return D$!==0&&(f.words[f.length++]=D$),f},$$._prime=function(f){if(J$[f])return J$[f];var D$;if(f==="k256")D$=new A$;else if(f==="p224")D$=new H$;else if(f==="p192")D$=new W$;else if(f==="p25519")D$=new E$;else throw new Error("Unknown prime "+f);return J$[f]=D$,D$};function T$(f){if(typeof f=="string"){var D$=$$._prime(f);this.m=D$.p,this.prime=D$}else r0(f.gtn(1),"modulus must be greater than 1"),this.m=f,this.prime=null}T$.prototype._verify1=function(f){r0(f.negative===0,"red works only with positives"),r0(f.red,"red works only with red numbers")},T$.prototype._verify2=function(f,D$){r0((f.negative|D$.negative)===0,"red works only with positives"),r0(f.red&&f.red===D$.red,"red works only with red numbers")},T$.prototype.imod=function(f){return this.prime?this.prime.ireduce(f)._forceRed(this):(O0(f,f.umod(this.m)._forceRed(this)),f)},T$.prototype.neg=function(f){return f.isZero()?f.clone():this.m.sub(f)._forceRed(this)},T$.prototype.add=function(f,D$){this._verify2(f,D$);var F0=f.add(D$);return F0.cmp(this.m)>=0&&F0.isub(this.m),F0._forceRed(this)},T$.prototype.iadd=function(f,D$){this._verify2(f,D$);var F0=f.iadd(D$);return F0.cmp(this.m)>=0&&F0.isub(this.m),F0},T$.prototype.sub=function(f,D$){this._verify2(f,D$);var F0=f.sub(D$);return F0.cmpn(0)<0&&F0.iadd(this.m),F0._forceRed(this)},T$.prototype.isub=function(f,D$){this._verify2(f,D$);var F0=f.isub(D$);return F0.cmpn(0)<0&&F0.iadd(this.m),F0},T$.prototype.shl=function(f,D$){return this._verify1(f),this.imod(f.ushln(D$))},T$.prototype.imul=function(f,D$){return this._verify2(f,D$),this.imod(f.imul(D$))},T$.prototype.mul=function(f,D$){return this._verify2(f,D$),this.imod(f.mul(D$))},T$.prototype.isqr=function(f){return this.imul(f,f.clone())},T$.prototype.sqr=function(f){return this.mul(f,f)},T$.prototype.sqrt=function(f){if(f.isZero())return f.clone();var D$=this.m.andln(3);if(r0(D$%2===1),D$===3){var F0=this.m.add(new $$(1)).iushrn(2);return this.pow(f,F0)}for(var C$=this.m.subn(1),L$=0;!C$.isZero()&&C$.andln(1)===0;)L$++,C$.iushrn(1);r0(!C$.isZero());var R$=new $$(1).toRed(this),P$=R$.redNeg(),z$=this.m.subn(1).iushrn(1),M$=this.m.bitLength();for(M$=new $$(2*M$*M$).toRed(this);this.pow(M$,z$).cmp(P$)!==0;)M$.redIAdd(P$);for(var S$=this.pow(M$,C$),Z=this.pow(f,C$.addn(1).iushrn(1)),c=this.pow(f,C$),v$=L$;c.cmp(R$)!==0;){for(var A0=c,q$=0;A0.cmp(R$)!==0;q$++)A0=A0.redSqr();r0(q$<v$);var j$=this.pow(S$,new $$(1).iushln(v$-q$-1));Z=Z.redMul(j$),S$=j$.redSqr(),c=c.redMul(S$),v$=q$}return Z},T$.prototype.invm=function(f){var D$=f._invmp(this.m);return D$.negative!==0?(D$.negative=0,this.imod(D$).redNeg()):this.imod(D$)},T$.prototype.pow=function(f,D$){if(D$.isZero())return new $$(1).toRed(this);if(D$.cmpn(1)===0)return f.clone();var F0=4,C$=new Array(1<<F0);C$[0]=new $$(1).toRed(this),C$[1]=f;for(var L$=2;L$<C$.length;L$++)C$[L$]=this.mul(C$[L$-1],f);var R$=C$[0],P$=0,z$=0,M$=D$.bitLength()%26;for(M$===0&&(M$=26),L$=D$.length-1;L$>=0;L$--){for(var S$=D$.words[L$],Z=M$-1;Z>=0;Z--){var c=S$>>Z&1;if(R$!==C$[0]&&(R$=this.sqr(R$)),c===0&&P$===0){z$=0;continue}P$<<=1,P$|=c,z$++,!(z$!==F0&&(L$!==0||Z!==0))&&(R$=this.mul(R$,C$[P$]),z$=0,P$=0)}M$=26}return R$},T$.prototype.convertTo=function(f){var D$=f.umod(this.m);return D$===f?D$.clone():D$},T$.prototype.convertFrom=function(f){var D$=f.clone();return D$.red=null,D$},$$.mont=function(f){return new Y(f)};function Y(f){T$.call(this,f),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new $$(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i0(Y,T$),Y.prototype.convertTo=function(f){return this.imod(f.ushln(this.shift))},Y.prototype.convertFrom=function(f){var D$=this.imod(f.mul(this.rinv));return D$.red=null,D$},Y.prototype.imul=function(f,D$){if(f.isZero()||D$.isZero())return f.words[0]=0,f.length=1,f;var F0=f.imul(D$),C$=F0.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L$=F0.isub(C$).iushrn(this.shift),R$=L$;return L$.cmp(this.m)>=0?R$=L$.isub(this.m):L$.cmpn(0)<0&&(R$=L$.iadd(this.m)),R$._forceRed(this)},Y.prototype.mul=function(f,D$){if(f.isZero()||D$.isZero())return new $$(0)._forceRed(this);var F0=f.mul(D$),C$=F0.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),L$=F0.isub(C$).iushrn(this.shift),R$=L$;return L$.cmp(this.m)>=0?R$=L$.isub(this.m):L$.cmpn(0)<0&&(R$=L$.iadd(this.m)),R$._forceRed(this)},Y.prototype.invm=function(f){var D$=this.imod(f._invmp(this.m).mul(this.r2));return D$._forceRed(this)}})(typeof m0>"u"||m0,t0)}}),qY=pQ({"node_modules/browserify-rsa/index.js"(t0,m0){var a0=vY(),e0=hQ();function r0(Q$){var $=i0(Q$),N=$.toRed(a0.mont(Q$.modulus)).redPow(new a0(Q$.publicExponent)).fromRed();return{blinder:N,unblinder:$.invm(Q$.modulus)}}function i0(Q$){var $=Q$.modulus.byteLength(),N;do N=new a0(e0($));while(N.cmp(Q$.modulus)>=0||!N.umod(Q$.prime1)||!N.umod(Q$.prime2));return N}function $$(Q$,$){var N=r0($),Y$=$.modulus.byteLength(),O0=new a0(Q$).mul(N.blinder).umod($.modulus),Z$=O0.toRed(a0.mont($.prime1)),G$=O0.toRed(a0.mont($.prime2)),V$=$.coefficient,U$=$.prime1,X$=$.prime2,K$=Z$.redPow($.exponent1).fromRed(),I$=G$.redPow($.exponent2).fromRed(),Q=K$.isub(I$).imul(V$).umod(U$).imul(X$);return I$.iadd(Q).imul(N.unblinder).umod($.modulus).toArrayLike(G0,"be",Y$)}$$.getr=i0,m0.exports=$$}}),jY=pQ({"node_modules/elliptic/package.json"(t0,m0){m0.exports={name:"elliptic",version:"6.5.4",description:"EC cryptography",main:"lib/elliptic.js",files:["lib"],scripts:{lint:"eslint lib test","lint:fix":"npm run lint -- --fix",unit:"istanbul test _mocha --reporter=spec test/index.js",test:"npm run lint && npm run unit",version:"grunt dist && git add dist/"},repository:{type:"git",url:"git@github.com:indutny/elliptic"},keywords:["EC","Elliptic","curve","Cryptography"],author:"Fedor Indutny <fedor@indutny.com>",license:"MIT",bugs:{url:"https://github.com/indutny/elliptic/issues"},homepage:"https://github.com/indutny/elliptic",devDependencies:{brfs:"^2.0.2",coveralls:"^3.1.0",eslint:"^7.6.0",grunt:"^1.2.1","grunt-browserify":"^5.3.0","grunt-cli":"^1.3.2","grunt-contrib-connect":"^3.0.0","grunt-contrib-copy":"^1.0.0","grunt-contrib-uglify":"^5.0.0","grunt-mocha-istanbul":"^5.0.2","grunt-saucelabs":"^9.0.1",istanbul:"^0.4.5",mocha:"^8.0.1"},dependencies:{"bn.js":"^4.11.9",brorand:"^1.1.0","hash.js":"^1.0.0","hmac-drbg":"^1.0.1",inherits:"^2.0.4","minimalistic-assert":"^1.0.1","minimalistic-crypto-utils":"^1.0.1"}}}}),kY=pQ({"node_modules/elliptic/node_modules/bn.js/lib/bn.js"(t0,m0){(function(a0,e0){function r0(E$,T$){if(!E$)throw new Error(T$||"Assertion failed")}function i0(E$,T$){E$.super_=T$;var Y=function(){};Y.prototype=T$.prototype,E$.prototype=new Y,E$.prototype.constructor=E$}function $$(E$,T$,Y){if($$.isBN(E$))return E$;this.negative=0,this.words=null,this.length=0,this.red=null,E$!==null&&((T$==="le"||T$==="be")&&(Y=T$,T$=10),this._init(E$||0,T$||10,Y||"be"))}typeof a0=="object"?a0.exports=$$:e0.BN=$$,$$.BN=$$,$$.wordSize=26;var Q$=G0;$$.isBN=function(E$){return E$ instanceof $$?!0:E$!==null&&typeof E$=="object"&&E$.constructor.wordSize===$$.wordSize&&Array.isArray(E$.words)},$$.max=function(E$,T$){return E$.cmp(T$)>0?E$:T$},$$.min=function(E$,T$){return E$.cmp(T$)<0?E$:T$},$$.prototype._init=function(E$,T$,Y){if(typeof E$=="number")return this._initNumber(E$,T$,Y);if(typeof E$=="object")return this._initArray(E$,T$,Y);T$==="hex"&&(T$=16),r0(T$===(T$|0)&&T$>=2&&T$<=36),E$=E$.toString().replace(/\s+/g,"");var f=0;E$[0]==="-"&&(f++,this.negative=1),f<E$.length&&(T$===16?this._parseHex(E$,f,Y):(this._parseBase(E$,T$,f),Y==="le"&&this._initArray(this.toArray(),T$,Y)))},$$.prototype._initNumber=function(E$,T$,Y){E$<0&&(this.negative=1,E$=-E$),E$<67108864?(this.words=[E$&67108863],this.length=1):E$<4503599627370496?(this.words=[E$&67108863,E$/67108864&67108863],this.length=2):(r0(E$<9007199254740992),this.words=[E$&67108863,E$/67108864&67108863,1],this.length=3),Y==="le"&&this._initArray(this.toArray(),T$,Y)},$$.prototype._initArray=function(E$,T$,Y){if(r0(typeof E$.length=="number"),E$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E$.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$,F0,C$=0;if(Y==="be")for(f=E$.length-1,D$=0;f>=0;f-=3)F0=E$[f]|E$[f-1]<<8|E$[f-2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);else if(Y==="le")for(f=0,D$=0;f<E$.length;f+=3)F0=E$[f]|E$[f+1]<<8|E$[f+2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);return this.strip()};function $(E$,T$){var Y=E$.charCodeAt(T$);return Y>=65&&Y<=70?Y-55:Y>=97&&Y<=102?Y-87:Y-48&15}function N(E$,T$,Y){var f=$(E$,Y);return Y-1>=T$&&(f|=$(E$,Y-1)<<4),f}$$.prototype._parseHex=function(E$,T$,Y){this.length=Math.ceil((E$.length-T$)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$=0,F0=0,C$;if(Y==="be")for(f=E$.length-1;f>=T$;f-=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8;else{var L$=E$.length-T$;for(f=L$%2===0?T$+1:T$;f<E$.length;f+=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8}this.strip()};function Y$(E$,T$,Y,f){for(var D$=0,F0=Math.min(E$.length,Y),C$=T$;C$<F0;C$++){var L$=E$.charCodeAt(C$)-48;D$*=f,L$>=49?D$+=L$-49+10:L$>=17?D$+=L$-17+10:D$+=L$}return D$}$$.prototype._parseBase=function(E$,T$,Y){this.words=[0],this.length=1;for(var f=0,D$=1;D$<=67108863;D$*=T$)f++;f--,D$=D$/T$|0;for(var F0=E$.length-Y,C$=F0%f,L$=Math.min(F0,F0-C$)+Y,R$=0,P$=Y;P$<L$;P$+=f)R$=Y$(E$,P$,P$+f,T$),this.imuln(D$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$);if(C$!==0){var z$=1;for(R$=Y$(E$,P$,E$.length,T$),P$=0;P$<C$;P$++)z$*=T$;this.imuln(z$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$)}this.strip()},$$.prototype.copy=function(E$){E$.words=new Array(this.length);for(var T$=0;T$<this.length;T$++)E$.words[T$]=this.words[T$];E$.length=this.length,E$.negative=this.negative,E$.red=this.red},$$.prototype.clone=function(){var E$=new $$(null);return this.copy(E$),E$},$$.prototype._expand=function(E$){for(;this.length<E$;)this.words[this.length++]=0;return this},$$.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},$$.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},$$.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var O0=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],Z$=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],G$=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];$$.prototype.toString=function(E$,T$){E$=E$||10,T$=T$|0||1;var Y;if(E$===16||E$==="hex"){Y="";for(var f=0,D$=0,F0=0;F0<this.length;F0++){var C$=this.words[F0],L$=((C$<<f|D$)&16777215).toString(16);D$=C$>>>24-f&16777215,D$!==0||F0!==this.length-1?Y=O0[6-L$.length]+L$+Y:Y=L$+Y,f+=2,f>=26&&(f-=26,F0--)}for(D$!==0&&(Y=D$.toString(16)+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}if(E$===(E$|0)&&E$>=2&&E$<=36){var R$=Z$[E$],P$=G$[E$];Y="";var z$=this.clone();for(z$.negative=0;!z$.isZero();){var M$=z$.modn(P$).toString(E$);z$=z$.idivn(P$),z$.isZero()?Y=M$+Y:Y=O0[R$-M$.length]+M$+Y}for(this.isZero()&&(Y="0"+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}r0(!1,"Base should be between 2 and 36")},$$.prototype.toNumber=function(){var E$=this.words[0];return this.length===2?E$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?E$+=4503599627370496+this.words[1]*67108864:this.length>2&&r0(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-E$:E$},$$.prototype.toJSON=function(){return this.toString(16)},$$.prototype.toBuffer=function(E$,T$){return r0(typeof Q$<"u"),this.toArrayLike(Q$,E$,T$)},$$.prototype.toArray=function(E$,T$){return this.toArrayLike(Array,E$,T$)},$$.prototype.toArrayLike=function(E$,T$,Y){var f=this.byteLength(),D$=Y||Math.max(1,f);r0(f<=D$,"byte array longer than desired length"),r0(D$>0,"Requested array length <= 0"),this.strip();var F0=T$==="le",C$=new E$(D$),L$,R$,P$=this.clone();if(F0){for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[R$]=L$;for(;R$<D$;R$++)C$[R$]=0}else{for(R$=0;R$<D$-f;R$++)C$[R$]=0;for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[D$-R$-1]=L$}return C$},Math.clz32?$$.prototype._countBits=function(E$){return 32-Math.clz32(E$)}:$$.prototype._countBits=function(E$){var T$=E$,Y=0;return T$>=4096&&(Y+=13,T$>>>=13),T$>=64&&(Y+=7,T$>>>=7),T$>=8&&(Y+=4,T$>>>=4),T$>=2&&(Y+=2,T$>>>=2),Y+T$},$$.prototype._zeroBits=function(E$){if(E$===0)return 26;var T$=E$,Y=0;return(T$&8191)===0&&(Y+=13,T$>>>=13),(T$&127)===0&&(Y+=7,T$>>>=7),(T$&15)===0&&(Y+=4,T$>>>=4),(T$&3)===0&&(Y+=2,T$>>>=2),(T$&1)===0&&Y++,Y},$$.prototype.bitLength=function(){var E$=this.words[this.length-1],T$=this._countBits(E$);return(this.length-1)*26+T$};function V$(E$){for(var T$=new Array(E$.bitLength()),Y=0;Y<T$.length;Y++){var f=Y/26|0,D$=Y%26;T$[Y]=(E$.words[f]&1<<D$)>>>D$}return T$}$$.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E$=0,T$=0;T$<this.length;T$++){var Y=this._zeroBits(this.words[T$]);if(E$+=Y,Y!==26)break}return E$},$$.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},$$.prototype.toTwos=function(E$){return this.negative!==0?this.abs().inotn(E$).iaddn(1):this.clone()},$$.prototype.fromTwos=function(E$){return this.testn(E$-1)?this.notn(E$).iaddn(1).ineg():this.clone()},$$.prototype.isNeg=function(){return this.negative!==0},$$.prototype.neg=function(){return this.clone().ineg()},$$.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},$$.prototype.iuor=function(E$){for(;this.length<E$.length;)this.words[this.length++]=0;for(var T$=0;T$<E$.length;T$++)this.words[T$]=this.words[T$]|E$.words[T$];return this.strip()},$$.prototype.ior=function(E$){return r0((this.negative|E$.negative)===0),this.iuor(E$)},$$.prototype.or=function(E$){return this.length>E$.length?this.clone().ior(E$):E$.clone().ior(this)},$$.prototype.uor=function(E$){return this.length>E$.length?this.clone().iuor(E$):E$.clone().iuor(this)},$$.prototype.iuand=function(E$){var T$;this.length>E$.length?T$=E$:T$=this;for(var Y=0;Y<T$.length;Y++)this.words[Y]=this.words[Y]&E$.words[Y];return this.length=T$.length,this.strip()},$$.prototype.iand=function(E$){return r0((this.negative|E$.negative)===0),this.iuand(E$)},$$.prototype.and=function(E$){return this.length>E$.length?this.clone().iand(E$):E$.clone().iand(this)},$$.prototype.uand=function(E$){return this.length>E$.length?this.clone().iuand(E$):E$.clone().iuand(this)},$$.prototype.iuxor=function(E$){var T$,Y;this.length>E$.length?(T$=this,Y=E$):(T$=E$,Y=this);for(var f=0;f<Y.length;f++)this.words[f]=T$.words[f]^Y.words[f];if(this!==T$)for(;f<T$.length;f++)this.words[f]=T$.words[f];return this.length=T$.length,this.strip()},$$.prototype.ixor=function(E$){return r0((this.negative|E$.negative)===0),this.iuxor(E$)},$$.prototype.xor=function(E$){return this.length>E$.length?this.clone().ixor(E$):E$.clone().ixor(this)},$$.prototype.uxor=function(E$){return this.length>E$.length?this.clone().iuxor(E$):E$.clone().iuxor(this)},$$.prototype.inotn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=Math.ceil(E$/26)|0,Y=E$%26;this._expand(T$),Y>0&&T$--;for(var f=0;f<T$;f++)this.words[f]=~this.words[f]&67108863;return Y>0&&(this.words[f]=~this.words[f]&67108863>>26-Y),this.strip()},$$.prototype.notn=function(E$){return this.clone().inotn(E$)},$$.prototype.setn=function(E$,T$){r0(typeof E$=="number"&&E$>=0);var Y=E$/26|0,f=E$%26;return this._expand(Y+1),T$?this.words[Y]=this.words[Y]|1<<f:this.words[Y]=this.words[Y]&~(1<<f),this.strip()},$$.prototype.iadd=function(E$){var T$;if(this.negative!==0&&E$.negative===0)return this.negative=0,T$=this.isub(E$),this.negative^=1,this._normSign();if(this.negative===0&&E$.negative!==0)return E$.negative=0,T$=this.isub(E$),E$.negative=1,T$._normSign();var Y,f;this.length>E$.length?(Y=this,f=E$):(Y=E$,f=this);for(var D$=0,F0=0;F0<f.length;F0++)T$=(Y.words[F0]|0)+(f.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;for(;D$!==0&&F0<Y.length;F0++)T$=(Y.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;if(this.length=Y.length,D$!==0)this.words[this.length]=D$,this.length++;else if(Y!==this)for(;F0<Y.length;F0++)this.words[F0]=Y.words[F0];return this},$$.prototype.add=function(E$){var T$;return E$.negative!==0&&this.negative===0?(E$.negative=0,T$=this.sub(E$),E$.negative^=1,T$):E$.negative===0&&this.negative!==0?(this.negative=0,T$=E$.sub(this),this.negative=1,T$):this.length>E$.length?this.clone().iadd(E$):E$.clone().iadd(this)},$$.prototype.isub=function(E$){if(E$.negative!==0){E$.negative=0;var T$=this.iadd(E$);return E$.negative=1,T$._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(E$),this.negative=1,this._normSign();var Y=this.cmp(E$);if(Y===0)return this.negative=0,this.length=1,this.words[0]=0,this;var f,D$;Y>0?(f=this,D$=E$):(f=E$,D$=this);for(var F0=0,C$=0;C$<D$.length;C$++)T$=(f.words[C$]|0)-(D$.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;for(;F0!==0&&C$<f.length;C$++)T$=(f.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;if(F0===0&&C$<f.length&&f!==this)for(;C$<f.length;C$++)this.words[C$]=f.words[C$];return this.length=Math.max(this.length,C$),f!==this&&(this.negative=1),this.strip()},$$.prototype.sub=function(E$){return this.clone().isub(E$)};function U$(E$,T$,Y){Y.negative=T$.negative^E$.negative;var f=E$.length+T$.length|0;Y.length=f,f=f-1|0;var D$=E$.words[0]|0,F0=T$.words[0]|0,C$=D$*F0,L$=C$&67108863,R$=C$/67108864|0;Y.words[0]=L$;for(var P$=1;P$<f;P$++){for(var z$=R$>>>26,M$=R$&67108863,S$=Math.min(P$,T$.length-1),Z=Math.max(0,P$-E$.length+1);Z<=S$;Z++){var c=P$-Z|0;D$=E$.words[c]|0,F0=T$.words[Z]|0,C$=D$*F0+M$,z$+=C$/67108864|0,M$=C$&67108863}Y.words[P$]=M$|0,R$=z$|0}return R$!==0?Y.words[P$]=R$|0:Y.length--,Y.strip()}var X$=function(E$,T$,Y){var f=E$.words,D$=T$.words,F0=Y.words,C$=0,L$,R$,P$,z$=f[0]|0,M$=z$&8191,S$=z$>>>13,Z=f[1]|0,c=Z&8191,v$=Z>>>13,A0=f[2]|0,q$=A0&8191,j$=A0>>>13,k$=f[3]|0,g$=k$&8191,_$=k$>>>13,N$=f[4]|0,x$=N$&8191,G=N$>>>13,B=f[5]|0,B$=B&8191,H0=B>>>13,y$=f[6]|0,w$=y$&8191,p$=y$>>>13,f$=f[7]|0,c$=f$&8191,h$=f$>>>13,d$=f[8]|0,V=d$&8191,h=d$>>>13,W0=f[9]|0,E0=W0&8191,b$=W0>>>13,l$=D$[0]|0,o$=l$&8191,u$=l$>>>13,n$=D$[1]|0,s$=n$&8191,t$=n$>>>13,U=D$[2]|0,d=U&8191,m$=U>>>13,T0=D$[3]|0,a$=T0&8191,e$=T0>>>13,r$=D$[4]|0,i$=r$&8191,$Q=r$>>>13,QQ=D$[5]|0,YQ=QQ&8191,X=QQ>>>13,b=D$[6]|0,ZQ=b&8191,D0=b>>>13,GQ=D$[7]|0,VQ=GQ&8191,UQ=GQ>>>13,XQ=D$[8]|0,KQ=XQ&8191,IQ=XQ>>>13,OQ=D$[9]|0,K=OQ&8191,l=OQ>>>13;Y.negative=E$.negative^T$.negative,Y.length=19,L$=Math.imul(M$,o$),R$=Math.imul(M$,u$),R$=R$+Math.imul(S$,o$)|0,P$=Math.imul(S$,u$);var JQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(JQ>>>26)|0,JQ&=67108863,L$=Math.imul(c,o$),R$=Math.imul(c,u$),R$=R$+Math.imul(v$,o$)|0,P$=Math.imul(v$,u$),L$=L$+Math.imul(M$,s$)|0,R$=R$+Math.imul(M$,t$)|0,R$=R$+Math.imul(S$,s$)|0,P$=P$+Math.imul(S$,t$)|0;var C0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(C0>>>26)|0,C0&=67108863,L$=Math.imul(q$,o$),R$=Math.imul(q$,u$),R$=R$+Math.imul(j$,o$)|0,P$=Math.imul(j$,u$),L$=L$+Math.imul(c,s$)|0,R$=R$+Math.imul(c,t$)|0,R$=R$+Math.imul(v$,s$)|0,P$=P$+Math.imul(v$,t$)|0,L$=L$+Math.imul(M$,d)|0,R$=R$+Math.imul(M$,m$)|0,R$=R$+Math.imul(S$,d)|0,P$=P$+Math.imul(S$,m$)|0;var FQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(FQ>>>26)|0,FQ&=67108863,L$=Math.imul(g$,o$),R$=Math.imul(g$,u$),R$=R$+Math.imul(_$,o$)|0,P$=Math.imul(_$,u$),L$=L$+Math.imul(q$,s$)|0,R$=R$+Math.imul(q$,t$)|0,R$=R$+Math.imul(j$,s$)|0,P$=P$+Math.imul(j$,t$)|0,L$=L$+Math.imul(c,d)|0,R$=R$+Math.imul(c,m$)|0,R$=R$+Math.imul(v$,d)|0,P$=P$+Math.imul(v$,m$)|0,L$=L$+Math.imul(M$,a$)|0,R$=R$+Math.imul(M$,e$)|0,R$=R$+Math.imul(S$,a$)|0,P$=P$+Math.imul(S$,e$)|0;var AQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(AQ>>>26)|0,AQ&=67108863,L$=Math.imul(x$,o$),R$=Math.imul(x$,u$),R$=R$+Math.imul(G,o$)|0,P$=Math.imul(G,u$),L$=L$+Math.imul(g$,s$)|0,R$=R$+Math.imul(g$,t$)|0,R$=R$+Math.imul(_$,s$)|0,P$=P$+Math.imul(_$,t$)|0,L$=L$+Math.imul(q$,d)|0,R$=R$+Math.imul(q$,m$)|0,R$=R$+Math.imul(j$,d)|0,P$=P$+Math.imul(j$,m$)|0,L$=L$+Math.imul(c,a$)|0,R$=R$+Math.imul(c,e$)|0,R$=R$+Math.imul(v$,a$)|0,P$=P$+Math.imul(v$,e$)|0,L$=L$+Math.imul(M$,i$)|0,R$=R$+Math.imul(M$,$Q)|0,R$=R$+Math.imul(S$,i$)|0,P$=P$+Math.imul(S$,$Q)|0;var HQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(HQ>>>26)|0,HQ&=67108863,L$=Math.imul(B$,o$),R$=Math.imul(B$,u$),R$=R$+Math.imul(H0,o$)|0,P$=Math.imul(H0,u$),L$=L$+Math.imul(x$,s$)|0,R$=R$+Math.imul(x$,t$)|0,R$=R$+Math.imul(G,s$)|0,P$=P$+Math.imul(G,t$)|0,L$=L$+Math.imul(g$,d)|0,R$=R$+Math.imul(g$,m$)|0,R$=R$+Math.imul(_$,d)|0,P$=P$+Math.imul(_$,m$)|0,L$=L$+Math.imul(q$,a$)|0,R$=R$+Math.imul(q$,e$)|0,R$=R$+Math.imul(j$,a$)|0,P$=P$+Math.imul(j$,e$)|0,L$=L$+Math.imul(c,i$)|0,R$=R$+Math.imul(c,$Q)|0,R$=R$+Math.imul(v$,i$)|0,P$=P$+Math.imul(v$,$Q)|0,L$=L$+Math.imul(M$,YQ)|0,R$=R$+Math.imul(M$,X)|0,R$=R$+Math.imul(S$,YQ)|0,P$=P$+Math.imul(S$,X)|0;var WQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(WQ>>>26)|0,WQ&=67108863,L$=Math.imul(w$,o$),R$=Math.imul(w$,u$),R$=R$+Math.imul(p$,o$)|0,P$=Math.imul(p$,u$),L$=L$+Math.imul(B$,s$)|0,R$=R$+Math.imul(B$,t$)|0,R$=R$+Math.imul(H0,s$)|0,P$=P$+Math.imul(H0,t$)|0,L$=L$+Math.imul(x$,d)|0,R$=R$+Math.imul(x$,m$)|0,R$=R$+Math.imul(G,d)|0,P$=P$+Math.imul(G,m$)|0,L$=L$+Math.imul(g$,a$)|0,R$=R$+Math.imul(g$,e$)|0,R$=R$+Math.imul(_$,a$)|0,P$=P$+Math.imul(_$,e$)|0,L$=L$+Math.imul(q$,i$)|0,R$=R$+Math.imul(q$,$Q)|0,R$=R$+Math.imul(j$,i$)|0,P$=P$+Math.imul(j$,$Q)|0,L$=L$+Math.imul(c,YQ)|0,R$=R$+Math.imul(c,X)|0,R$=R$+Math.imul(v$,YQ)|0,P$=P$+Math.imul(v$,X)|0,L$=L$+Math.imul(M$,ZQ)|0,R$=R$+Math.imul(M$,D0)|0,R$=R$+Math.imul(S$,ZQ)|0,P$=P$+Math.imul(S$,D0)|0;var EQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(EQ>>>26)|0,EQ&=67108863,L$=Math.imul(c$,o$),R$=Math.imul(c$,u$),R$=R$+Math.imul(h$,o$)|0,P$=Math.imul(h$,u$),L$=L$+Math.imul(w$,s$)|0,R$=R$+Math.imul(w$,t$)|0,R$=R$+Math.imul(p$,s$)|0,P$=P$+Math.imul(p$,t$)|0,L$=L$+Math.imul(B$,d)|0,R$=R$+Math.imul(B$,m$)|0,R$=R$+Math.imul(H0,d)|0,P$=P$+Math.imul(H0,m$)|0,L$=L$+Math.imul(x$,a$)|0,R$=R$+Math.imul(x$,e$)|0,R$=R$+Math.imul(G,a$)|0,P$=P$+Math.imul(G,e$)|0,L$=L$+Math.imul(g$,i$)|0,R$=R$+Math.imul(g$,$Q)|0,R$=R$+Math.imul(_$,i$)|0,P$=P$+Math.imul(_$,$Q)|0,L$=L$+Math.imul(q$,YQ)|0,R$=R$+Math.imul(q$,X)|0,R$=R$+Math.imul(j$,YQ)|0,P$=P$+Math.imul(j$,X)|0,L$=L$+Math.imul(c,ZQ)|0,R$=R$+Math.imul(c,D0)|0,R$=R$+Math.imul(v$,ZQ)|0,P$=P$+Math.imul(v$,D0)|0,L$=L$+Math.imul(M$,VQ)|0,R$=R$+Math.imul(M$,UQ)|0,R$=R$+Math.imul(S$,VQ)|0,P$=P$+Math.imul(S$,UQ)|0;var TQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(TQ>>>26)|0,TQ&=67108863,L$=Math.imul(V,o$),R$=Math.imul(V,u$),R$=R$+Math.imul(h,o$)|0,P$=Math.imul(h,u$),L$=L$+Math.imul(c$,s$)|0,R$=R$+Math.imul(c$,t$)|0,R$=R$+Math.imul(h$,s$)|0,P$=P$+Math.imul(h$,t$)|0,L$=L$+Math.imul(w$,d)|0,R$=R$+Math.imul(w$,m$)|0,R$=R$+Math.imul(p$,d)|0,P$=P$+Math.imul(p$,m$)|0,L$=L$+Math.imul(B$,a$)|0,R$=R$+Math.imul(B$,e$)|0,R$=R$+Math.imul(H0,a$)|0,P$=P$+Math.imul(H0,e$)|0,L$=L$+Math.imul(x$,i$)|0,R$=R$+Math.imul(x$,$Q)|0,R$=R$+Math.imul(G,i$)|0,P$=P$+Math.imul(G,$Q)|0,L$=L$+Math.imul(g$,YQ)|0,R$=R$+Math.imul(g$,X)|0,R$=R$+Math.imul(_$,YQ)|0,P$=P$+Math.imul(_$,X)|0,L$=L$+Math.imul(q$,ZQ)|0,R$=R$+Math.imul(q$,D0)|0,R$=R$+Math.imul(j$,ZQ)|0,P$=P$+Math.imul(j$,D0)|0,L$=L$+Math.imul(c,VQ)|0,R$=R$+Math.imul(c,UQ)|0,R$=R$+Math.imul(v$,VQ)|0,P$=P$+Math.imul(v$,UQ)|0,L$=L$+Math.imul(M$,KQ)|0,R$=R$+Math.imul(M$,IQ)|0,R$=R$+Math.imul(S$,KQ)|0,P$=P$+Math.imul(S$,IQ)|0;var DQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(DQ>>>26)|0,DQ&=67108863,L$=Math.imul(E0,o$),R$=Math.imul(E0,u$),R$=R$+Math.imul(b$,o$)|0,P$=Math.imul(b$,u$),L$=L$+Math.imul(V,s$)|0,R$=R$+Math.imul(V,t$)|0,R$=R$+Math.imul(h,s$)|0,P$=P$+Math.imul(h,t$)|0,L$=L$+Math.imul(c$,d)|0,R$=R$+Math.imul(c$,m$)|0,R$=R$+Math.imul(h$,d)|0,P$=P$+Math.imul(h$,m$)|0,L$=L$+Math.imul(w$,a$)|0,R$=R$+Math.imul(w$,e$)|0,R$=R$+Math.imul(p$,a$)|0,P$=P$+Math.imul(p$,e$)|0,L$=L$+Math.imul(B$,i$)|0,R$=R$+Math.imul(B$,$Q)|0,R$=R$+Math.imul(H0,i$)|0,P$=P$+Math.imul(H0,$Q)|0,L$=L$+Math.imul(x$,YQ)|0,R$=R$+Math.imul(x$,X)|0,R$=R$+Math.imul(G,YQ)|0,P$=P$+Math.imul(G,X)|0,L$=L$+Math.imul(g$,ZQ)|0,R$=R$+Math.imul(g$,D0)|0,R$=R$+Math.imul(_$,ZQ)|0,P$=P$+Math.imul(_$,D0)|0,L$=L$+Math.imul(q$,VQ)|0,R$=R$+Math.imul(q$,UQ)|0,R$=R$+Math.imul(j$,VQ)|0,P$=P$+Math.imul(j$,UQ)|0,L$=L$+Math.imul(c,KQ)|0,R$=R$+Math.imul(c,IQ)|0,R$=R$+Math.imul(v$,KQ)|0,P$=P$+Math.imul(v$,IQ)|0,L$=L$+Math.imul(M$,K)|0,R$=R$+Math.imul(M$,l)|0,R$=R$+Math.imul(S$,K)|0,P$=P$+Math.imul(S$,l)|0;var I=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(I>>>26)|0,I&=67108863,L$=Math.imul(E0,s$),R$=Math.imul(E0,t$),R$=R$+Math.imul(b$,s$)|0,P$=Math.imul(b$,t$),L$=L$+Math.imul(V,d)|0,R$=R$+Math.imul(V,m$)|0,R$=R$+Math.imul(h,d)|0,P$=P$+Math.imul(h,m$)|0,L$=L$+Math.imul(c$,a$)|0,R$=R$+Math.imul(c$,e$)|0,R$=R$+Math.imul(h$,a$)|0,P$=P$+Math.imul(h$,e$)|0,L$=L$+Math.imul(w$,i$)|0,R$=R$+Math.imul(w$,$Q)|0,R$=R$+Math.imul(p$,i$)|0,P$=P$+Math.imul(p$,$Q)|0,L$=L$+Math.imul(B$,YQ)|0,R$=R$+Math.imul(B$,X)|0,R$=R$+Math.imul(H0,YQ)|0,P$=P$+Math.imul(H0,X)|0,L$=L$+Math.imul(x$,ZQ)|0,R$=R$+Math.imul(x$,D0)|0,R$=R$+Math.imul(G,ZQ)|0,P$=P$+Math.imul(G,D0)|0,L$=L$+Math.imul(g$,VQ)|0,R$=R$+Math.imul(g$,UQ)|0,R$=R$+Math.imul(_$,VQ)|0,P$=P$+Math.imul(_$,UQ)|0,L$=L$+Math.imul(q$,KQ)|0,R$=R$+Math.imul(q$,IQ)|0,R$=R$+Math.imul(j$,KQ)|0,P$=P$+Math.imul(j$,IQ)|0,L$=L$+Math.imul(c,K)|0,R$=R$+Math.imul(c,l)|0,R$=R$+Math.imul(v$,K)|0,P$=P$+Math.imul(v$,l)|0;var o=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(o>>>26)|0,o&=67108863,L$=Math.imul(E0,d),R$=Math.imul(E0,m$),R$=R$+Math.imul(b$,d)|0,P$=Math.imul(b$,m$),L$=L$+Math.imul(V,a$)|0,R$=R$+Math.imul(V,e$)|0,R$=R$+Math.imul(h,a$)|0,P$=P$+Math.imul(h,e$)|0,L$=L$+Math.imul(c$,i$)|0,R$=R$+Math.imul(c$,$Q)|0,R$=R$+Math.imul(h$,i$)|0,P$=P$+Math.imul(h$,$Q)|0,L$=L$+Math.imul(w$,YQ)|0,R$=R$+Math.imul(w$,X)|0,R$=R$+Math.imul(p$,YQ)|0,P$=P$+Math.imul(p$,X)|0,L$=L$+Math.imul(B$,ZQ)|0,R$=R$+Math.imul(B$,D0)|0,R$=R$+Math.imul(H0,ZQ)|0,P$=P$+Math.imul(H0,D0)|0,L$=L$+Math.imul(x$,VQ)|0,R$=R$+Math.imul(x$,UQ)|0,R$=R$+Math.imul(G,VQ)|0,P$=P$+Math.imul(G,UQ)|0,L$=L$+Math.imul(g$,KQ)|0,R$=R$+Math.imul(g$,IQ)|0,R$=R$+Math.imul(_$,KQ)|0,P$=P$+Math.imul(_$,IQ)|0,L$=L$+Math.imul(q$,K)|0,R$=R$+Math.imul(q$,l)|0,R$=R$+Math.imul(j$,K)|0,P$=P$+Math.imul(j$,l)|0;var CQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(CQ>>>26)|0,CQ&=67108863,L$=Math.imul(E0,a$),R$=Math.imul(E0,e$),R$=R$+Math.imul(b$,a$)|0,P$=Math.imul(b$,e$),L$=L$+Math.imul(V,i$)|0,R$=R$+Math.imul(V,$Q)|0,R$=R$+Math.imul(h,i$)|0,P$=P$+Math.imul(h,$Q)|0,L$=L$+Math.imul(c$,YQ)|0,R$=R$+Math.imul(c$,X)|0,R$=R$+Math.imul(h$,YQ)|0,P$=P$+Math.imul(h$,X)|0,L$=L$+Math.imul(w$,ZQ)|0,R$=R$+Math.imul(w$,D0)|0,R$=R$+Math.imul(p$,ZQ)|0,P$=P$+Math.imul(p$,D0)|0,L$=L$+Math.imul(B$,VQ)|0,R$=R$+Math.imul(B$,UQ)|0,R$=R$+Math.imul(H0,VQ)|0,P$=P$+Math.imul(H0,UQ)|0,L$=L$+Math.imul(x$,KQ)|0,R$=R$+Math.imul(x$,IQ)|0,R$=R$+Math.imul(G,KQ)|0,P$=P$+Math.imul(G,IQ)|0,L$=L$+Math.imul(g$,K)|0,R$=R$+Math.imul(g$,l)|0,R$=R$+Math.imul(_$,K)|0,P$=P$+Math.imul(_$,l)|0;var L0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(L0>>>26)|0,L0&=67108863,L$=Math.imul(E0,i$),R$=Math.imul(E0,$Q),R$=R$+Math.imul(b$,i$)|0,P$=Math.imul(b$,$Q),L$=L$+Math.imul(V,YQ)|0,R$=R$+Math.imul(V,X)|0,R$=R$+Math.imul(h,YQ)|0,P$=P$+Math.imul(h,X)|0,L$=L$+Math.imul(c$,ZQ)|0,R$=R$+Math.imul(c$,D0)|0,R$=R$+Math.imul(h$,ZQ)|0,P$=P$+Math.imul(h$,D0)|0,L$=L$+Math.imul(w$,VQ)|0,R$=R$+Math.imul(w$,UQ)|0,R$=R$+Math.imul(p$,VQ)|0,P$=P$+Math.imul(p$,UQ)|0,L$=L$+Math.imul(B$,KQ)|0,R$=R$+Math.imul(B$,IQ)|0,R$=R$+Math.imul(H0,KQ)|0,P$=P$+Math.imul(H0,IQ)|0,L$=L$+Math.imul(x$,K)|0,R$=R$+Math.imul(x$,l)|0,R$=R$+Math.imul(G,K)|0,P$=P$+Math.imul(G,l)|0;var LQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(LQ>>>26)|0,LQ&=67108863,L$=Math.imul(E0,YQ),R$=Math.imul(E0,X),R$=R$+Math.imul(b$,YQ)|0,P$=Math.imul(b$,X),L$=L$+Math.imul(V,ZQ)|0,R$=R$+Math.imul(V,D0)|0,R$=R$+Math.imul(h,ZQ)|0,P$=P$+Math.imul(h,D0)|0,L$=L$+Math.imul(c$,VQ)|0,R$=R$+Math.imul(c$,UQ)|0,R$=R$+Math.imul(h$,VQ)|0,P$=P$+Math.imul(h$,UQ)|0,L$=L$+Math.imul(w$,KQ)|0,R$=R$+Math.imul(w$,IQ)|0,R$=R$+Math.imul(p$,KQ)|0,P$=P$+Math.imul(p$,IQ)|0,L$=L$+Math.imul(B$,K)|0,R$=R$+Math.imul(B$,l)|0,R$=R$+Math.imul(H0,K)|0,P$=P$+Math.imul(H0,l)|0;var RQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(RQ>>>26)|0,RQ&=67108863,L$=Math.imul(E0,ZQ),R$=Math.imul(E0,D0),R$=R$+Math.imul(b$,ZQ)|0,P$=Math.imul(b$,D0),L$=L$+Math.imul(V,VQ)|0,R$=R$+Math.imul(V,UQ)|0,R$=R$+Math.imul(h,VQ)|0,P$=P$+Math.imul(h,UQ)|0,L$=L$+Math.imul(c$,KQ)|0,R$=R$+Math.imul(c$,IQ)|0,R$=R$+Math.imul(h$,KQ)|0,P$=P$+Math.imul(h$,IQ)|0,L$=L$+Math.imul(w$,K)|0,R$=R$+Math.imul(w$,l)|0,R$=R$+Math.imul(p$,K)|0,P$=P$+Math.imul(p$,l)|0;var PQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(PQ>>>26)|0,PQ&=67108863,L$=Math.imul(E0,VQ),R$=Math.imul(E0,UQ),R$=R$+Math.imul(b$,VQ)|0,P$=Math.imul(b$,UQ),L$=L$+Math.imul(V,KQ)|0,R$=R$+Math.imul(V,IQ)|0,R$=R$+Math.imul(h,KQ)|0,P$=P$+Math.imul(h,IQ)|0,L$=L$+Math.imul(c$,K)|0,R$=R$+Math.imul(c$,l)|0,R$=R$+Math.imul(h$,K)|0,P$=P$+Math.imul(h$,l)|0;var zQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(zQ>>>26)|0,zQ&=67108863,L$=Math.imul(E0,KQ),R$=Math.imul(E0,IQ),R$=R$+Math.imul(b$,KQ)|0,P$=Math.imul(b$,IQ),L$=L$+Math.imul(V,K)|0,R$=R$+Math.imul(V,l)|0,R$=R$+Math.imul(h,K)|0,P$=P$+Math.imul(h,l)|0;var MQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(MQ>>>26)|0,MQ&=67108863,L$=Math.imul(E0,K),R$=Math.imul(E0,l),R$=R$+Math.imul(b$,K)|0,P$=Math.imul(b$,l);var SQ=(C$+L$|0)+((R$&8191)<<13)|0;return C$=(P$+(R$>>>13)|0)+(SQ>>>26)|0,SQ&=67108863,F0[0]=JQ,F0[1]=C0,F0[2]=FQ,F0[3]=AQ,F0[4]=HQ,F0[5]=WQ,F0[6]=EQ,F0[7]=TQ,F0[8]=DQ,F0[9]=I,F0[10]=o,F0[11]=CQ,F0[12]=L0,F0[13]=LQ,F0[14]=RQ,F0[15]=PQ,F0[16]=zQ,F0[17]=MQ,F0[18]=SQ,C$!==0&&(F0[19]=C$,Y.length++),Y};Math.imul||(X$=U$);function K$(E$,T$,Y){Y.negative=T$.negative^E$.negative,Y.length=E$.length+T$.length;for(var f=0,D$=0,F0=0;F0<Y.length-1;F0++){var C$=D$;D$=0;for(var L$=f&67108863,R$=Math.min(F0,T$.length-1),P$=Math.max(0,F0-E$.length+1);P$<=R$;P$++){var z$=F0-P$,M$=E$.words[z$]|0,S$=T$.words[P$]|0,Z=M$*S$,c=Z&67108863;C$=C$+(Z/67108864|0)|0,c=c+L$|0,L$=c&67108863,C$=C$+(c>>>26)|0,D$+=C$>>>26,C$&=67108863}Y.words[F0]=L$,f=C$,C$=D$}return f!==0?Y.words[F0]=f:Y.length--,Y.strip()}function I$(E$,T$,Y){var f=new Q;return f.mulp(E$,T$,Y)}$$.prototype.mulTo=function(E$,T$){var Y,f=this.length+E$.length;return this.length===10&&E$.length===10?Y=X$(this,E$,T$):f<63?Y=U$(this,E$,T$):f<1024?Y=K$(this,E$,T$):Y=I$(this,E$,T$),Y};function Q(E$,T$){this.x=E$,this.y=T$}Q.prototype.makeRBT=function(E$){for(var T$=new Array(E$),Y=$$.prototype._countBits(E$)-1,f=0;f<E$;f++)T$[f]=this.revBin(f,Y,E$);return T$},Q.prototype.revBin=function(E$,T$,Y){if(E$===0||E$===Y-1)return E$;for(var f=0,D$=0;D$<T$;D$++)f|=(E$&1)<<T$-D$-1,E$>>=1;return f},Q.prototype.permute=function(E$,T$,Y,f,D$,F0){for(var C$=0;C$<F0;C$++)f[C$]=T$[E$[C$]],D$[C$]=Y[E$[C$]]},Q.prototype.transform=function(E$,T$,Y,f,D$,F0){this.permute(F0,E$,T$,Y,f,D$);for(var C$=1;C$<D$;C$<<=1)for(var L$=C$<<1,R$=Math.cos(2*Math.PI/L$),P$=Math.sin(2*Math.PI/L$),z$=0;z$<D$;z$+=L$)for(var M$=R$,S$=P$,Z=0;Z<C$;Z++){var c=Y[z$+Z],v$=f[z$+Z],A0=Y[z$+Z+C$],q$=f[z$+Z+C$],j$=M$*A0-S$*q$;q$=M$*q$+S$*A0,A0=j$,Y[z$+Z]=c+A0,f[z$+Z]=v$+q$,Y[z$+Z+C$]=c-A0,f[z$+Z+C$]=v$-q$,Z!==L$&&(j$=R$*M$-P$*S$,S$=R$*S$+P$*M$,M$=j$)}},Q.prototype.guessLen13b=function(E$,T$){var Y=Math.max(T$,E$)|1,f=Y&1,D$=0;for(Y=Y/2|0;Y;Y=Y>>>1)D$++;return 1<<D$+1+f},Q.prototype.conjugate=function(E$,T$,Y){if(!(Y<=1))for(var f=0;f<Y/2;f++){var D$=E$[f];E$[f]=E$[Y-f-1],E$[Y-f-1]=D$,D$=T$[f],T$[f]=-T$[Y-f-1],T$[Y-f-1]=-D$}},Q.prototype.normalize13b=function(E$,T$){for(var Y=0,f=0;f<T$/2;f++){var D$=Math.round(E$[2*f+1]/T$)*8192+Math.round(E$[2*f]/T$)+Y;E$[f]=D$&67108863,D$<67108864?Y=0:Y=D$/67108864|0}return E$},Q.prototype.convert13b=function(E$,T$,Y,f){for(var D$=0,F0=0;F0<T$;F0++)D$=D$+(E$[F0]|0),Y[2*F0]=D$&8191,D$=D$>>>13,Y[2*F0+1]=D$&8191,D$=D$>>>13;for(F0=2*T$;F0<f;++F0)Y[F0]=0;r0(D$===0),r0((D$&-8192)===0)},Q.prototype.stub=function(E$){for(var T$=new Array(E$),Y=0;Y<E$;Y++)T$[Y]=0;return T$},Q.prototype.mulp=function(E$,T$,Y){var f=2*this.guessLen13b(E$.length,T$.length),D$=this.makeRBT(f),F0=this.stub(f),C$=new Array(f),L$=new Array(f),R$=new Array(f),P$=new Array(f),z$=new Array(f),M$=new Array(f),S$=Y.words;S$.length=f,this.convert13b(E$.words,E$.length,C$,f),this.convert13b(T$.words,T$.length,P$,f),this.transform(C$,F0,L$,R$,f,D$),this.transform(P$,F0,z$,M$,f,D$);for(var Z=0;Z<f;Z++){var c=L$[Z]*z$[Z]-R$[Z]*M$[Z];R$[Z]=L$[Z]*M$[Z]+R$[Z]*z$[Z],L$[Z]=c}return this.conjugate(L$,R$,f),this.transform(L$,R$,S$,F0,f,D$),this.conjugate(S$,F0,f),this.normalize13b(S$,f),Y.negative=E$.negative^T$.negative,Y.length=E$.length+T$.length,Y.strip()},$$.prototype.mul=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),this.mulTo(E$,T$)},$$.prototype.mulf=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),I$(this,E$,T$)},$$.prototype.imul=function(E$){return this.clone().mulTo(E$,this)},$$.prototype.imuln=function(E$){r0(typeof E$=="number"),r0(E$<67108864);for(var T$=0,Y=0;Y<this.length;Y++){var f=(this.words[Y]|0)*E$,D$=(f&67108863)+(T$&67108863);T$>>=26,T$+=f/67108864|0,T$+=D$>>>26,this.words[Y]=D$&67108863}return T$!==0&&(this.words[Y]=T$,this.length++),this},$$.prototype.muln=function(E$){return this.clone().imuln(E$)},$$.prototype.sqr=function(){return this.mul(this)},$$.prototype.isqr=function(){return this.imul(this.clone())},$$.prototype.pow=function(E$){var T$=V$(E$);if(T$.length===0)return new $$(1);for(var Y=this,f=0;f<T$.length&&T$[f]===0;f++,Y=Y.sqr());if(++f<T$.length)for(var D$=Y.sqr();f<T$.length;f++,D$=D$.sqr())T$[f]!==0&&(Y=Y.mul(D$));return Y},$$.prototype.iushln=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=67108863>>>26-T$<<26-T$,D$;if(T$!==0){var F0=0;for(D$=0;D$<this.length;D$++){var C$=this.words[D$]&f,L$=(this.words[D$]|0)-C$<<T$;this.words[D$]=L$|F0,F0=C$>>>26-T$}F0&&(this.words[D$]=F0,this.length++)}if(Y!==0){for(D$=this.length-1;D$>=0;D$--)this.words[D$+Y]=this.words[D$];for(D$=0;D$<Y;D$++)this.words[D$]=0;this.length+=Y}return this.strip()},$$.prototype.ishln=function(E$){return r0(this.negative===0),this.iushln(E$)},$$.prototype.iushrn=function(E$,T$,Y){r0(typeof E$=="number"&&E$>=0);var f;T$?f=(T$-T$%26)/26:f=0;var D$=E$%26,F0=Math.min((E$-D$)/26,this.length),C$=67108863^67108863>>>D$<<D$,L$=Y;if(f-=F0,f=Math.max(0,f),L$){for(var R$=0;R$<F0;R$++)L$.words[R$]=this.words[R$];L$.length=F0}if(F0!==0)if(this.length>F0)for(this.length-=F0,R$=0;R$<this.length;R$++)this.words[R$]=this.words[R$+F0];else this.words[0]=0,this.length=1;var P$=0;for(R$=this.length-1;R$>=0&&(P$!==0||R$>=f);R$--){var z$=this.words[R$]|0;this.words[R$]=P$<<26-D$|z$>>>D$,P$=z$&C$}return L$&&P$!==0&&(L$.words[L$.length++]=P$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},$$.prototype.ishrn=function(E$,T$,Y){return r0(this.negative===0),this.iushrn(E$,T$,Y)},$$.prototype.shln=function(E$){return this.clone().ishln(E$)},$$.prototype.ushln=function(E$){return this.clone().iushln(E$)},$$.prototype.shrn=function(E$){return this.clone().ishrn(E$)},$$.prototype.ushrn=function(E$){return this.clone().iushrn(E$)},$$.prototype.testn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return!1;var D$=this.words[Y];return!!(D$&f)},$$.prototype.imaskn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26;if(r0(this.negative===0,"imaskn works only with positive numbers"),this.length<=Y)return this;if(T$!==0&&Y++,this.length=Math.min(Y,this.length),T$!==0){var f=67108863^67108863>>>T$<<T$;this.words[this.length-1]&=f}return this.strip()},$$.prototype.maskn=function(E$){return this.clone().imaskn(E$)},$$.prototype.iaddn=function(E$){return r0(typeof E$=="number"),r0(E$<67108864),E$<0?this.isubn(-E$):this.negative!==0?this.length===1&&(this.words[0]|0)<E$?(this.words[0]=E$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(E$),this.negative=1,this):this._iaddn(E$)},$$.prototype._iaddn=function(E$){this.words[0]+=E$;for(var T$=0;T$<this.length&&this.words[T$]>=67108864;T$++)this.words[T$]-=67108864,T$===this.length-1?this.words[T$+1]=1:this.words[T$+1]++;return this.length=Math.max(this.length,T$+1),this},$$.prototype.isubn=function(E$){if(r0(typeof E$=="number"),r0(E$<67108864),E$<0)return this.iaddn(-E$);if(this.negative!==0)return this.negative=0,this.iaddn(E$),this.negative=1,this;if(this.words[0]-=E$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T$=0;T$<this.length&&this.words[T$]<0;T$++)this.words[T$]+=67108864,this.words[T$+1]-=1;return this.strip()},$$.prototype.addn=function(E$){return this.clone().iaddn(E$)},$$.prototype.subn=function(E$){return this.clone().isubn(E$)},$$.prototype.iabs=function(){return this.negative=0,this},$$.prototype.abs=function(){return this.clone().iabs()},$$.prototype._ishlnsubmul=function(E$,T$,Y){var f=E$.length+Y,D$;this._expand(f);var F0,C$=0;for(D$=0;D$<E$.length;D$++){F0=(this.words[D$+Y]|0)+C$;var L$=(E$.words[D$]|0)*T$;F0-=L$&67108863,C$=(F0>>26)-(L$/67108864|0),this.words[D$+Y]=F0&67108863}for(;D$<this.length-Y;D$++)F0=(this.words[D$+Y]|0)+C$,C$=F0>>26,this.words[D$+Y]=F0&67108863;if(C$===0)return this.strip();for(r0(C$===-1),C$=0,D$=0;D$<this.length;D$++)F0=-(this.words[D$]|0)+C$,C$=F0>>26,this.words[D$]=F0&67108863;return this.negative=1,this.strip()},$$.prototype._wordDiv=function(E$,T$){var Y=this.length-E$.length,f=this.clone(),D$=E$,F0=D$.words[D$.length-1]|0,C$=this._countBits(F0);Y=26-C$,Y!==0&&(D$=D$.ushln(Y),f.iushln(Y),F0=D$.words[D$.length-1]|0);var L$=f.length-D$.length,R$;if(T$!=="mod"){R$=new $$(null),R$.length=L$+1,R$.words=new Array(R$.length);for(var P$=0;P$<R$.length;P$++)R$.words[P$]=0}var z$=f.clone()._ishlnsubmul(D$,1,L$);z$.negative===0&&(f=z$,R$&&(R$.words[L$]=1));for(var M$=L$-1;M$>=0;M$--){var S$=(f.words[D$.length+M$]|0)*67108864+(f.words[D$.length+M$-1]|0);for(S$=Math.min(S$/F0|0,67108863),f._ishlnsubmul(D$,S$,M$);f.negative!==0;)S$--,f.negative=0,f._ishlnsubmul(D$,1,M$),f.isZero()||(f.negative^=1);R$&&(R$.words[M$]=S$)}return R$&&R$.strip(),f.strip(),T$!=="div"&&Y!==0&&f.iushrn(Y),{div:R$||null,mod:f}},$$.prototype.divmod=function(E$,T$,Y){if(r0(!E$.isZero()),this.isZero())return{div:new $$(0),mod:new $$(0)};var f,D$,F0;return this.negative!==0&&E$.negative===0?(F0=this.neg().divmod(E$,T$),T$!=="mod"&&(f=F0.div.neg()),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.iadd(E$)),{div:f,mod:D$}):this.negative===0&&E$.negative!==0?(F0=this.divmod(E$.neg(),T$),T$!=="mod"&&(f=F0.div.neg()),{div:f,mod:F0.mod}):(this.negative&E$.negative)!==0?(F0=this.neg().divmod(E$.neg(),T$),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.isub(E$)),{div:F0.div,mod:D$}):E$.length>this.length||this.cmp(E$)<0?{div:new $$(0),mod:this}:E$.length===1?T$==="div"?{div:this.divn(E$.words[0]),mod:null}:T$==="mod"?{div:null,mod:new $$(this.modn(E$.words[0]))}:{div:this.divn(E$.words[0]),mod:new $$(this.modn(E$.words[0]))}:this._wordDiv(E$,T$)},$$.prototype.div=function(E$){return this.divmod(E$,"div",!1).div},$$.prototype.mod=function(E$){return this.divmod(E$,"mod",!1).mod},$$.prototype.umod=function(E$){return this.divmod(E$,"mod",!0).mod},$$.prototype.divRound=function(E$){var T$=this.divmod(E$);if(T$.mod.isZero())return T$.div;var Y=T$.div.negative!==0?T$.mod.isub(E$):T$.mod,f=E$.ushrn(1),D$=E$.andln(1),F0=Y.cmp(f);return F0<0||D$===1&&F0===0?T$.div:T$.div.negative!==0?T$.div.isubn(1):T$.div.iaddn(1)},$$.prototype.modn=function(E$){r0(E$<=67108863);for(var T$=(1<<26)%E$,Y=0,f=this.length-1;f>=0;f--)Y=(T$*Y+(this.words[f]|0))%E$;return Y},$$.prototype.idivn=function(E$){r0(E$<=67108863);for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=(this.words[Y]|0)+T$*67108864;this.words[Y]=f/E$|0,T$=f%E$}return this.strip()},$$.prototype.divn=function(E$){return this.clone().idivn(E$)},$$.prototype.egcd=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=new $$(0),C$=new $$(1),L$=0;T$.isEven()&&Y.isEven();)T$.iushrn(1),Y.iushrn(1),++L$;for(var R$=Y.clone(),P$=T$.clone();!T$.isZero();){for(var z$=0,M$=1;(T$.words[0]&M$)===0&&z$<26;++z$,M$<<=1);if(z$>0)for(T$.iushrn(z$);z$-- >0;)(f.isOdd()||D$.isOdd())&&(f.iadd(R$),D$.isub(P$)),f.iushrn(1),D$.iushrn(1);for(var S$=0,Z=1;(Y.words[0]&Z)===0&&S$<26;++S$,Z<<=1);if(S$>0)for(Y.iushrn(S$);S$-- >0;)(F0.isOdd()||C$.isOdd())&&(F0.iadd(R$),C$.isub(P$)),F0.iushrn(1),C$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(F0),D$.isub(C$)):(Y.isub(T$),F0.isub(f),C$.isub(D$))}return{a:F0,b:C$,gcd:Y.iushln(L$)}},$$.prototype._invmp=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=Y.clone();T$.cmpn(1)>0&&Y.cmpn(1)>0;){for(var C$=0,L$=1;(T$.words[0]&L$)===0&&C$<26;++C$,L$<<=1);if(C$>0)for(T$.iushrn(C$);C$-- >0;)f.isOdd()&&f.iadd(F0),f.iushrn(1);for(var R$=0,P$=1;(Y.words[0]&P$)===0&&R$<26;++R$,P$<<=1);if(R$>0)for(Y.iushrn(R$);R$-- >0;)D$.isOdd()&&D$.iadd(F0),D$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(D$)):(Y.isub(T$),D$.isub(f))}var z$;return T$.cmpn(1)===0?z$=f:z$=D$,z$.cmpn(0)<0&&z$.iadd(E$),z$},$$.prototype.gcd=function(E$){if(this.isZero())return E$.abs();if(E$.isZero())return this.abs();var T$=this.clone(),Y=E$.clone();T$.negative=0,Y.negative=0;for(var f=0;T$.isEven()&&Y.isEven();f++)T$.iushrn(1),Y.iushrn(1);do{for(;T$.isEven();)T$.iushrn(1);for(;Y.isEven();)Y.iushrn(1);var D$=T$.cmp(Y);if(D$<0){var F0=T$;T$=Y,Y=F0}else if(D$===0||Y.cmpn(1)===0)break;T$.isub(Y)}while(!0);return Y.iushln(f)},$$.prototype.invm=function(E$){return this.egcd(E$).a.umod(E$)},$$.prototype.isEven=function(){return(this.words[0]&1)===0},$$.prototype.isOdd=function(){return(this.words[0]&1)===1},$$.prototype.andln=function(E$){return this.words[0]&E$},$$.prototype.bincn=function(E$){r0(typeof E$=="number");var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return this._expand(Y+1),this.words[Y]|=f,this;for(var D$=f,F0=Y;D$!==0&&F0<this.length;F0++){var C$=this.words[F0]|0;C$+=D$,D$=C$>>>26,C$&=67108863,this.words[F0]=C$}return D$!==0&&(this.words[F0]=D$,this.length++),this},$$.prototype.isZero=function(){return this.length===1&&this.words[0]===0},$$.prototype.cmpn=function(E$){var T$=E$<0;if(this.negative!==0&&!T$)return-1;if(this.negative===0&&T$)return 1;this.strip();var Y;if(this.length>1)Y=1;else{T$&&(E$=-E$),r0(E$<=67108863,"Number is too big");var f=this.words[0]|0;Y=f===E$?0:f<E$?-1:1}return this.negative!==0?-Y|0:Y},$$.prototype.cmp=function(E$){if(this.negative!==0&&E$.negative===0)return-1;if(this.negative===0&&E$.negative!==0)return 1;var T$=this.ucmp(E$);return this.negative!==0?-T$|0:T$},$$.prototype.ucmp=function(E$){if(this.length>E$.length)return 1;if(this.length<E$.length)return-1;for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=this.words[Y]|0,D$=E$.words[Y]|0;if(f!==D$){f<D$?T$=-1:f>D$&&(T$=1);break}}return T$},$$.prototype.gtn=function(E$){return this.cmpn(E$)===1},$$.prototype.gt=function(E$){return this.cmp(E$)===1},$$.prototype.gten=function(E$){return this.cmpn(E$)>=0},$$.prototype.gte=function(E$){return this.cmp(E$)>=0},$$.prototype.ltn=function(E$){return this.cmpn(E$)===-1},$$.prototype.lt=function(E$){return this.cmp(E$)===-1},$$.prototype.lten=function(E$){return this.cmpn(E$)<=0},$$.prototype.lte=function(E$){return this.cmp(E$)<=0},$$.prototype.eqn=function(E$){return this.cmpn(E$)===0},$$.prototype.eq=function(E$){return this.cmp(E$)===0},$$.red=function(E$){return new H$(E$)},$$.prototype.toRed=function(E$){return r0(!this.red,"Already a number in reduction context"),r0(this.negative===0,"red works only with positives"),E$.convertTo(this)._forceRed(E$)},$$.prototype.fromRed=function(){return r0(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},$$.prototype._forceRed=function(E$){return this.red=E$,this},$$.prototype.forceRed=function(E$){return r0(!this.red,"Already a number in reduction context"),this._forceRed(E$)},$$.prototype.redAdd=function(E$){return r0(this.red,"redAdd works only with red numbers"),this.red.add(this,E$)},$$.prototype.redIAdd=function(E$){return r0(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,E$)},$$.prototype.redSub=function(E$){return r0(this.red,"redSub works only with red numbers"),this.red.sub(this,E$)},$$.prototype.redISub=function(E$){return r0(this.red,"redISub works only with red numbers"),this.red.isub(this,E$)},$$.prototype.redShl=function(E$){return r0(this.red,"redShl works only with red numbers"),this.red.shl(this,E$)},$$.prototype.redMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.mul(this,E$)},$$.prototype.redIMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.imul(this,E$)},$$.prototype.redSqr=function(){return r0(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},$$.prototype.redISqr=function(){return r0(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},$$.prototype.redSqrt=function(){return r0(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},$$.prototype.redInvm=function(){return r0(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},$$.prototype.redNeg=function(){return r0(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},$$.prototype.redPow=function(E$){return r0(this.red&&!E$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,E$)};var x={k256:null,p224:null,p192:null,p25519:null};function O$(E$,T$){this.name=E$,this.p=new $$(T$,16),this.n=this.p.bitLength(),this.k=new $$(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}O$.prototype._tmp=function(){var E$=new $$(null);return E$.words=new Array(Math.ceil(this.n/13)),E$},O$.prototype.ireduce=function(E$){var T$=E$,Y;do this.split(T$,this.tmp),T$=this.imulK(T$),T$=T$.iadd(this.tmp),Y=T$.bitLength();while(Y>this.n);var f=Y<this.n?-1:T$.ucmp(this.p);return f===0?(T$.words[0]=0,T$.length=1):f>0?T$.isub(this.p):T$.strip!==void 0?T$.strip():T$._strip(),T$},O$.prototype.split=function(E$,T$){E$.iushrn(this.n,0,T$)},O$.prototype.imulK=function(E$){return E$.imul(this.k)};function J0(){O$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i0(J0,O$),J0.prototype.split=function(E$,T$){for(var Y=4194303,f=Math.min(E$.length,9),D$=0;D$<f;D$++)T$.words[D$]=E$.words[D$];if(T$.length=f,E$.length<=9){E$.words[0]=0,E$.length=1;return}var F0=E$.words[9];for(T$.words[T$.length++]=F0&Y,D$=10;D$<E$.length;D$++){var C$=E$.words[D$]|0;E$.words[D$-10]=(C$&Y)<<4|F0>>>22,F0=C$}F0>>>=22,E$.words[D$-10]=F0,F0===0&&E$.length>10?E$.length-=10:E$.length-=9},J0.prototype.imulK=function(E$){E$.words[E$.length]=0,E$.words[E$.length+1]=0,E$.length+=2;for(var T$=0,Y=0;Y<E$.length;Y++){var f=E$.words[Y]|0;T$+=f*977,E$.words[Y]=T$&67108863,T$=f*64+(T$/67108864|0)}return E$.words[E$.length-1]===0&&(E$.length--,E$.words[E$.length-1]===0&&E$.length--),E$};function J$(){O$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i0(J$,O$);function F$(){O$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i0(F$,O$);function A$(){O$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i0(A$,O$),A$.prototype.imulK=function(E$){for(var T$=0,Y=0;Y<E$.length;Y++){var f=(E$.words[Y]|0)*19+T$,D$=f&67108863;f>>>=26,E$.words[Y]=D$,T$=f}return T$!==0&&(E$.words[E$.length++]=T$),E$},$$._prime=function(E$){if(x[E$])return x[E$];var T$;if(E$==="k256")T$=new J0;else if(E$==="p224")T$=new J$;else if(E$==="p192")T$=new F$;else if(E$==="p25519")T$=new A$;else throw new Error("Unknown prime "+E$);return x[E$]=T$,T$};function H$(E$){if(typeof E$=="string"){var T$=$$._prime(E$);this.m=T$.p,this.prime=T$}else r0(E$.gtn(1),"modulus must be greater than 1"),this.m=E$,this.prime=null}H$.prototype._verify1=function(E$){r0(E$.negative===0,"red works only with positives"),r0(E$.red,"red works only with red numbers")},H$.prototype._verify2=function(E$,T$){r0((E$.negative|T$.negative)===0,"red works only with positives"),r0(E$.red&&E$.red===T$.red,"red works only with red numbers")},H$.prototype.imod=function(E$){return this.prime?this.prime.ireduce(E$)._forceRed(this):E$.umod(this.m)._forceRed(this)},H$.prototype.neg=function(E$){return E$.isZero()?E$.clone():this.m.sub(E$)._forceRed(this)},H$.prototype.add=function(E$,T$){this._verify2(E$,T$);var Y=E$.add(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y._forceRed(this)},H$.prototype.iadd=function(E$,T$){this._verify2(E$,T$);var Y=E$.iadd(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y},H$.prototype.sub=function(E$,T$){this._verify2(E$,T$);var Y=E$.sub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y._forceRed(this)},H$.prototype.isub=function(E$,T$){this._verify2(E$,T$);var Y=E$.isub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y},H$.prototype.shl=function(E$,T$){return this._verify1(E$),this.imod(E$.ushln(T$))},H$.prototype.imul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.imul(T$))},H$.prototype.mul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.mul(T$))},H$.prototype.isqr=function(E$){return this.imul(E$,E$.clone())},H$.prototype.sqr=function(E$){return this.mul(E$,E$)},H$.prototype.sqrt=function(E$){if(E$.isZero())return E$.clone();var T$=this.m.andln(3);if(r0(T$%2===1),T$===3){var Y=this.m.add(new $$(1)).iushrn(2);return this.pow(E$,Y)}for(var f=this.m.subn(1),D$=0;!f.isZero()&&f.andln(1)===0;)D$++,f.iushrn(1);r0(!f.isZero());var F0=new $$(1).toRed(this),C$=F0.redNeg(),L$=this.m.subn(1).iushrn(1),R$=this.m.bitLength();for(R$=new $$(2*R$*R$).toRed(this);this.pow(R$,L$).cmp(C$)!==0;)R$.redIAdd(C$);for(var P$=this.pow(R$,f),z$=this.pow(E$,f.addn(1).iushrn(1)),M$=this.pow(E$,f),S$=D$;M$.cmp(F0)!==0;){for(var Z=M$,c=0;Z.cmp(F0)!==0;c++)Z=Z.redSqr();r0(c<S$);var v$=this.pow(P$,new $$(1).iushln(S$-c-1));z$=z$.redMul(v$),P$=v$.redSqr(),M$=M$.redMul(P$),S$=c}return z$},H$.prototype.invm=function(E$){var T$=E$._invmp(this.m);return T$.negative!==0?(T$.negative=0,this.imod(T$).redNeg()):this.imod(T$)},H$.prototype.pow=function(E$,T$){if(T$.isZero())return new $$(1).toRed(this);if(T$.cmpn(1)===0)return E$.clone();var Y=4,f=new Array(1<<Y);f[0]=new $$(1).toRed(this),f[1]=E$;for(var D$=2;D$<f.length;D$++)f[D$]=this.mul(f[D$-1],E$);var F0=f[0],C$=0,L$=0,R$=T$.bitLength()%26;for(R$===0&&(R$=26),D$=T$.length-1;D$>=0;D$--){for(var P$=T$.words[D$],z$=R$-1;z$>=0;z$--){var M$=P$>>z$&1;if(F0!==f[0]&&(F0=this.sqr(F0)),M$===0&&C$===0){L$=0;continue}C$<<=1,C$|=M$,L$++,!(L$!==Y&&(D$!==0||z$!==0))&&(F0=this.mul(F0,f[C$]),L$=0,C$=0)}R$=26}return F0},H$.prototype.convertTo=function(E$){var T$=E$.umod(this.m);return T$===E$?T$.clone():T$},H$.prototype.convertFrom=function(E$){var T$=E$.clone();return T$.red=null,T$},$$.mont=function(E$){return new W$(E$)};function W$(E$){H$.call(this,E$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new $$(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i0(W$,H$),W$.prototype.convertTo=function(E$){return this.imod(E$.ushln(this.shift))},W$.prototype.convertFrom=function(E$){var T$=this.imod(E$.mul(this.rinv));return T$.red=null,T$},W$.prototype.imul=function(E$,T$){if(E$.isZero()||T$.isZero())return E$.words[0]=0,E$.length=1,E$;var Y=E$.imul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.mul=function(E$,T$){if(E$.isZero()||T$.isZero())return new $$(0)._forceRed(this);var Y=E$.mul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.invm=function(E$){var T$=this.imod(E$._invmp(this.m).mul(this.r2));return T$._forceRed(this)}})(typeof m0>"u"||m0,t0)}}),gY=pQ({"node_modules/minimalistic-crypto-utils/lib/utils.js"(t0){var m0=t0;function a0(i0,$$){if(Array.isArray(i0))return i0.slice();if(!i0)return[];var Q$=[];if(typeof i0!="string"){for(var $=0;$<i0.length;$++)Q$[$]=i0[$]|0;return Q$}if($$==="hex"){i0=i0.replace(/[^a-z0-9]+/gi,""),i0.length%2!==0&&(i0="0"+i0);for(var $=0;$<i0.length;$+=2)Q$.push(parseInt(i0[$]+i0[$+1],16))}else for(var $=0;$<i0.length;$++){var N=i0.charCodeAt($),Y$=N>>8,O0=N&255;Y$?Q$.push(Y$,O0):Q$.push(O0)}return Q$}m0.toArray=a0;function e0(i0){return i0.length===1?"0"+i0:i0}m0.zero2=e0;function r0(i0){for(var $$="",Q$=0;Q$<i0.length;Q$++)$$+=e0(i0[Q$].toString(16));return $$}m0.toHex=r0,m0.encode=function(i0,$$){return $$==="hex"?r0(i0):i0}}}),D=pQ({"node_modules/elliptic/lib/elliptic/utils.js"(t0){var m0=t0,a0=kY(),e0=v0(),r0=gY();m0.assert=e0,m0.toArray=r0.toArray,m0.zero2=r0.zero2,m0.toHex=r0.toHex,m0.encode=r0.encode;function i0(Y$,O0,Z$){var G$=new Array(Math.max(Y$.bitLength(),Z$)+1);G$.fill(0);for(var V$=1<<O0+1,U$=Y$.clone(),X$=0;X$<G$.length;X$++){var K$,I$=U$.andln(V$-1);U$.isOdd()?(I$>(V$>>1)-1?K$=(V$>>1)-I$:K$=I$,U$.isubn(K$)):K$=0,G$[X$]=K$,U$.iushrn(1)}return G$}m0.getNAF=i0;function $$(Y$,O0){var Z$=[[],[]];Y$=Y$.clone(),O0=O0.clone();for(var G$=0,V$=0,U$;Y$.cmpn(-G$)>0||O0.cmpn(-V$)>0;){var X$=Y$.andln(3)+G$&3,K$=O0.andln(3)+V$&3;X$===3&&(X$=-1),K$===3&&(K$=-1);var I$;(X$&1)===0?I$=0:(U$=Y$.andln(7)+G$&7,(U$===3||U$===5)&&K$===2?I$=-X$:I$=X$),Z$[0].push(I$);var Q;(K$&1)===0?Q=0:(U$=O0.andln(7)+V$&7,(U$===3||U$===5)&&X$===2?Q=-K$:Q=K$),Z$[1].push(Q),2*G$===I$+1&&(G$=1-G$),2*V$===Q+1&&(V$=1-V$),Y$.iushrn(1),O0.iushrn(1)}return Z$}m0.getJSF=$$;function Q$(Y$,O0,Z$){var G$="_"+O0;Y$.prototype[O0]=function(){return this[G$]!==void 0?this[G$]:this[G$]=Z$.call(this)}}m0.cachedProperty=Q$;function $(Y$){return typeof Y$=="string"?m0.toArray(Y$,"hex"):Y$}m0.parseBytes=$;function N(Y$){return new a0(Y$,"hex","le")}m0.intFromLE=N}}),m=pQ({"node_modules/elliptic/lib/elliptic/curve/base.js"(t0,m0){var a0=kY(),e0=D(),r0=e0.getNAF,i0=e0.getJSF,$$=e0.assert;function Q$(N,Y$){this.type=N,this.p=new a0(Y$.p,16),this.red=Y$.prime?a0.red(Y$.prime):a0.mont(this.p),this.zero=new a0(0).toRed(this.red),this.one=new a0(1).toRed(this.red),this.two=new a0(2).toRed(this.red),this.n=Y$.n&&new a0(Y$.n,16),this.g=Y$.g&&this.pointFromJSON(Y$.g,Y$.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var O0=this.n&&this.p.div(this.n);!O0||O0.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}m0.exports=Q$,Q$.prototype.point=function(){throw new Error("Not implemented")},Q$.prototype.validate=function(){throw new Error("Not implemented")},Q$.prototype._fixedNafMul=function(N,Y$){$$(N.precomputed);var O0=N._getDoubles(),Z$=r0(Y$,1,this._bitLength),G$=(1<<O0.step+1)-(O0.step%2===0?2:1);G$/=3;var V$=[],U$,X$;for(U$=0;U$<Z$.length;U$+=O0.step){X$=0;for(var K$=U$+O0.step-1;K$>=U$;K$--)X$=(X$<<1)+Z$[K$];V$.push(X$)}for(var I$=this.jpoint(null,null,null),Q=this.jpoint(null,null,null),x=G$;x>0;x--){for(U$=0;U$<V$.length;U$++)X$=V$[U$],X$===x?Q=Q.mixedAdd(O0.points[U$]):X$===-x&&(Q=Q.mixedAdd(O0.points[U$].neg()));I$=I$.add(Q)}return I$.toP()},Q$.prototype._wnafMul=function(N,Y$){var O0=4,Z$=N._getNAFPoints(O0);O0=Z$.wnd;for(var G$=Z$.points,V$=r0(Y$,O0,this._bitLength),U$=this.jpoint(null,null,null),X$=V$.length-1;X$>=0;X$--){for(var K$=0;X$>=0&&V$[X$]===0;X$--)K$++;if(X$>=0&&K$++,U$=U$.dblp(K$),X$<0)break;var I$=V$[X$];$$(I$!==0),N.type==="affine"?I$>0?U$=U$.mixedAdd(G$[I$-1>>1]):U$=U$.mixedAdd(G$[-I$-1>>1].neg()):I$>0?U$=U$.add(G$[I$-1>>1]):U$=U$.add(G$[-I$-1>>1].neg())}return N.type==="affine"?U$.toP():U$},Q$.prototype._wnafMulAdd=function(N,Y$,O0,Z$,G$){var V$=this._wnafT1,U$=this._wnafT2,X$=this._wnafT3,K$=0,I$,Q,x;for(I$=0;I$<Z$;I$++){x=Y$[I$];var O$=x._getNAFPoints(N);V$[I$]=O$.wnd,U$[I$]=O$.points}for(I$=Z$-1;I$>=1;I$-=2){var J0=I$-1,J$=I$;if(V$[J0]!==1||V$[J$]!==1){X$[J0]=r0(O0[J0],V$[J0],this._bitLength),X$[J$]=r0(O0[J$],V$[J$],this._bitLength),K$=Math.max(X$[J0].length,K$),K$=Math.max(X$[J$].length,K$);continue}var F$=[Y$[J0],null,null,Y$[J$]];Y$[J0].y.cmp(Y$[J$].y)===0?(F$[1]=Y$[J0].add(Y$[J$]),F$[2]=Y$[J0].toJ().mixedAdd(Y$[J$].neg())):Y$[J0].y.cmp(Y$[J$].y.redNeg())===0?(F$[1]=Y$[J0].toJ().mixedAdd(Y$[J$]),F$[2]=Y$[J0].add(Y$[J$].neg())):(F$[1]=Y$[J0].toJ().mixedAdd(Y$[J$]),F$[2]=Y$[J0].toJ().mixedAdd(Y$[J$].neg()));var A$=[-3,-1,-5,-7,0,7,5,1,3],H$=i0(O0[J0],O0[J$]);for(K$=Math.max(H$[0].length,K$),X$[J0]=new Array(K$),X$[J$]=new Array(K$),Q=0;Q<K$;Q++){var W$=H$[0][Q]|0,E$=H$[1][Q]|0;X$[J0][Q]=A$[(W$+1)*3+(E$+1)],X$[J$][Q]=0,U$[J0]=F$}}var T$=this.jpoint(null,null,null),Y=this._wnafT4;for(I$=K$;I$>=0;I$--){for(var f=0;I$>=0;){var D$=!0;for(Q=0;Q<Z$;Q++)Y[Q]=X$[Q][I$]|0,Y[Q]!==0&&(D$=!1);if(!D$)break;f++,I$--}if(I$>=0&&f++,T$=T$.dblp(f),I$<0)break;for(Q=0;Q<Z$;Q++){var F0=Y[Q];F0!==0&&(F0>0?x=U$[Q][F0-1>>1]:F0<0&&(x=U$[Q][-F0-1>>1].neg()),x.type==="affine"?T$=T$.mixedAdd(x):T$=T$.add(x))}}for(I$=0;I$<Z$;I$++)U$[I$]=null;return G$?T$:T$.toP()};function $(N,Y$){this.curve=N,this.type=Y$,this.precomputed=null}Q$.BasePoint=$,$.prototype.eq=function(){throw new Error("Not implemented")},$.prototype.validate=function(){return this.curve.validate(this)},Q$.prototype.decodePoint=function(N,Y$){N=e0.toArray(N,Y$);var O0=this.p.byteLength();if((N[0]===4||N[0]===6||N[0]===7)&&N.length-1===2*O0){N[0]===6?$$(N[N.length-1]%2===0):N[0]===7&&$$(N[N.length-1]%2===1);var Z$=this.point(N.slice(1,1+O0),N.slice(1+O0,1+2*O0));return Z$}else if((N[0]===2||N[0]===3)&&N.length-1===O0)return this.pointFromX(N.slice(1,1+O0),N[0]===3);throw new Error("Unknown point format")},$.prototype.encodeCompressed=function(N){return this.encode(N,!0)},$.prototype._encode=function(N){var Y$=this.curve.p.byteLength(),O0=this.getX().toArray("be",Y$);return N?[this.getY().isEven()?2:3].concat(O0):[4].concat(O0,this.getY().toArray("be",Y$))},$.prototype.encode=function(N,Y$){return e0.encode(this._encode(Y$),N)},$.prototype.precompute=function(N){if(this.precomputed)return this;var Y$={doubles:null,naf:null,beta:null};return Y$.naf=this._getNAFPoints(8),Y$.doubles=this._getDoubles(4,N),Y$.beta=this._getBeta(),this.precomputed=Y$,this},$.prototype._hasDoubles=function(N){if(!this.precomputed)return!1;var Y$=this.precomputed.doubles;return Y$?Y$.points.length>=Math.ceil((N.bitLength()+1)/Y$.step):!1},$.prototype._getDoubles=function(N,Y$){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var O0=[this],Z$=this,G$=0;G$<Y$;G$+=N){for(var V$=0;V$<N;V$++)Z$=Z$.dbl();O0.push(Z$)}return{step:N,points:O0}},$.prototype._getNAFPoints=function(N){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var Y$=[this],O0=(1<<N)-1,Z$=O0===1?null:this.dbl(),G$=1;G$<O0;G$++)Y$[G$]=Y$[G$-1].add(Z$);return{wnd:N,points:Y$}},$.prototype._getBeta=function(){return null},$.prototype.dblp=function(N){for(var Y$=this,O0=0;O0<N;O0++)Y$=Y$.dbl();return Y$}}}),x0=pQ({"node_modules/elliptic/lib/elliptic/curve/short.js"(t0,m0){var a0=D(),e0=kY(),r0=dQ(),i0=m(),$$=a0.assert;function Q$(Y$){i0.call(this,"short",Y$),this.a=new e0(Y$.a,16).toRed(this.red),this.b=new e0(Y$.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(Y$),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}r0(Q$,i0),m0.exports=Q$,Q$.prototype._getEndomorphism=function(Y$){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var O0,Z$;if(Y$.beta)O0=new e0(Y$.beta,16).toRed(this.red);else{var G$=this._getEndoRoots(this.p);O0=G$[0].cmp(G$[1])<0?G$[0]:G$[1],O0=O0.toRed(this.red)}if(Y$.lambda)Z$=new e0(Y$.lambda,16);else{var V$=this._getEndoRoots(this.n);this.g.mul(V$[0]).x.cmp(this.g.x.redMul(O0))===0?Z$=V$[0]:(Z$=V$[1],$$(this.g.mul(Z$).x.cmp(this.g.x.redMul(O0))===0))}var U$;return Y$.basis?U$=Y$.basis.map(function(X$){return{a:new e0(X$.a,16),b:new e0(X$.b,16)}}):U$=this._getEndoBasis(Z$),{beta:O0,lambda:Z$,basis:U$}}},Q$.prototype._getEndoRoots=function(Y$){var O0=Y$===this.p?this.red:e0.mont(Y$),Z$=new e0(2).toRed(O0).redInvm(),G$=Z$.redNeg(),V$=new e0(3).toRed(O0).redNeg().redSqrt().redMul(Z$),U$=G$.redAdd(V$).fromRed(),X$=G$.redSub(V$).fromRed();return[U$,X$]},Q$.prototype._getEndoBasis=function(Y$){for(var O0=this.n.ushrn(Math.floor(this.n.bitLength()/2)),Z$=Y$,G$=this.n.clone(),V$=new e0(1),U$=new e0(0),X$=new e0(0),K$=new e0(1),I$,Q,x,O$,J0,J$,F$,A$=0,H$,W$;Z$.cmpn(0)!==0;){var E$=G$.div(Z$);H$=G$.sub(E$.mul(Z$)),W$=X$.sub(E$.mul(V$));var T$=K$.sub(E$.mul(U$));if(!x&&H$.cmp(O0)<0)I$=F$.neg(),Q=V$,x=H$.neg(),O$=W$;else if(x&&++A$===2)break;F$=H$,G$=Z$,Z$=H$,X$=V$,V$=W$,K$=U$,U$=T$}J0=H$.neg(),J$=W$;var Y=x.sqr().add(O$.sqr()),f=J0.sqr().add(J$.sqr());return f.cmp(Y)>=0&&(J0=I$,J$=Q),x.negative&&(x=x.neg(),O$=O$.neg()),J0.negative&&(J0=J0.neg(),J$=J$.neg()),[{a:x,b:O$},{a:J0,b:J$}]},Q$.prototype._endoSplit=function(Y$){var O0=this.endo.basis,Z$=O0[0],G$=O0[1],V$=G$.b.mul(Y$).divRound(this.n),U$=Z$.b.neg().mul(Y$).divRound(this.n),X$=V$.mul(Z$.a),K$=U$.mul(G$.a),I$=V$.mul(Z$.b),Q=U$.mul(G$.b),x=Y$.sub(X$).sub(K$),O$=I$.add(Q).neg();return{k1:x,k2:O$}},Q$.prototype.pointFromX=function(Y$,O0){Y$=new e0(Y$,16),Y$.red||(Y$=Y$.toRed(this.red));var Z$=Y$.redSqr().redMul(Y$).redIAdd(Y$.redMul(this.a)).redIAdd(this.b),G$=Z$.redSqrt();if(G$.redSqr().redSub(Z$).cmp(this.zero)!==0)throw new Error("invalid point");var V$=G$.fromRed().isOdd();return(O0&&!V$||!O0&&V$)&&(G$=G$.redNeg()),this.point(Y$,G$)},Q$.prototype.validate=function(Y$){if(Y$.inf)return!0;var{x:O0,y:Z$}=Y$,G$=this.a.redMul(O0),V$=O0.redSqr().redMul(O0).redIAdd(G$).redIAdd(this.b);return Z$.redSqr().redISub(V$).cmpn(0)===0},Q$.prototype._endoWnafMulAdd=function(Y$,O0,Z$){for(var G$=this._endoWnafT1,V$=this._endoWnafT2,U$=0;U$<Y$.length;U$++){var X$=this._endoSplit(O0[U$]),K$=Y$[U$],I$=K$._getBeta();X$.k1.negative&&(X$.k1.ineg(),K$=K$.neg(!0)),X$.k2.negative&&(X$.k2.ineg(),I$=I$.neg(!0)),G$[U$*2]=K$,G$[U$*2+1]=I$,V$[U$*2]=X$.k1,V$[U$*2+1]=X$.k2}for(var Q=this._wnafMulAdd(1,G$,V$,U$*2,Z$),x=0;x<U$*2;x++)G$[x]=null,V$[x]=null;return Q};function $(Y$,O0,Z$,G$){i0.BasePoint.call(this,Y$,"affine"),O0===null&&Z$===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new e0(O0,16),this.y=new e0(Z$,16),G$&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}r0($,i0.BasePoint),Q$.prototype.point=function(Y$,O0,Z$){return new $(this,Y$,O0,Z$)},Q$.prototype.pointFromJSON=function(Y$,O0){return $.fromJSON(this,Y$,O0)},$.prototype._getBeta=function(){if(this.curve.endo){var Y$=this.precomputed;if(Y$&&Y$.beta)return Y$.beta;var O0=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(Y$){var Z$=this.curve,G$=function(V$){return Z$.point(V$.x.redMul(Z$.endo.beta),V$.y)};Y$.beta=O0,O0.precomputed={beta:null,naf:Y$.naf&&{wnd:Y$.naf.wnd,points:Y$.naf.points.map(G$)},doubles:Y$.doubles&&{step:Y$.doubles.step,points:Y$.doubles.points.map(G$)}}}return O0}},$.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},$.fromJSON=function(Y$,O0,Z$){typeof O0=="string"&&(O0=JSON.parse(O0));var G$=Y$.point(O0[0],O0[1],Z$);if(!O0[2])return G$;function V$(X$){return Y$.point(X$[0],X$[1],Z$)}var U$=O0[2];return G$.precomputed={beta:null,doubles:U$.doubles&&{step:U$.doubles.step,points:[G$].concat(U$.doubles.points.map(V$))},naf:U$.naf&&{wnd:U$.naf.wnd,points:[G$].concat(U$.naf.points.map(V$))}},G$},$.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},$.prototype.isInfinity=function(){return this.inf},$.prototype.add=function(Y$){if(this.inf)return Y$;if(Y$.inf)return this;if(this.eq(Y$))return this.dbl();if(this.neg().eq(Y$))return this.curve.point(null,null);if(this.x.cmp(Y$.x)===0)return this.curve.point(null,null);var O0=this.y.redSub(Y$.y);O0.cmpn(0)!==0&&(O0=O0.redMul(this.x.redSub(Y$.x).redInvm()));var Z$=O0.redSqr().redISub(this.x).redISub(Y$.x),G$=O0.redMul(this.x.redSub(Z$)).redISub(this.y);return this.curve.point(Z$,G$)},$.prototype.dbl=function(){if(this.inf)return this;var Y$=this.y.redAdd(this.y);if(Y$.cmpn(0)===0)return this.curve.point(null,null);var O0=this.curve.a,Z$=this.x.redSqr(),G$=Y$.redInvm(),V$=Z$.redAdd(Z$).redIAdd(Z$).redIAdd(O0).redMul(G$),U$=V$.redSqr().redISub(this.x.redAdd(this.x)),X$=V$.redMul(this.x.redSub(U$)).redISub(this.y);return this.curve.point(U$,X$)},$.prototype.getX=function(){return this.x.fromRed()},$.prototype.getY=function(){return this.y.fromRed()},$.prototype.mul=function(Y$){return Y$=new e0(Y$,16),this.isInfinity()?this:this._hasDoubles(Y$)?this.curve._fixedNafMul(this,Y$):this.curve.endo?this.curve._endoWnafMulAdd([this],[Y$]):this.curve._wnafMul(this,Y$)},$.prototype.mulAdd=function(Y$,O0,Z$){var G$=[this,O0],V$=[Y$,Z$];return this.curve.endo?this.curve._endoWnafMulAdd(G$,V$):this.curve._wnafMulAdd(1,G$,V$,2)},$.prototype.jmulAdd=function(Y$,O0,Z$){var G$=[this,O0],V$=[Y$,Z$];return this.curve.endo?this.curve._endoWnafMulAdd(G$,V$,!0):this.curve._wnafMulAdd(1,G$,V$,2,!0)},$.prototype.eq=function(Y$){return this===Y$||this.inf===Y$.inf&&(this.inf||this.x.cmp(Y$.x)===0&&this.y.cmp(Y$.y)===0)},$.prototype.neg=function(Y$){if(this.inf)return this;var O0=this.curve.point(this.x,this.y.redNeg());if(Y$&&this.precomputed){var Z$=this.precomputed,G$=function(V$){return V$.neg()};O0.precomputed={naf:Z$.naf&&{wnd:Z$.naf.wnd,points:Z$.naf.points.map(G$)},doubles:Z$.doubles&&{step:Z$.doubles.step,points:Z$.doubles.points.map(G$)}}}return O0},$.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var Y$=this.curve.jpoint(this.x,this.y,this.curve.one);return Y$};function N(Y$,O0,Z$,G$){i0.BasePoint.call(this,Y$,"jacobian"),O0===null&&Z$===null&&G$===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new e0(0)):(this.x=new e0(O0,16),this.y=new e0(Z$,16),this.z=new e0(G$,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}r0(N,i0.BasePoint),Q$.prototype.jpoint=function(Y$,O0,Z$){return new N(this,Y$,O0,Z$)},N.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var Y$=this.z.redInvm(),O0=Y$.redSqr(),Z$=this.x.redMul(O0),G$=this.y.redMul(O0).redMul(Y$);return this.curve.point(Z$,G$)},N.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},N.prototype.add=function(Y$){if(this.isInfinity())return Y$;if(Y$.isInfinity())return this;var O0=Y$.z.redSqr(),Z$=this.z.redSqr(),G$=this.x.redMul(O0),V$=Y$.x.redMul(Z$),U$=this.y.redMul(O0.redMul(Y$.z)),X$=Y$.y.redMul(Z$.redMul(this.z)),K$=G$.redSub(V$),I$=U$.redSub(X$);if(K$.cmpn(0)===0)return I$.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var Q=K$.redSqr(),x=Q.redMul(K$),O$=G$.redMul(Q),J0=I$.redSqr().redIAdd(x).redISub(O$).redISub(O$),J$=I$.redMul(O$.redISub(J0)).redISub(U$.redMul(x)),F$=this.z.redMul(Y$.z).redMul(K$);return this.curve.jpoint(J0,J$,F$)},N.prototype.mixedAdd=function(Y$){if(this.isInfinity())return Y$.toJ();if(Y$.isInfinity())return this;var O0=this.z.redSqr(),Z$=this.x,G$=Y$.x.redMul(O0),V$=this.y,U$=Y$.y.redMul(O0).redMul(this.z),X$=Z$.redSub(G$),K$=V$.redSub(U$);if(X$.cmpn(0)===0)return K$.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I$=X$.redSqr(),Q=I$.redMul(X$),x=Z$.redMul(I$),O$=K$.redSqr().redIAdd(Q).redISub(x).redISub(x),J0=K$.redMul(x.redISub(O$)).redISub(V$.redMul(Q)),J$=this.z.redMul(X$);return this.curve.jpoint(O$,J0,J$)},N.prototype.dblp=function(Y$){if(Y$===0)return this;if(this.isInfinity())return this;if(!Y$)return this.dbl();var O0;if(this.curve.zeroA||this.curve.threeA){var Z$=this;for(O0=0;O0<Y$;O0++)Z$=Z$.dbl();return Z$}var G$=this.curve.a,V$=this.curve.tinv,U$=this.x,X$=this.y,K$=this.z,I$=K$.redSqr().redSqr(),Q=X$.redAdd(X$);for(O0=0;O0<Y$;O0++){var x=U$.redSqr(),O$=Q.redSqr(),J0=O$.redSqr(),J$=x.redAdd(x).redIAdd(x).redIAdd(G$.redMul(I$)),F$=U$.redMul(O$),A$=J$.redSqr().redISub(F$.redAdd(F$)),H$=F$.redISub(A$),W$=J$.redMul(H$);W$=W$.redIAdd(W$).redISub(J0);var E$=Q.redMul(K$);O0+1<Y$&&(I$=I$.redMul(J0)),U$=A$,K$=E$,Q=W$}return this.curve.jpoint(U$,Q.redMul(V$),K$)},N.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},N.prototype._zeroDbl=function(){var Y$,O0,Z$;if(this.zOne){var G$=this.x.redSqr(),V$=this.y.redSqr(),U$=V$.redSqr(),X$=this.x.redAdd(V$).redSqr().redISub(G$).redISub(U$);X$=X$.redIAdd(X$);var K$=G$.redAdd(G$).redIAdd(G$),I$=K$.redSqr().redISub(X$).redISub(X$),Q=U$.redIAdd(U$);Q=Q.redIAdd(Q),Q=Q.redIAdd(Q),Y$=I$,O0=K$.redMul(X$.redISub(I$)).redISub(Q),Z$=this.y.redAdd(this.y)}else{var x=this.x.redSqr(),O$=this.y.redSqr(),J0=O$.redSqr(),J$=this.x.redAdd(O$).redSqr().redISub(x).redISub(J0);J$=J$.redIAdd(J$);var F$=x.redAdd(x).redIAdd(x),A$=F$.redSqr(),H$=J0.redIAdd(J0);H$=H$.redIAdd(H$),H$=H$.redIAdd(H$),Y$=A$.redISub(J$).redISub(J$),O0=F$.redMul(J$.redISub(Y$)).redISub(H$),Z$=this.y.redMul(this.z),Z$=Z$.redIAdd(Z$)}return this.curve.jpoint(Y$,O0,Z$)},N.prototype._threeDbl=function(){var Y$,O0,Z$;if(this.zOne){var G$=this.x.redSqr(),V$=this.y.redSqr(),U$=V$.redSqr(),X$=this.x.redAdd(V$).redSqr().redISub(G$).redISub(U$);X$=X$.redIAdd(X$);var K$=G$.redAdd(G$).redIAdd(G$).redIAdd(this.curve.a),I$=K$.redSqr().redISub(X$).redISub(X$);Y$=I$;var Q=U$.redIAdd(U$);Q=Q.redIAdd(Q),Q=Q.redIAdd(Q),O0=K$.redMul(X$.redISub(I$)).redISub(Q),Z$=this.y.redAdd(this.y)}else{var x=this.z.redSqr(),O$=this.y.redSqr(),J0=this.x.redMul(O$),J$=this.x.redSub(x).redMul(this.x.redAdd(x));J$=J$.redAdd(J$).redIAdd(J$);var F$=J0.redIAdd(J0);F$=F$.redIAdd(F$);var A$=F$.redAdd(F$);Y$=J$.redSqr().redISub(A$),Z$=this.y.redAdd(this.z).redSqr().redISub(O$).redISub(x);var H$=O$.redSqr();H$=H$.redIAdd(H$),H$=H$.redIAdd(H$),H$=H$.redIAdd(H$),O0=J$.redMul(F$.redISub(Y$)).redISub(H$)}return this.curve.jpoint(Y$,O0,Z$)},N.prototype._dbl=function(){var Y$=this.curve.a,O0=this.x,Z$=this.y,G$=this.z,V$=G$.redSqr().redSqr(),U$=O0.redSqr(),X$=Z$.redSqr(),K$=U$.redAdd(U$).redIAdd(U$).redIAdd(Y$.redMul(V$)),I$=O0.redAdd(O0);I$=I$.redIAdd(I$);var Q=I$.redMul(X$),x=K$.redSqr().redISub(Q.redAdd(Q)),O$=Q.redISub(x),J0=X$.redSqr();J0=J0.redIAdd(J0),J0=J0.redIAdd(J0),J0=J0.redIAdd(J0);var J$=K$.redMul(O$).redISub(J0),F$=Z$.redAdd(Z$).redMul(G$);return this.curve.jpoint(x,J$,F$)},N.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var Y$=this.x.redSqr(),O0=this.y.redSqr(),Z$=this.z.redSqr(),G$=O0.redSqr(),V$=Y$.redAdd(Y$).redIAdd(Y$),U$=V$.redSqr(),X$=this.x.redAdd(O0).redSqr().redISub(Y$).redISub(G$);X$=X$.redIAdd(X$),X$=X$.redAdd(X$).redIAdd(X$),X$=X$.redISub(U$);var K$=X$.redSqr(),I$=G$.redIAdd(G$);I$=I$.redIAdd(I$),I$=I$.redIAdd(I$),I$=I$.redIAdd(I$);var Q=V$.redIAdd(X$).redSqr().redISub(U$).redISub(K$).redISub(I$),x=O0.redMul(Q);x=x.redIAdd(x),x=x.redIAdd(x);var O$=this.x.redMul(K$).redISub(x);O$=O$.redIAdd(O$),O$=O$.redIAdd(O$);var J0=this.y.redMul(Q.redMul(I$.redISub(Q)).redISub(X$.redMul(K$)));J0=J0.redIAdd(J0),J0=J0.redIAdd(J0),J0=J0.redIAdd(J0);var J$=this.z.redAdd(X$).redSqr().redISub(Z$).redISub(K$);return this.curve.jpoint(O$,J0,J$)},N.prototype.mul=function(Y$,O0){return Y$=new e0(Y$,O0),this.curve._wnafMul(this,Y$)},N.prototype.eq=function(Y$){if(Y$.type==="affine")return this.eq(Y$.toJ());if(this===Y$)return!0;var O0=this.z.redSqr(),Z$=Y$.z.redSqr();if(this.x.redMul(Z$).redISub(Y$.x.redMul(O0)).cmpn(0)!==0)return!1;var G$=O0.redMul(this.z),V$=Z$.redMul(Y$.z);return this.y.redMul(V$).redISub(Y$.y.redMul(G$)).cmpn(0)===0},N.prototype.eqXToP=function(Y$){var O0=this.z.redSqr(),Z$=Y$.toRed(this.curve.red).redMul(O0);if(this.x.cmp(Z$)===0)return!0;for(var G$=Y$.clone(),V$=this.curve.redN.redMul(O0);;){if(G$.iadd(this.curve.n),G$.cmp(this.curve.p)>=0)return!1;if(Z$.redIAdd(V$),this.x.cmp(Z$)===0)return!0}},N.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},N.prototype.isInfinity=function(){return this.z.cmpn(0)===0}}}),B0=pQ({"node_modules/elliptic/lib/elliptic/curve/mont.js"(t0,m0){var a0=kY(),e0=dQ(),r0=m(),i0=D();function $$($){r0.call(this,"mont",$),this.a=new a0($.a,16).toRed(this.red),this.b=new a0($.b,16).toRed(this.red),this.i4=new a0(4).toRed(this.red).redInvm(),this.two=new a0(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}e0($$,r0),m0.exports=$$,$$.prototype.validate=function($){var N=$.normalize().x,Y$=N.redSqr(),O0=Y$.redMul(N).redAdd(Y$.redMul(this.a)).redAdd(N),Z$=O0.redSqrt();return Z$.redSqr().cmp(O0)===0};function Q$($,N,Y$){r0.BasePoint.call(this,$,"projective"),N===null&&Y$===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new a0(N,16),this.z=new a0(Y$,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}e0(Q$,r0.BasePoint),$$.prototype.decodePoint=function($,N){return this.point(i0.toArray($,N),1)},$$.prototype.point=function($,N){return new Q$(this,$,N)},$$.prototype.pointFromJSON=function($){return Q$.fromJSON(this,$)},Q$.prototype.precompute=function(){},Q$.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},Q$.fromJSON=function($,N){return new Q$($,N[0],N[1]||$.one)},Q$.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},Q$.prototype.isInfinity=function(){return this.z.cmpn(0)===0},Q$.prototype.dbl=function(){var $=this.x.redAdd(this.z),N=$.redSqr(),Y$=this.x.redSub(this.z),O0=Y$.redSqr(),Z$=N.redSub(O0),G$=N.redMul(O0),V$=Z$.redMul(O0.redAdd(this.curve.a24.redMul(Z$)));return this.curve.point(G$,V$)},Q$.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},Q$.prototype.diffAdd=function($,N){var Y$=this.x.redAdd(this.z),O0=this.x.redSub(this.z),Z$=$.x.redAdd($.z),G$=$.x.redSub($.z),V$=G$.redMul(Y$),U$=Z$.redMul(O0),X$=N.z.redMul(V$.redAdd(U$).redSqr()),K$=N.x.redMul(V$.redISub(U$).redSqr());return this.curve.point(X$,K$)},Q$.prototype.mul=function($){for(var N=$.clone(),Y$=this,O0=this.curve.point(null,null),Z$=this,G$=[];N.cmpn(0)!==0;N.iushrn(1))G$.push(N.andln(1));for(var V$=G$.length-1;V$>=0;V$--)G$[V$]===0?(Y$=Y$.diffAdd(O0,Z$),O0=O0.dbl()):(O0=Y$.diffAdd(O0,Z$),Y$=Y$.dbl());return O0},Q$.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},Q$.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},Q$.prototype.eq=function($){return this.getX().cmp($.getX())===0},Q$.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},Q$.prototype.getX=function(){return this.normalize(),this.x.fromRed()}}}),_Y=pQ({"node_modules/elliptic/lib/elliptic/curve/edwards.js"(t0,m0){var a0=D(),e0=kY(),r0=dQ(),i0=m(),$$=a0.assert;function Q$(N){this.twisted=(N.a|0)!==1,this.mOneA=this.twisted&&(N.a|0)===-1,this.extended=this.mOneA,i0.call(this,"edwards",N),this.a=new e0(N.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new e0(N.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new e0(N.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),$$(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(N.c|0)===1}r0(Q$,i0),m0.exports=Q$,Q$.prototype._mulA=function(N){return this.mOneA?N.redNeg():this.a.redMul(N)},Q$.prototype._mulC=function(N){return this.oneC?N:this.c.redMul(N)},Q$.prototype.jpoint=function(N,Y$,O0,Z$){return this.point(N,Y$,O0,Z$)},Q$.prototype.pointFromX=function(N,Y$){N=new e0(N,16),N.red||(N=N.toRed(this.red));var O0=N.redSqr(),Z$=this.c2.redSub(this.a.redMul(O0)),G$=this.one.redSub(this.c2.redMul(this.d).redMul(O0)),V$=Z$.redMul(G$.redInvm()),U$=V$.redSqrt();if(U$.redSqr().redSub(V$).cmp(this.zero)!==0)throw new Error("invalid point");var X$=U$.fromRed().isOdd();return(Y$&&!X$||!Y$&&X$)&&(U$=U$.redNeg()),this.point(N,U$)},Q$.prototype.pointFromY=function(N,Y$){N=new e0(N,16),N.red||(N=N.toRed(this.red));var O0=N.redSqr(),Z$=O0.redSub(this.c2),G$=O0.redMul(this.d).redMul(this.c2).redSub(this.a),V$=Z$.redMul(G$.redInvm());if(V$.cmp(this.zero)===0){if(Y$)throw new Error("invalid point");return this.point(this.zero,N)}var U$=V$.redSqrt();if(U$.redSqr().redSub(V$).cmp(this.zero)!==0)throw new Error("invalid point");return U$.fromRed().isOdd()!==Y$&&(U$=U$.redNeg()),this.point(U$,N)},Q$.prototype.validate=function(N){if(N.isInfinity())return!0;N.normalize();var Y$=N.x.redSqr(),O0=N.y.redSqr(),Z$=Y$.redMul(this.a).redAdd(O0),G$=this.c2.redMul(this.one.redAdd(this.d.redMul(Y$).redMul(O0)));return Z$.cmp(G$)===0};function $(N,Y$,O0,Z$,G$){i0.BasePoint.call(this,N,"projective"),Y$===null&&O0===null&&Z$===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new e0(Y$,16),this.y=new e0(O0,16),this.z=Z$?new e0(Z$,16):this.curve.one,this.t=G$&&new e0(G$,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}r0($,i0.BasePoint),Q$.prototype.pointFromJSON=function(N){return $.fromJSON(this,N)},Q$.prototype.point=function(N,Y$,O0,Z$){return new $(this,N,Y$,O0,Z$)},$.fromJSON=function(N,Y$){return new $(N,Y$[0],Y$[1],Y$[2])},$.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},$.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},$.prototype._extDbl=function(){var N=this.x.redSqr(),Y$=this.y.redSqr(),O0=this.z.redSqr();O0=O0.redIAdd(O0);var Z$=this.curve._mulA(N),G$=this.x.redAdd(this.y).redSqr().redISub(N).redISub(Y$),V$=Z$.redAdd(Y$),U$=V$.redSub(O0),X$=Z$.redSub(Y$),K$=G$.redMul(U$),I$=V$.redMul(X$),Q=G$.redMul(X$),x=U$.redMul(V$);return this.curve.point(K$,I$,x,Q)},$.prototype._projDbl=function(){var N=this.x.redAdd(this.y).redSqr(),Y$=this.x.redSqr(),O0=this.y.redSqr(),Z$,G$,V$,U$,X$,K$;if(this.curve.twisted){U$=this.curve._mulA(Y$);var I$=U$.redAdd(O0);this.zOne?(Z$=N.redSub(Y$).redSub(O0).redMul(I$.redSub(this.curve.two)),G$=I$.redMul(U$.redSub(O0)),V$=I$.redSqr().redSub(I$).redSub(I$)):(X$=this.z.redSqr(),K$=I$.redSub(X$).redISub(X$),Z$=N.redSub(Y$).redISub(O0).redMul(K$),G$=I$.redMul(U$.redSub(O0)),V$=I$.redMul(K$))}else U$=Y$.redAdd(O0),X$=this.curve._mulC(this.z).redSqr(),K$=U$.redSub(X$).redSub(X$),Z$=this.curve._mulC(N.redISub(U$)).redMul(K$),G$=this.curve._mulC(U$).redMul(Y$.redISub(O0)),V$=U$.redMul(K$);return this.curve.point(Z$,G$,V$)},$.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},$.prototype._extAdd=function(N){var Y$=this.y.redSub(this.x).redMul(N.y.redSub(N.x)),O0=this.y.redAdd(this.x).redMul(N.y.redAdd(N.x)),Z$=this.t.redMul(this.curve.dd).redMul(N.t),G$=this.z.redMul(N.z.redAdd(N.z)),V$=O0.redSub(Y$),U$=G$.redSub(Z$),X$=G$.redAdd(Z$),K$=O0.redAdd(Y$),I$=V$.redMul(U$),Q=X$.redMul(K$),x=V$.redMul(K$),O$=U$.redMul(X$);return this.curve.point(I$,Q,O$,x)},$.prototype._projAdd=function(N){var Y$=this.z.redMul(N.z),O0=Y$.redSqr(),Z$=this.x.redMul(N.x),G$=this.y.redMul(N.y),V$=this.curve.d.redMul(Z$).redMul(G$),U$=O0.redSub(V$),X$=O0.redAdd(V$),K$=this.x.redAdd(this.y).redMul(N.x.redAdd(N.y)).redISub(Z$).redISub(G$),I$=Y$.redMul(U$).redMul(K$),Q,x;return this.curve.twisted?(Q=Y$.redMul(X$).redMul(G$.redSub(this.curve._mulA(Z$))),x=U$.redMul(X$)):(Q=Y$.redMul(X$).redMul(G$.redSub(Z$)),x=this.curve._mulC(U$).redMul(X$)),this.curve.point(I$,Q,x)},$.prototype.add=function(N){return this.isInfinity()?N:N.isInfinity()?this:this.curve.extended?this._extAdd(N):this._projAdd(N)},$.prototype.mul=function(N){return this._hasDoubles(N)?this.curve._fixedNafMul(this,N):this.curve._wnafMul(this,N)},$.prototype.mulAdd=function(N,Y$,O0){return this.curve._wnafMulAdd(1,[this,Y$],[N,O0],2,!1)},$.prototype.jmulAdd=function(N,Y$,O0){return this.curve._wnafMulAdd(1,[this,Y$],[N,O0],2,!0)},$.prototype.normalize=function(){if(this.zOne)return this;var N=this.z.redInvm();return this.x=this.x.redMul(N),this.y=this.y.redMul(N),this.t&&(this.t=this.t.redMul(N)),this.z=this.curve.one,this.zOne=!0,this},$.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},$.prototype.getX=function(){return this.normalize(),this.x.fromRed()},$.prototype.getY=function(){return this.normalize(),this.y.fromRed()},$.prototype.eq=function(N){return this===N||this.getX().cmp(N.getX())===0&&this.getY().cmp(N.getY())===0},$.prototype.eqXToP=function(N){var Y$=N.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(Y$)===0)return!0;for(var O0=N.clone(),Z$=this.curve.redN.redMul(this.z);;){if(O0.iadd(this.curve.n),O0.cmp(this.curve.p)>=0)return!1;if(Y$.redIAdd(Z$),this.x.cmp(Y$)===0)return!0}},$.prototype.toP=$.prototype.normalize,$.prototype.mixedAdd=$.prototype.add}}),NY=pQ({"node_modules/elliptic/lib/elliptic/curve/index.js"(t0){var m0=t0;m0.base=m(),m0.short=x0(),m0.mont=B0(),m0.edwards=_Y()}}),xY=pQ({"node_modules/hash.js/lib/hash/utils.js"(t0){var m0=v0(),a0=dQ();t0.inherits=a0;function e0(T$,Y){return(T$.charCodeAt(Y)&64512)!==55296||Y<0||Y+1>=T$.length?!1:(T$.charCodeAt(Y+1)&64512)===56320}function r0(T$,Y){if(Array.isArray(T$))return T$.slice();if(!T$)return[];var f=[];if(typeof T$=="string")if(Y){if(Y==="hex")for(T$=T$.replace(/[^a-z0-9]+/gi,""),T$.length%2!==0&&(T$="0"+T$),F0=0;F0<T$.length;F0+=2)f.push(parseInt(T$[F0]+T$[F0+1],16))}else for(var D$=0,F0=0;F0<T$.length;F0++){var C$=T$.charCodeAt(F0);C$<128?f[D$++]=C$:C$<2048?(f[D$++]=C$>>6|192,f[D$++]=C$&63|128):e0(T$,F0)?(C$=65536+((C$&1023)<<10)+(T$.charCodeAt(++F0)&1023),f[D$++]=C$>>18|240,f[D$++]=C$>>12&63|128,f[D$++]=C$>>6&63|128,f[D$++]=C$&63|128):(f[D$++]=C$>>12|224,f[D$++]=C$>>6&63|128,f[D$++]=C$&63|128)}else for(F0=0;F0<T$.length;F0++)f[F0]=T$[F0]|0;return f}t0.toArray=r0;function i0(T$){for(var Y="",f=0;f<T$.length;f++)Y+=$(T$[f].toString(16));return Y}t0.toHex=i0;function $$(T$){var Y=T$>>>24|T$>>>8&65280|T$<<8&16711680|(T$&255)<<24;return Y>>>0}t0.htonl=$$;function Q$(T$,Y){for(var f="",D$=0;D$<T$.length;D$++){var F0=T$[D$];Y==="little"&&(F0=$$(F0)),f+=N(F0.toString(16))}return f}t0.toHex32=Q$;function $(T$){return T$.length===1?"0"+T$:T$}t0.zero2=$;function N(T$){return T$.length===7?"0"+T$:T$.length===6?"00"+T$:T$.length===5?"000"+T$:T$.length===4?"0000"+T$:T$.length===3?"00000"+T$:T$.length===2?"000000"+T$:T$.length===1?"0000000"+T$:T$}t0.zero8=N;function Y$(T$,Y,f,D$){var F0=f-Y;m0(F0%4===0);for(var C$=new Array(F0/4),L$=0,R$=Y;L$<C$.length;L$++,R$+=4){var P$;D$==="big"?P$=T$[R$]<<24|T$[R$+1]<<16|T$[R$+2]<<8|T$[R$+3]:P$=T$[R$+3]<<24|T$[R$+2]<<16|T$[R$+1]<<8|T$[R$],C$[L$]=P$>>>0}return C$}t0.join32=Y$;function O0(T$,Y){for(var f=new Array(T$.length*4),D$=0,F0=0;D$<T$.length;D$++,F0+=4){var C$=T$[D$];Y==="big"?(f[F0]=C$>>>24,f[F0+1]=C$>>>16&255,f[F0+2]=C$>>>8&255,f[F0+3]=C$&255):(f[F0+3]=C$>>>24,f[F0+2]=C$>>>16&255,f[F0+1]=C$>>>8&255,f[F0]=C$&255)}return f}t0.split32=O0;function Z$(T$,Y){return T$>>>Y|T$<<32-Y}t0.rotr32=Z$;function G$(T$,Y){return T$<<Y|T$>>>32-Y}t0.rotl32=G$;function V$(T$,Y){return T$+Y>>>0}t0.sum32=V$;function U$(T$,Y,f){return T$+Y+f>>>0}t0.sum32_3=U$;function X$(T$,Y,f,D$){return T$+Y+f+D$>>>0}t0.sum32_4=X$;function K$(T$,Y,f,D$,F0){return T$+Y+f+D$+F0>>>0}t0.sum32_5=K$;function I$(T$,Y,f,D$){var F0=T$[Y],C$=T$[Y+1],L$=D$+C$>>>0,R$=(L$<D$?1:0)+f+F0;T$[Y]=R$>>>0,T$[Y+1]=L$}t0.sum64=I$;function Q(T$,Y,f,D$){var F0=Y+D$>>>0,C$=(F0<Y?1:0)+T$+f;return C$>>>0}t0.sum64_hi=Q;function x(T$,Y,f,D$){var F0=Y+D$;return F0>>>0}t0.sum64_lo=x;function O$(T$,Y,f,D$,F0,C$,L$,R$){var P$=0,z$=Y;z$=z$+D$>>>0,P$+=z$<Y?1:0,z$=z$+C$>>>0,P$+=z$<C$?1:0,z$=z$+R$>>>0,P$+=z$<R$?1:0;var M$=T$+f+F0+L$+P$;return M$>>>0}t0.sum64_4_hi=O$;function J0(T$,Y,f,D$,F0,C$,L$,R$){var P$=Y+D$+C$+R$;return P$>>>0}t0.sum64_4_lo=J0;function J$(T$,Y,f,D$,F0,C$,L$,R$,P$,z$){var M$=0,S$=Y;S$=S$+D$>>>0,M$+=S$<Y?1:0,S$=S$+C$>>>0,M$+=S$<C$?1:0,S$=S$+R$>>>0,M$+=S$<R$?1:0,S$=S$+z$>>>0,M$+=S$<z$?1:0;var Z=T$+f+F0+L$+P$+M$;return Z>>>0}t0.sum64_5_hi=J$;function F$(T$,Y,f,D$,F0,C$,L$,R$,P$,z$){var M$=Y+D$+C$+R$+z$;return M$>>>0}t0.sum64_5_lo=F$;function A$(T$,Y,f){var D$=Y<<32-f|T$>>>f;return D$>>>0}t0.rotr64_hi=A$;function H$(T$,Y,f){var D$=T$<<32-f|Y>>>f;return D$>>>0}t0.rotr64_lo=H$;function W$(T$,Y,f){return T$>>>f}t0.shr64_hi=W$;function E$(T$,Y,f){var D$=T$<<32-f|Y>>>f;return D$>>>0}t0.shr64_lo=E$}}),BY=pQ({"node_modules/hash.js/lib/hash/common.js"(t0){var m0=xY(),a0=v0();function e0(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t0.BlockHash=e0,e0.prototype.update=function(r0,i0){if(r0=m0.toArray(r0,i0),this.pending?this.pending=this.pending.concat(r0):this.pending=r0,this.pendingTotal+=r0.length,this.pending.length>=this._delta8){r0=this.pending;var $$=r0.length%this._delta8;this.pending=r0.slice(r0.length-$$,r0.length),this.pending.length===0&&(this.pending=null),r0=m0.join32(r0,0,r0.length-$$,this.endian);for(var Q$=0;Q$<r0.length;Q$+=this._delta32)this._update(r0,Q$,Q$+this._delta32)}return this},e0.prototype.digest=function(r0){return this.update(this._pad()),a0(this.pending===null),this._digest(r0)},e0.prototype._pad=function(){var r0=this.pendingTotal,i0=this._delta8,$$=i0-(r0+this.padLength)%i0,Q$=new Array($$+this.padLength);Q$[0]=128;for(var $=1;$<$$;$++)Q$[$]=0;if(r0<<=3,this.endian==="big"){for(var N=8;N<this.padLength;N++)Q$[$++]=0;Q$[$++]=0,Q$[$++]=0,Q$[$++]=0,Q$[$++]=0,Q$[$++]=r0>>>24&255,Q$[$++]=r0>>>16&255,Q$[$++]=r0>>>8&255,Q$[$++]=r0&255}else for(Q$[$++]=r0&255,Q$[$++]=r0>>>8&255,Q$[$++]=r0>>>16&255,Q$[$++]=r0>>>24&255,Q$[$++]=0,Q$[$++]=0,Q$[$++]=0,Q$[$++]=0,N=8;N<this.padLength;N++)Q$[$++]=0;return Q$}}}),yY=pQ({"node_modules/hash.js/lib/hash/sha/common.js"(t0){var m0=xY(),a0=m0.rotr32;function e0(O0,Z$,G$,V$){if(O0===0)return r0(Z$,G$,V$);if(O0===1||O0===3)return $$(Z$,G$,V$);if(O0===2)return i0(Z$,G$,V$)}t0.ft_1=e0;function r0(O0,Z$,G$){return O0&Z$^~O0&G$}t0.ch32=r0;function i0(O0,Z$,G$){return O0&Z$^O0&G$^Z$&G$}t0.maj32=i0;function $$(O0,Z$,G$){return O0^Z$^G$}t0.p32=$$;function Q$(O0){return a0(O0,2)^a0(O0,13)^a0(O0,22)}t0.s0_256=Q$;function $(O0){return a0(O0,6)^a0(O0,11)^a0(O0,25)}t0.s1_256=$;function N(O0){return a0(O0,7)^a0(O0,18)^O0>>>3}t0.g0_256=N;function Y$(O0){return a0(O0,17)^a0(O0,19)^O0>>>10}t0.g1_256=Y$}}),wY=pQ({"node_modules/hash.js/lib/hash/sha/1.js"(t0,m0){var a0=xY(),e0=BY(),r0=yY(),i0=a0.rotl32,$$=a0.sum32,Q$=a0.sum32_5,$=r0.ft_1,N=e0.BlockHash,Y$=[1518500249,1859775393,2400959708,3395469782];function O0(){if(!(this instanceof O0))return new O0;N.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}a0.inherits(O0,N),m0.exports=O0,O0.blockSize=512,O0.outSize=160,O0.hmacStrength=80,O0.padLength=64,O0.prototype._update=function(Z$,G$){for(var V$=this.W,U$=0;U$<16;U$++)V$[U$]=Z$[G$+U$];for(;U$<V$.length;U$++)V$[U$]=i0(V$[U$-3]^V$[U$-8]^V$[U$-14]^V$[U$-16],1);var X$=this.h[0],K$=this.h[1],I$=this.h[2],Q=this.h[3],x=this.h[4];for(U$=0;U$<V$.length;U$++){var O$=~~(U$/20),J0=Q$(i0(X$,5),$(O$,K$,I$,Q),x,V$[U$],Y$[O$]);x=Q,Q=I$,I$=i0(K$,30),K$=X$,X$=J0}this.h[0]=$$(this.h[0],X$),this.h[1]=$$(this.h[1],K$),this.h[2]=$$(this.h[2],I$),this.h[3]=$$(this.h[3],Q),this.h[4]=$$(this.h[4],x)},O0.prototype._digest=function(Z$){return Z$==="hex"?a0.toHex32(this.h,"big"):a0.split32(this.h,"big")}}}),pY=pQ({"node_modules/hash.js/lib/hash/sha/256.js"(t0,m0){var a0=xY(),e0=BY(),r0=yY(),i0=v0(),$$=a0.sum32,Q$=a0.sum32_4,$=a0.sum32_5,N=r0.ch32,Y$=r0.maj32,O0=r0.s0_256,Z$=r0.s1_256,G$=r0.g0_256,V$=r0.g1_256,U$=e0.BlockHash,X$=[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 K$(){if(!(this instanceof K$))return new K$;U$.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=X$,this.W=new Array(64)}a0.inherits(K$,U$),m0.exports=K$,K$.blockSize=512,K$.outSize=256,K$.hmacStrength=192,K$.padLength=64,K$.prototype._update=function(I$,Q){for(var x=this.W,O$=0;O$<16;O$++)x[O$]=I$[Q+O$];for(;O$<x.length;O$++)x[O$]=Q$(V$(x[O$-2]),x[O$-7],G$(x[O$-15]),x[O$-16]);var J0=this.h[0],J$=this.h[1],F$=this.h[2],A$=this.h[3],H$=this.h[4],W$=this.h[5],E$=this.h[6],T$=this.h[7];for(i0(this.k.length===x.length),O$=0;O$<x.length;O$++){var Y=$(T$,Z$(H$),N(H$,W$,E$),this.k[O$],x[O$]),f=$$(O0(J0),Y$(J0,J$,F$));T$=E$,E$=W$,W$=H$,H$=$$(A$,Y),A$=F$,F$=J$,J$=J0,J0=$$(Y,f)}this.h[0]=$$(this.h[0],J0),this.h[1]=$$(this.h[1],J$),this.h[2]=$$(this.h[2],F$),this.h[3]=$$(this.h[3],A$),this.h[4]=$$(this.h[4],H$),this.h[5]=$$(this.h[5],W$),this.h[6]=$$(this.h[6],E$),this.h[7]=$$(this.h[7],T$)},K$.prototype._digest=function(I$){return I$==="hex"?a0.toHex32(this.h,"big"):a0.split32(this.h,"big")}}}),C=pQ({"node_modules/hash.js/lib/hash/sha/224.js"(t0,m0){var a0=xY(),e0=pY();function r0(){if(!(this instanceof r0))return new r0;e0.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}a0.inherits(r0,e0),m0.exports=r0,r0.blockSize=512,r0.outSize=224,r0.hmacStrength=192,r0.padLength=64,r0.prototype._digest=function(i0){return i0==="hex"?a0.toHex32(this.h.slice(0,7),"big"):a0.split32(this.h.slice(0,7),"big")}}}),a=pQ({"node_modules/hash.js/lib/hash/sha/512.js"(t0,m0){var a0=xY(),e0=BY(),r0=v0(),i0=a0.rotr64_hi,$$=a0.rotr64_lo,Q$=a0.shr64_hi,$=a0.shr64_lo,N=a0.sum64,Y$=a0.sum64_hi,O0=a0.sum64_lo,Z$=a0.sum64_4_hi,G$=a0.sum64_4_lo,V$=a0.sum64_5_hi,U$=a0.sum64_5_lo,X$=e0.BlockHash,K$=[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 I$(){if(!(this instanceof I$))return new I$;X$.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=K$,this.W=new Array(160)}a0.inherits(I$,X$),m0.exports=I$,I$.blockSize=1024,I$.outSize=512,I$.hmacStrength=192,I$.padLength=128,I$.prototype._prepareBlock=function(f,D$){for(var F0=this.W,C$=0;C$<32;C$++)F0[C$]=f[D$+C$];for(;C$<F0.length;C$+=2){var L$=T$(F0[C$-4],F0[C$-3]),R$=Y(F0[C$-4],F0[C$-3]),P$=F0[C$-14],z$=F0[C$-13],M$=W$(F0[C$-30],F0[C$-29]),S$=E$(F0[C$-30],F0[C$-29]),Z=F0[C$-32],c=F0[C$-31];F0[C$]=Z$(L$,R$,P$,z$,M$,S$,Z,c),F0[C$+1]=G$(L$,R$,P$,z$,M$,S$,Z,c)}},I$.prototype._update=function(f,D$){this._prepareBlock(f,D$);var F0=this.W,C$=this.h[0],L$=this.h[1],R$=this.h[2],P$=this.h[3],z$=this.h[4],M$=this.h[5],S$=this.h[6],Z=this.h[7],c=this.h[8],v$=this.h[9],A0=this.h[10],q$=this.h[11],j$=this.h[12],k$=this.h[13],g$=this.h[14],_$=this.h[15];r0(this.k.length===F0.length);for(var N$=0;N$<F0.length;N$+=2){var x$=g$,G=_$,B=A$(c,v$),B$=H$(c,v$),H0=Q(c,v$,A0,q$,j$,k$),y$=x(c,v$,A0,q$,j$,k$),w$=this.k[N$],p$=this.k[N$+1],f$=F0[N$],c$=F0[N$+1],h$=V$(x$,G,B,B$,H0,y$,w$,p$,f$,c$),d$=U$(x$,G,B,B$,H0,y$,w$,p$,f$,c$);x$=J$(C$,L$),G=F$(C$,L$),B=O$(C$,L$,R$,P$,z$,M$),B$=J0(C$,L$,R$,P$,z$,M$);var V=Y$(x$,G,B,B$),h=O0(x$,G,B,B$);g$=j$,_$=k$,j$=A0,k$=q$,A0=c,q$=v$,c=Y$(S$,Z,h$,d$),v$=O0(Z,Z,h$,d$),S$=z$,Z=M$,z$=R$,M$=P$,R$=C$,P$=L$,C$=Y$(h$,d$,V,h),L$=O0(h$,d$,V,h)}N(this.h,0,C$,L$),N(this.h,2,R$,P$),N(this.h,4,z$,M$),N(this.h,6,S$,Z),N(this.h,8,c,v$),N(this.h,10,A0,q$),N(this.h,12,j$,k$),N(this.h,14,g$,_$)},I$.prototype._digest=function(f){return f==="hex"?a0.toHex32(this.h,"big"):a0.split32(this.h,"big")};function Q(f,D$,F0,C$,L$){var R$=f&F0^~f&L$;return R$<0&&(R$+=4294967296),R$}function x(f,D$,F0,C$,L$,R$){var P$=D$&C$^~D$&R$;return P$<0&&(P$+=4294967296),P$}function O$(f,D$,F0,C$,L$){var R$=f&F0^f&L$^F0&L$;return R$<0&&(R$+=4294967296),R$}function J0(f,D$,F0,C$,L$,R$){var P$=D$&C$^D$&R$^C$&R$;return P$<0&&(P$+=4294967296),P$}function J$(f,D$){var F0=i0(f,D$,28),C$=i0(D$,f,2),L$=i0(D$,f,7),R$=F0^C$^L$;return R$<0&&(R$+=4294967296),R$}function F$(f,D$){var F0=$$(f,D$,28),C$=$$(D$,f,2),L$=$$(D$,f,7),R$=F0^C$^L$;return R$<0&&(R$+=4294967296),R$}function A$(f,D$){var F0=i0(f,D$,14),C$=i0(f,D$,18),L$=i0(D$,f,9),R$=F0^C$^L$;return R$<0&&(R$+=4294967296),R$}function H$(f,D$){var F0=$$(f,D$,14),C$=$$(f,D$,18),L$=$$(D$,f,9),R$=F0^C$^L$;return R$<0&&(R$+=4294967296),R$}function W$(f,D$){var F0=i0(f,D$,1),C$=i0(f,D$,8),L$=Q$(f,D$,7),R$=F0^C$^L$;return R$<0&&(R$+=4294967296),R$}function E$(f,D$){var F0=$$(f,D$,1),C$=$$(f,D$,8),L$=$(f,D$,7),R$=F0^C$^L$;return R$<0&&(R$+=4294967296),R$}function T$(f,D$){var F0=i0(f,D$,19),C$=i0(D$,f,29),L$=Q$(f,D$,6),R$=F0^C$^L$;return R$<0&&(R$+=4294967296),R$}function Y(f,D$){var F0=$$(f,D$,19),C$=$$(D$,f,29),L$=$(f,D$,6),R$=F0^C$^L$;return R$<0&&(R$+=4294967296),R$}}}),y0=pQ({"node_modules/hash.js/lib/hash/sha/384.js"(t0,m0){var a0=xY(),e0=a();function r0(){if(!(this instanceof r0))return new r0;e0.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}a0.inherits(r0,e0),m0.exports=r0,r0.blockSize=1024,r0.outSize=384,r0.hmacStrength=192,r0.padLength=128,r0.prototype._digest=function(i0){return i0==="hex"?a0.toHex32(this.h.slice(0,12),"big"):a0.split32(this.h.slice(0,12),"big")}}}),w0=pQ({"node_modules/hash.js/lib/hash/sha.js"(t0){t0.sha1=wY(),t0.sha224=C(),t0.sha256=pY(),t0.sha384=y0(),t0.sha512=a()}}),fY=pQ({"node_modules/hash.js/lib/hash/ripemd.js"(t0){var m0=xY(),a0=BY(),e0=m0.rotl32,r0=m0.sum32,i0=m0.sum32_3,$$=m0.sum32_4,Q$=a0.BlockHash;function $(){if(!(this instanceof $))return new $;Q$.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}m0.inherits($,Q$),t0.ripemd160=$,$.blockSize=512,$.outSize=160,$.hmacStrength=192,$.padLength=64,$.prototype._update=function(X$,K$){for(var I$=this.h[0],Q=this.h[1],x=this.h[2],O$=this.h[3],J0=this.h[4],J$=I$,F$=Q,A$=x,H$=O$,W$=J0,E$=0;E$<80;E$++){var T$=r0(e0($$(I$,N(E$,Q,x,O$),X$[Z$[E$]+K$],Y$(E$)),V$[E$]),J0);I$=J0,J0=O$,O$=e0(x,10),x=Q,Q=T$,T$=r0(e0($$(J$,N(79-E$,F$,A$,H$),X$[G$[E$]+K$],O0(E$)),U$[E$]),W$),J$=W$,W$=H$,H$=e0(A$,10),A$=F$,F$=T$}T$=i0(this.h[1],x,H$),this.h[1]=i0(this.h[2],O$,W$),this.h[2]=i0(this.h[3],J0,J$),this.h[3]=i0(this.h[4],I$,F$),this.h[4]=i0(this.h[0],Q,A$),this.h[0]=T$},$.prototype._digest=function(X$){return X$==="hex"?m0.toHex32(this.h,"little"):m0.split32(this.h,"little")};function N(X$,K$,I$,Q){return X$<=15?K$^I$^Q:X$<=31?K$&I$|~K$&Q:X$<=47?(K$|~I$)^Q:X$<=63?K$&Q|I$&~Q:K$^(I$|~Q)}function Y$(X$){return X$<=15?0:X$<=31?1518500249:X$<=47?1859775393:X$<=63?2400959708:2840853838}function O0(X$){return X$<=15?1352829926:X$<=31?1548603684:X$<=47?1836072691:X$<=63?2053994217:0}var Z$=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],G$=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],V$=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],U$=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]}}),cY=pQ({"node_modules/hash.js/lib/hash/hmac.js"(t0,m0){var a0=xY(),e0=v0();function r0(i0,$$,Q$){if(!(this instanceof r0))return new r0(i0,$$,Q$);this.Hash=i0,this.blockSize=i0.blockSize/8,this.outSize=i0.outSize/8,this.inner=null,this.outer=null,this._init(a0.toArray($$,Q$))}m0.exports=r0,r0.prototype._init=function(i0){i0.length>this.blockSize&&(i0=new this.Hash().update(i0).digest()),e0(i0.length<=this.blockSize);for(var $$=i0.length;$$<this.blockSize;$$++)i0.push(0);for($$=0;$$<i0.length;$$++)i0[$$]^=54;for(this.inner=new this.Hash().update(i0),$$=0;$$<i0.length;$$++)i0[$$]^=106;this.outer=new this.Hash().update(i0)},r0.prototype.update=function(i0,$$){return this.inner.update(i0,$$),this},r0.prototype.digest=function(i0){return this.outer.update(this.inner.digest()),this.outer.digest(i0)}}}),hY=pQ({"node_modules/hash.js/lib/hash.js"(t0){var m0=t0;m0.utils=xY(),m0.common=BY(),m0.sha=w0(),m0.ripemd=fY(),m0.hmac=cY(),m0.sha1=m0.sha.sha1,m0.sha256=m0.sha.sha256,m0.sha224=m0.sha.sha224,m0.sha384=m0.sha.sha384,m0.sha512=m0.sha.sha512,m0.ripemd160=m0.ripemd.ripemd160}}),dY=pQ({"node_modules/elliptic/lib/elliptic/precomputed/secp256k1.js"(t0,m0){m0.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}}}),bY=pQ({"node_modules/elliptic/lib/elliptic/curves.js"(t0){var m0=t0,a0=hY(),e0=NY(),r0=D(),i0=r0.assert;function $$(N){N.type==="short"?this.curve=new e0.short(N):N.type==="edwards"?this.curve=new e0.edwards(N):this.curve=new e0.mont(N),this.g=this.curve.g,this.n=this.curve.n,this.hash=N.hash,i0(this.g.validate(),"Invalid curve"),i0(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}m0.PresetCurve=$$;function Q$(N,Y$){Object.defineProperty(m0,N,{configurable:!0,enumerable:!0,get:function(){var O0=new $$(Y$);return Object.defineProperty(m0,N,{configurable:!0,enumerable:!0,value:O0}),O0}})}Q$("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:a0.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),Q$("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:a0.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),Q$("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:a0.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),Q$("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:a0.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),Q$("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:a0.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),Q$("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a0.sha256,gRed:!1,g:["9"]}),Q$("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:a0.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var $;try{$=dY()}catch{$=void 0}Q$("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:a0.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",$]})}}),lY=pQ({"node_modules/hmac-drbg/lib/hmac-drbg.js"(t0,m0){var a0=hY(),e0=gY(),r0=v0();function i0($$){if(!(this instanceof i0))return new i0($$);this.hash=$$.hash,this.predResist=!!$$.predResist,this.outLen=this.hash.outSize,this.minEntropy=$$.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var Q$=e0.toArray($$.entropy,$$.entropyEnc||"hex"),$=e0.toArray($$.nonce,$$.nonceEnc||"hex"),N=e0.toArray($$.pers,$$.persEnc||"hex");r0(Q$.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(Q$,$,N)}m0.exports=i0,i0.prototype._init=function($$,Q$,$){var N=$$.concat(Q$).concat($);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var Y$=0;Y$<this.V.length;Y$++)this.K[Y$]=0,this.V[Y$]=1;this._update(N),this._reseed=1,this.reseedInterval=281474976710656},i0.prototype._hmac=function(){return new a0.hmac(this.hash,this.K)},i0.prototype._update=function($$){var Q$=this._hmac().update(this.V).update([0]);$$&&(Q$=Q$.update($$)),this.K=Q$.digest(),this.V=this._hmac().update(this.V).digest(),$$&&(this.K=this._hmac().update(this.V).update([1]).update($$).digest(),this.V=this._hmac().update(this.V).digest())},i0.prototype.reseed=function($$,Q$,$,N){typeof Q$!="string"&&(N=$,$=Q$,Q$=null),$$=e0.toArray($$,Q$),$=e0.toArray($,N),r0($$.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update($$.concat($||[])),this._reseed=1},i0.prototype.generate=function($$,Q$,$,N){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof Q$!="string"&&(N=$,$=Q$,Q$=null),$&&($=e0.toArray($,N||"hex"),this._update($));for(var Y$=[];Y$.length<$$;)this.V=this._hmac().update(this.V).digest(),Y$=Y$.concat(this.V);var O0=Y$.slice(0,$$);return this._update($),this._reseed++,e0.encode(O0,Q$)}}}),oY=pQ({"node_modules/elliptic/lib/elliptic/ec/key.js"(t0,m0){var a0=kY(),e0=D(),r0=e0.assert;function i0($$,Q$){this.ec=$$,this.priv=null,this.pub=null,Q$.priv&&this._importPrivate(Q$.priv,Q$.privEnc),Q$.pub&&this._importPublic(Q$.pub,Q$.pubEnc)}m0.exports=i0,i0.fromPublic=function($$,Q$,$){return Q$ instanceof i0?Q$:new i0($$,{pub:Q$,pubEnc:$})},i0.fromPrivate=function($$,Q$,$){return Q$ instanceof i0?Q$:new i0($$,{priv:Q$,privEnc:$})},i0.prototype.validate=function(){var $$=this.getPublic();return $$.isInfinity()?{result:!1,reason:"Invalid public key"}:$$.validate()?$$.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i0.prototype.getPublic=function($$,Q$){return typeof $$=="string"&&(Q$=$$,$$=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),Q$?this.pub.encode(Q$,$$):this.pub},i0.prototype.getPrivate=function($$){return $$==="hex"?this.priv.toString(16,2):this.priv},i0.prototype._importPrivate=function($$,Q$){this.priv=new a0($$,Q$||16),this.priv=this.priv.umod(this.ec.curve.n)},i0.prototype._importPublic=function($$,Q$){if($$.x||$$.y){this.ec.curve.type==="mont"?r0($$.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&r0($$.x&&$$.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point($$.x,$$.y);return}this.pub=this.ec.curve.decodePoint($$,Q$)},i0.prototype.derive=function($$){return $$.validate()||r0($$.validate(),"public point not validated"),$$.mul(this.priv).getX()},i0.prototype.sign=function($$,Q$,$){return this.ec.sign($$,this,Q$,$)},i0.prototype.verify=function($$,Q$){return this.ec.verify($$,Q$,this)},i0.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}}}),L=pQ({"node_modules/elliptic/lib/elliptic/ec/signature.js"(t0,m0){var a0=kY(),e0=D(),r0=e0.assert;function i0(Y$,O0){if(Y$ instanceof i0)return Y$;this._importDER(Y$,O0)||(r0(Y$.r&&Y$.s,"Signature without r or s"),this.r=new a0(Y$.r,16),this.s=new a0(Y$.s,16),Y$.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=Y$.recoveryParam)}m0.exports=i0;function $$(){this.place=0}function Q$(Y$,O0){var Z$=Y$[O0.place++];if(!(Z$&128))return Z$;var G$=Z$&15;if(G$===0||G$>4)return!1;for(var V$=0,U$=0,X$=O0.place;U$<G$;U$++,X$++)V$<<=8,V$|=Y$[X$],V$>>>=0;return V$<=127?!1:(O0.place=X$,V$)}function $(Y$){for(var O0=0,Z$=Y$.length-1;!Y$[O0]&&!(Y$[O0+1]&128)&&O0<Z$;)O0++;return O0===0?Y$:Y$.slice(O0)}i0.prototype._importDER=function(Y$,O0){Y$=e0.toArray(Y$,O0);var Z$=new $$;if(Y$[Z$.place++]!==48)return!1;var G$=Q$(Y$,Z$);if(G$===!1||G$+Z$.place!==Y$.length||Y$[Z$.place++]!==2)return!1;var V$=Q$(Y$,Z$);if(V$===!1)return!1;var U$=Y$.slice(Z$.place,V$+Z$.place);if(Z$.place+=V$,Y$[Z$.place++]!==2)return!1;var X$=Q$(Y$,Z$);if(X$===!1||Y$.length!==X$+Z$.place)return!1;var K$=Y$.slice(Z$.place,X$+Z$.place);if(U$[0]===0)if(U$[1]&128)U$=U$.slice(1);else return!1;if(K$[0]===0)if(K$[1]&128)K$=K$.slice(1);else return!1;return this.r=new a0(U$),this.s=new a0(K$),this.recoveryParam=null,!0};function N(Y$,O0){if(O0<128){Y$.push(O0);return}var Z$=1+(Math.log(O0)/Math.LN2>>>3);for(Y$.push(Z$|128);--Z$;)Y$.push(O0>>>(Z$<<3)&255);Y$.push(O0)}i0.prototype.toDER=function(Y$){var O0=this.r.toArray(),Z$=this.s.toArray();for(O0[0]&128&&(O0=[0].concat(O0)),Z$[0]&128&&(Z$=[0].concat(Z$)),O0=$(O0),Z$=$(Z$);!Z$[0]&&!(Z$[1]&128);)Z$=Z$.slice(1);var G$=[2];N(G$,O0.length),G$=G$.concat(O0),G$.push(2),N(G$,Z$.length);var V$=G$.concat(Z$),U$=[48];return N(U$,V$.length),U$=U$.concat(V$),e0.encode(U$,Y$)}}}),e=pQ({"node_modules/elliptic/lib/elliptic/ec/index.js"(t0,m0){var a0=kY(),e0=lY(),r0=D(),i0=bY(),$$=T(),Q$=r0.assert,$=oY(),N=L();function Y$(O0){if(!(this instanceof Y$))return new Y$(O0);typeof O0=="string"&&(Q$(Object.prototype.hasOwnProperty.call(i0,O0),"Unknown curve "+O0),O0=i0[O0]),O0 instanceof i0.PresetCurve&&(O0={curve:O0}),this.curve=O0.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=O0.curve.g,this.g.precompute(O0.curve.n.bitLength()+1),this.hash=O0.hash||O0.curve.hash}m0.exports=Y$,Y$.prototype.keyPair=function(O0){return new $(this,O0)},Y$.prototype.keyFromPrivate=function(O0,Z$){return $.fromPrivate(this,O0,Z$)},Y$.prototype.keyFromPublic=function(O0,Z$){return $.fromPublic(this,O0,Z$)},Y$.prototype.genKeyPair=function(O0){O0||(O0={});for(var Z$=new e0({hash:this.hash,pers:O0.pers,persEnc:O0.persEnc||"utf8",entropy:O0.entropy||$$(this.hash.hmacStrength),entropyEnc:O0.entropy&&O0.entropyEnc||"utf8",nonce:this.n.toArray()}),G$=this.n.byteLength(),V$=this.n.sub(new a0(2));;){var U$=new a0(Z$.generate(G$));if(!(U$.cmp(V$)>0))return U$.iaddn(1),this.keyFromPrivate(U$)}},Y$.prototype._truncateToN=function(O0,Z$){var G$=O0.byteLength()*8-this.n.bitLength();return G$>0&&(O0=O0.ushrn(G$)),!Z$&&O0.cmp(this.n)>=0?O0.sub(this.n):O0},Y$.prototype.sign=function(O0,Z$,G$,V$){typeof G$=="object"&&(V$=G$,G$=null),V$||(V$={}),Z$=this.keyFromPrivate(Z$,G$),O0=this._truncateToN(new a0(O0,16));for(var U$=this.n.byteLength(),X$=Z$.getPrivate().toArray("be",U$),K$=O0.toArray("be",U$),I$=new e0({hash:this.hash,entropy:X$,nonce:K$,pers:V$.pers,persEnc:V$.persEnc||"utf8"}),Q=this.n.sub(new a0(1)),x=0;;x++){var O$=V$.k?V$.k(x):new a0(I$.generate(this.n.byteLength()));if(O$=this._truncateToN(O$,!0),!(O$.cmpn(1)<=0||O$.cmp(Q)>=0)){var J0=this.g.mul(O$);if(!J0.isInfinity()){var J$=J0.getX(),F$=J$.umod(this.n);if(F$.cmpn(0)!==0){var A$=O$.invm(this.n).mul(F$.mul(Z$.getPrivate()).iadd(O0));if(A$=A$.umod(this.n),A$.cmpn(0)!==0){var H$=(J0.getY().isOdd()?1:0)|(J$.cmp(F$)!==0?2:0);return V$.canonical&&A$.cmp(this.nh)>0&&(A$=this.n.sub(A$),H$^=1),new N({r:F$,s:A$,recoveryParam:H$})}}}}}},Y$.prototype.verify=function(O0,Z$,G$,V$){O0=this._truncateToN(new a0(O0,16)),G$=this.keyFromPublic(G$,V$),Z$=new N(Z$,"hex");var{r:U$,s:X$}=Z$;if(U$.cmpn(1)<0||U$.cmp(this.n)>=0||X$.cmpn(1)<0||X$.cmp(this.n)>=0)return!1;var K$=X$.invm(this.n),I$=K$.mul(O0).umod(this.n),Q=K$.mul(U$).umod(this.n),x;return this.curve._maxwellTrick?(x=this.g.jmulAdd(I$,G$.getPublic(),Q),x.isInfinity()?!1:x.eqXToP(U$)):(x=this.g.mulAdd(I$,G$.getPublic(),Q),x.isInfinity()?!1:x.getX().umod(this.n).cmp(U$)===0)},Y$.prototype.recoverPubKey=function(O0,Z$,G$,V$){Q$((3&G$)===G$,"The recovery param is more than two bits"),Z$=new N(Z$,V$);var U$=this.n,X$=new a0(O0),K$=Z$.r,I$=Z$.s,Q=G$&1,x=G$>>1;if(K$.cmp(this.curve.p.umod(this.curve.n))>=0&&x)throw new Error("Unable to find sencond key candinate");x?K$=this.curve.pointFromX(K$.add(this.curve.n),Q):K$=this.curve.pointFromX(K$,Q);var O$=Z$.r.invm(U$),J0=U$.sub(X$).mul(O$).umod(U$),J$=I$.mul(O$).umod(U$);return this.g.mulAdd(J0,K$,J$)},Y$.prototype.getKeyRecoveryParam=function(O0,Z$,G$,V$){if(Z$=new N(Z$,V$),Z$.recoveryParam!==null)return Z$.recoveryParam;for(var U$=0;U$<4;U$++){var X$;try{X$=this.recoverPubKey(O0,Z$,U$)}catch{continue}if(X$.eq(G$))return U$}throw new Error("Unable to find valid recovery factor")}}}),p0=pQ({"node_modules/elliptic/lib/elliptic/eddsa/key.js"(t0,m0){var a0=D(),e0=a0.assert,r0=a0.parseBytes,i0=a0.cachedProperty;function $$(Q$,$){this.eddsa=Q$,this._secret=r0($.secret),Q$.isPoint($.pub)?this._pub=$.pub:this._pubBytes=r0($.pub)}$$.fromPublic=function(Q$,$){return $ instanceof $$?$:new $$(Q$,{pub:$})},$$.fromSecret=function(Q$,$){return $ instanceof $$?$:new $$(Q$,{secret:$})},$$.prototype.secret=function(){return this._secret},i0($$,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),i0($$,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),i0($$,"privBytes",function(){var Q$=this.eddsa,$=this.hash(),N=Q$.encodingLength-1,Y$=$.slice(0,Q$.encodingLength);return Y$[0]&=248,Y$[N]&=127,Y$[N]|=64,Y$}),i0($$,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),i0($$,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),i0($$,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),$$.prototype.sign=function(Q$){return e0(this._secret,"KeyPair can only verify"),this.eddsa.sign(Q$,this)},$$.prototype.verify=function(Q$,$){return this.eddsa.verify(Q$,$,this)},$$.prototype.getSecret=function(Q$){return e0(this._secret,"KeyPair is public only"),a0.encode(this.secret(),Q$)},$$.prototype.getPublic=function(Q$){return a0.encode(this.pubBytes(),Q$)},m0.exports=$$}}),f0=pQ({"node_modules/elliptic/lib/elliptic/eddsa/signature.js"(t0,m0){var a0=kY(),e0=D(),r0=e0.assert,i0=e0.cachedProperty,$$=e0.parseBytes;function Q$($,N){this.eddsa=$,typeof N!="object"&&(N=$$(N)),Array.isArray(N)&&(N={R:N.slice(0,$.encodingLength),S:N.slice($.encodingLength)}),r0(N.R&&N.S,"Signature without R or S"),$.isPoint(N.R)&&(this._R=N.R),N.S instanceof a0&&(this._S=N.S),this._Rencoded=Array.isArray(N.R)?N.R:N.Rencoded,this._Sencoded=Array.isArray(N.S)?N.S:N.Sencoded}i0(Q$,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),i0(Q$,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),i0(Q$,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),i0(Q$,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),Q$.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},Q$.prototype.toHex=function(){return e0.encode(this.toBytes(),"hex").toUpperCase()},m0.exports=Q$}}),uY=pQ({"node_modules/elliptic/lib/elliptic/eddsa/index.js"(t0,m0){var a0=hY(),e0=bY(),r0=D(),i0=r0.assert,$$=r0.parseBytes,Q$=p0(),$=f0();function N(Y$){if(i0(Y$==="ed25519","only tested with ed25519 so far"),!(this instanceof N))return new N(Y$);Y$=e0[Y$].curve,this.curve=Y$,this.g=Y$.g,this.g.precompute(Y$.n.bitLength()+1),this.pointClass=Y$.point().constructor,this.encodingLength=Math.ceil(Y$.n.bitLength()/8),this.hash=a0.sha512}m0.exports=N,N.prototype.sign=function(Y$,O0){Y$=$$(Y$);var Z$=this.keyFromSecret(O0),G$=this.hashInt(Z$.messagePrefix(),Y$),V$=this.g.mul(G$),U$=this.encodePoint(V$),X$=this.hashInt(U$,Z$.pubBytes(),Y$).mul(Z$.priv()),K$=G$.add(X$).umod(this.curve.n);return this.makeSignature({R:V$,S:K$,Rencoded:U$})},N.prototype.verify=function(Y$,O0,Z$){Y$=$$(Y$),O0=this.makeSignature(O0);var G$=this.keyFromPublic(Z$),V$=this.hashInt(O0.Rencoded(),G$.pubBytes(),Y$),U$=this.g.mul(O0.S()),X$=O0.R().add(G$.pub().mul(V$));return X$.eq(U$)},N.prototype.hashInt=function(){for(var Y$=this.hash(),O0=0;O0<arguments.length;O0++)Y$.update(arguments[O0]);return r0.intFromLE(Y$.digest()).umod(this.curve.n)},N.prototype.keyFromPublic=function(Y$){return Q$.fromPublic(this,Y$)},N.prototype.keyFromSecret=function(Y$){return Q$.fromSecret(this,Y$)},N.prototype.makeSignature=function(Y$){return Y$ instanceof $?Y$:new $(this,Y$)},N.prototype.encodePoint=function(Y$){var O0=Y$.getY().toArray("le",this.encodingLength);return O0[this.encodingLength-1]|=Y$.getX().isOdd()?128:0,O0},N.prototype.decodePoint=function(Y$){Y$=r0.parseBytes(Y$);var O0=Y$.length-1,Z$=Y$.slice(0,O0).concat(Y$[O0]&-129),G$=(Y$[O0]&128)!==0,V$=r0.intFromLE(Z$);return this.curve.pointFromY(V$,G$)},N.prototype.encodeInt=function(Y$){return Y$.toArray("le",this.encodingLength)},N.prototype.decodeInt=function(Y$){return r0.intFromLE(Y$)},N.prototype.isPoint=function(Y$){return Y$ instanceof this.pointClass}}}),nY=pQ({"node_modules/elliptic/lib/elliptic.js"(t0){var m0=t0;m0.version=jY().version,m0.utils=D(),m0.rand=T(),m0.curve=NY(),m0.curves=bY(),m0.ec=e(),m0.eddsa=uY()}}),sY=pQ({"node_modules/asn1.js/node_modules/bn.js/lib/bn.js"(t0,m0){(function(a0,e0){function r0(E$,T$){if(!E$)throw new Error(T$||"Assertion failed")}function i0(E$,T$){E$.super_=T$;var Y=function(){};Y.prototype=T$.prototype,E$.prototype=new Y,E$.prototype.constructor=E$}function $$(E$,T$,Y){if($$.isBN(E$))return E$;this.negative=0,this.words=null,this.length=0,this.red=null,E$!==null&&((T$==="le"||T$==="be")&&(Y=T$,T$=10),this._init(E$||0,T$||10,Y||"be"))}typeof a0=="object"?a0.exports=$$:e0.BN=$$,$$.BN=$$,$$.wordSize=26;var Q$=G0;$$.isBN=function(E$){return E$ instanceof $$?!0:E$!==null&&typeof E$=="object"&&E$.constructor.wordSize===$$.wordSize&&Array.isArray(E$.words)},$$.max=function(E$,T$){return E$.cmp(T$)>0?E$:T$},$$.min=function(E$,T$){return E$.cmp(T$)<0?E$:T$},$$.prototype._init=function(E$,T$,Y){if(typeof E$=="number")return this._initNumber(E$,T$,Y);if(typeof E$=="object")return this._initArray(E$,T$,Y);T$==="hex"&&(T$=16),r0(T$===(T$|0)&&T$>=2&&T$<=36),E$=E$.toString().replace(/\s+/g,"");var f=0;E$[0]==="-"&&(f++,this.negative=1),f<E$.length&&(T$===16?this._parseHex(E$,f,Y):(this._parseBase(E$,T$,f),Y==="le"&&this._initArray(this.toArray(),T$,Y)))},$$.prototype._initNumber=function(E$,T$,Y){E$<0&&(this.negative=1,E$=-E$),E$<67108864?(this.words=[E$&67108863],this.length=1):E$<4503599627370496?(this.words=[E$&67108863,E$/67108864&67108863],this.length=2):(r0(E$<9007199254740992),this.words=[E$&67108863,E$/67108864&67108863,1],this.length=3),Y==="le"&&this._initArray(this.toArray(),T$,Y)},$$.prototype._initArray=function(E$,T$,Y){if(r0(typeof E$.length=="number"),E$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E$.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$,F0,C$=0;if(Y==="be")for(f=E$.length-1,D$=0;f>=0;f-=3)F0=E$[f]|E$[f-1]<<8|E$[f-2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);else if(Y==="le")for(f=0,D$=0;f<E$.length;f+=3)F0=E$[f]|E$[f+1]<<8|E$[f+2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);return this.strip()};function $(E$,T$){var Y=E$.charCodeAt(T$);return Y>=65&&Y<=70?Y-55:Y>=97&&Y<=102?Y-87:Y-48&15}function N(E$,T$,Y){var f=$(E$,Y);return Y-1>=T$&&(f|=$(E$,Y-1)<<4),f}$$.prototype._parseHex=function(E$,T$,Y){this.length=Math.ceil((E$.length-T$)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$=0,F0=0,C$;if(Y==="be")for(f=E$.length-1;f>=T$;f-=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8;else{var L$=E$.length-T$;for(f=L$%2===0?T$+1:T$;f<E$.length;f+=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8}this.strip()};function Y$(E$,T$,Y,f){for(var D$=0,F0=Math.min(E$.length,Y),C$=T$;C$<F0;C$++){var L$=E$.charCodeAt(C$)-48;D$*=f,L$>=49?D$+=L$-49+10:L$>=17?D$+=L$-17+10:D$+=L$}return D$}$$.prototype._parseBase=function(E$,T$,Y){this.words=[0],this.length=1;for(var f=0,D$=1;D$<=67108863;D$*=T$)f++;f--,D$=D$/T$|0;for(var F0=E$.length-Y,C$=F0%f,L$=Math.min(F0,F0-C$)+Y,R$=0,P$=Y;P$<L$;P$+=f)R$=Y$(E$,P$,P$+f,T$),this.imuln(D$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$);if(C$!==0){var z$=1;for(R$=Y$(E$,P$,E$.length,T$),P$=0;P$<C$;P$++)z$*=T$;this.imuln(z$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$)}this.strip()},$$.prototype.copy=function(E$){E$.words=new Array(this.length);for(var T$=0;T$<this.length;T$++)E$.words[T$]=this.words[T$];E$.length=this.length,E$.negative=this.negative,E$.red=this.red},$$.prototype.clone=function(){var E$=new $$(null);return this.copy(E$),E$},$$.prototype._expand=function(E$){for(;this.length<E$;)this.words[this.length++]=0;return this},$$.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},$$.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},$$.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var O0=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],Z$=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],G$=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];$$.prototype.toString=function(E$,T$){E$=E$||10,T$=T$|0||1;var Y;if(E$===16||E$==="hex"){Y="";for(var f=0,D$=0,F0=0;F0<this.length;F0++){var C$=this.words[F0],L$=((C$<<f|D$)&16777215).toString(16);D$=C$>>>24-f&16777215,D$!==0||F0!==this.length-1?Y=O0[6-L$.length]+L$+Y:Y=L$+Y,f+=2,f>=26&&(f-=26,F0--)}for(D$!==0&&(Y=D$.toString(16)+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}if(E$===(E$|0)&&E$>=2&&E$<=36){var R$=Z$[E$],P$=G$[E$];Y="";var z$=this.clone();for(z$.negative=0;!z$.isZero();){var M$=z$.modn(P$).toString(E$);z$=z$.idivn(P$),z$.isZero()?Y=M$+Y:Y=O0[R$-M$.length]+M$+Y}for(this.isZero()&&(Y="0"+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}r0(!1,"Base should be between 2 and 36")},$$.prototype.toNumber=function(){var E$=this.words[0];return this.length===2?E$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?E$+=4503599627370496+this.words[1]*67108864:this.length>2&&r0(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-E$:E$},$$.prototype.toJSON=function(){return this.toString(16)},$$.prototype.toBuffer=function(E$,T$){return r0(typeof Q$<"u"),this.toArrayLike(Q$,E$,T$)},$$.prototype.toArray=function(E$,T$){return this.toArrayLike(Array,E$,T$)},$$.prototype.toArrayLike=function(E$,T$,Y){var f=this.byteLength(),D$=Y||Math.max(1,f);r0(f<=D$,"byte array longer than desired length"),r0(D$>0,"Requested array length <= 0"),this.strip();var F0=T$==="le",C$=new E$(D$),L$,R$,P$=this.clone();if(F0){for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[R$]=L$;for(;R$<D$;R$++)C$[R$]=0}else{for(R$=0;R$<D$-f;R$++)C$[R$]=0;for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[D$-R$-1]=L$}return C$},Math.clz32?$$.prototype._countBits=function(E$){return 32-Math.clz32(E$)}:$$.prototype._countBits=function(E$){var T$=E$,Y=0;return T$>=4096&&(Y+=13,T$>>>=13),T$>=64&&(Y+=7,T$>>>=7),T$>=8&&(Y+=4,T$>>>=4),T$>=2&&(Y+=2,T$>>>=2),Y+T$},$$.prototype._zeroBits=function(E$){if(E$===0)return 26;var T$=E$,Y=0;return(T$&8191)===0&&(Y+=13,T$>>>=13),(T$&127)===0&&(Y+=7,T$>>>=7),(T$&15)===0&&(Y+=4,T$>>>=4),(T$&3)===0&&(Y+=2,T$>>>=2),(T$&1)===0&&Y++,Y},$$.prototype.bitLength=function(){var E$=this.words[this.length-1],T$=this._countBits(E$);return(this.length-1)*26+T$};function V$(E$){for(var T$=new Array(E$.bitLength()),Y=0;Y<T$.length;Y++){var f=Y/26|0,D$=Y%26;T$[Y]=(E$.words[f]&1<<D$)>>>D$}return T$}$$.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E$=0,T$=0;T$<this.length;T$++){var Y=this._zeroBits(this.words[T$]);if(E$+=Y,Y!==26)break}return E$},$$.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},$$.prototype.toTwos=function(E$){return this.negative!==0?this.abs().inotn(E$).iaddn(1):this.clone()},$$.prototype.fromTwos=function(E$){return this.testn(E$-1)?this.notn(E$).iaddn(1).ineg():this.clone()},$$.prototype.isNeg=function(){return this.negative!==0},$$.prototype.neg=function(){return this.clone().ineg()},$$.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},$$.prototype.iuor=function(E$){for(;this.length<E$.length;)this.words[this.length++]=0;for(var T$=0;T$<E$.length;T$++)this.words[T$]=this.words[T$]|E$.words[T$];return this.strip()},$$.prototype.ior=function(E$){return r0((this.negative|E$.negative)===0),this.iuor(E$)},$$.prototype.or=function(E$){return this.length>E$.length?this.clone().ior(E$):E$.clone().ior(this)},$$.prototype.uor=function(E$){return this.length>E$.length?this.clone().iuor(E$):E$.clone().iuor(this)},$$.prototype.iuand=function(E$){var T$;this.length>E$.length?T$=E$:T$=this;for(var Y=0;Y<T$.length;Y++)this.words[Y]=this.words[Y]&E$.words[Y];return this.length=T$.length,this.strip()},$$.prototype.iand=function(E$){return r0((this.negative|E$.negative)===0),this.iuand(E$)},$$.prototype.and=function(E$){return this.length>E$.length?this.clone().iand(E$):E$.clone().iand(this)},$$.prototype.uand=function(E$){return this.length>E$.length?this.clone().iuand(E$):E$.clone().iuand(this)},$$.prototype.iuxor=function(E$){var T$,Y;this.length>E$.length?(T$=this,Y=E$):(T$=E$,Y=this);for(var f=0;f<Y.length;f++)this.words[f]=T$.words[f]^Y.words[f];if(this!==T$)for(;f<T$.length;f++)this.words[f]=T$.words[f];return this.length=T$.length,this.strip()},$$.prototype.ixor=function(E$){return r0((this.negative|E$.negative)===0),this.iuxor(E$)},$$.prototype.xor=function(E$){return this.length>E$.length?this.clone().ixor(E$):E$.clone().ixor(this)},$$.prototype.uxor=function(E$){return this.length>E$.length?this.clone().iuxor(E$):E$.clone().iuxor(this)},$$.prototype.inotn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=Math.ceil(E$/26)|0,Y=E$%26;this._expand(T$),Y>0&&T$--;for(var f=0;f<T$;f++)this.words[f]=~this.words[f]&67108863;return Y>0&&(this.words[f]=~this.words[f]&67108863>>26-Y),this.strip()},$$.prototype.notn=function(E$){return this.clone().inotn(E$)},$$.prototype.setn=function(E$,T$){r0(typeof E$=="number"&&E$>=0);var Y=E$/26|0,f=E$%26;return this._expand(Y+1),T$?this.words[Y]=this.words[Y]|1<<f:this.words[Y]=this.words[Y]&~(1<<f),this.strip()},$$.prototype.iadd=function(E$){var T$;if(this.negative!==0&&E$.negative===0)return this.negative=0,T$=this.isub(E$),this.negative^=1,this._normSign();if(this.negative===0&&E$.negative!==0)return E$.negative=0,T$=this.isub(E$),E$.negative=1,T$._normSign();var Y,f;this.length>E$.length?(Y=this,f=E$):(Y=E$,f=this);for(var D$=0,F0=0;F0<f.length;F0++)T$=(Y.words[F0]|0)+(f.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;for(;D$!==0&&F0<Y.length;F0++)T$=(Y.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;if(this.length=Y.length,D$!==0)this.words[this.length]=D$,this.length++;else if(Y!==this)for(;F0<Y.length;F0++)this.words[F0]=Y.words[F0];return this},$$.prototype.add=function(E$){var T$;return E$.negative!==0&&this.negative===0?(E$.negative=0,T$=this.sub(E$),E$.negative^=1,T$):E$.negative===0&&this.negative!==0?(this.negative=0,T$=E$.sub(this),this.negative=1,T$):this.length>E$.length?this.clone().iadd(E$):E$.clone().iadd(this)},$$.prototype.isub=function(E$){if(E$.negative!==0){E$.negative=0;var T$=this.iadd(E$);return E$.negative=1,T$._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(E$),this.negative=1,this._normSign();var Y=this.cmp(E$);if(Y===0)return this.negative=0,this.length=1,this.words[0]=0,this;var f,D$;Y>0?(f=this,D$=E$):(f=E$,D$=this);for(var F0=0,C$=0;C$<D$.length;C$++)T$=(f.words[C$]|0)-(D$.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;for(;F0!==0&&C$<f.length;C$++)T$=(f.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;if(F0===0&&C$<f.length&&f!==this)for(;C$<f.length;C$++)this.words[C$]=f.words[C$];return this.length=Math.max(this.length,C$),f!==this&&(this.negative=1),this.strip()},$$.prototype.sub=function(E$){return this.clone().isub(E$)};function U$(E$,T$,Y){Y.negative=T$.negative^E$.negative;var f=E$.length+T$.length|0;Y.length=f,f=f-1|0;var D$=E$.words[0]|0,F0=T$.words[0]|0,C$=D$*F0,L$=C$&67108863,R$=C$/67108864|0;Y.words[0]=L$;for(var P$=1;P$<f;P$++){for(var z$=R$>>>26,M$=R$&67108863,S$=Math.min(P$,T$.length-1),Z=Math.max(0,P$-E$.length+1);Z<=S$;Z++){var c=P$-Z|0;D$=E$.words[c]|0,F0=T$.words[Z]|0,C$=D$*F0+M$,z$+=C$/67108864|0,M$=C$&67108863}Y.words[P$]=M$|0,R$=z$|0}return R$!==0?Y.words[P$]=R$|0:Y.length--,Y.strip()}var X$=function(E$,T$,Y){var f=E$.words,D$=T$.words,F0=Y.words,C$=0,L$,R$,P$,z$=f[0]|0,M$=z$&8191,S$=z$>>>13,Z=f[1]|0,c=Z&8191,v$=Z>>>13,A0=f[2]|0,q$=A0&8191,j$=A0>>>13,k$=f[3]|0,g$=k$&8191,_$=k$>>>13,N$=f[4]|0,x$=N$&8191,G=N$>>>13,B=f[5]|0,B$=B&8191,H0=B>>>13,y$=f[6]|0,w$=y$&8191,p$=y$>>>13,f$=f[7]|0,c$=f$&8191,h$=f$>>>13,d$=f[8]|0,V=d$&8191,h=d$>>>13,W0=f[9]|0,E0=W0&8191,b$=W0>>>13,l$=D$[0]|0,o$=l$&8191,u$=l$>>>13,n$=D$[1]|0,s$=n$&8191,t$=n$>>>13,U=D$[2]|0,d=U&8191,m$=U>>>13,T0=D$[3]|0,a$=T0&8191,e$=T0>>>13,r$=D$[4]|0,i$=r$&8191,$Q=r$>>>13,QQ=D$[5]|0,YQ=QQ&8191,X=QQ>>>13,b=D$[6]|0,ZQ=b&8191,D0=b>>>13,GQ=D$[7]|0,VQ=GQ&8191,UQ=GQ>>>13,XQ=D$[8]|0,KQ=XQ&8191,IQ=XQ>>>13,OQ=D$[9]|0,K=OQ&8191,l=OQ>>>13;Y.negative=E$.negative^T$.negative,Y.length=19,L$=Math.imul(M$,o$),R$=Math.imul(M$,u$),R$=R$+Math.imul(S$,o$)|0,P$=Math.imul(S$,u$);var JQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(JQ>>>26)|0,JQ&=67108863,L$=Math.imul(c,o$),R$=Math.imul(c,u$),R$=R$+Math.imul(v$,o$)|0,P$=Math.imul(v$,u$),L$=L$+Math.imul(M$,s$)|0,R$=R$+Math.imul(M$,t$)|0,R$=R$+Math.imul(S$,s$)|0,P$=P$+Math.imul(S$,t$)|0;var C0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(C0>>>26)|0,C0&=67108863,L$=Math.imul(q$,o$),R$=Math.imul(q$,u$),R$=R$+Math.imul(j$,o$)|0,P$=Math.imul(j$,u$),L$=L$+Math.imul(c,s$)|0,R$=R$+Math.imul(c,t$)|0,R$=R$+Math.imul(v$,s$)|0,P$=P$+Math.imul(v$,t$)|0,L$=L$+Math.imul(M$,d)|0,R$=R$+Math.imul(M$,m$)|0,R$=R$+Math.imul(S$,d)|0,P$=P$+Math.imul(S$,m$)|0;var FQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(FQ>>>26)|0,FQ&=67108863,L$=Math.imul(g$,o$),R$=Math.imul(g$,u$),R$=R$+Math.imul(_$,o$)|0,P$=Math.imul(_$,u$),L$=L$+Math.imul(q$,s$)|0,R$=R$+Math.imul(q$,t$)|0,R$=R$+Math.imul(j$,s$)|0,P$=P$+Math.imul(j$,t$)|0,L$=L$+Math.imul(c,d)|0,R$=R$+Math.imul(c,m$)|0,R$=R$+Math.imul(v$,d)|0,P$=P$+Math.imul(v$,m$)|0,L$=L$+Math.imul(M$,a$)|0,R$=R$+Math.imul(M$,e$)|0,R$=R$+Math.imul(S$,a$)|0,P$=P$+Math.imul(S$,e$)|0;var AQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(AQ>>>26)|0,AQ&=67108863,L$=Math.imul(x$,o$),R$=Math.imul(x$,u$),R$=R$+Math.imul(G,o$)|0,P$=Math.imul(G,u$),L$=L$+Math.imul(g$,s$)|0,R$=R$+Math.imul(g$,t$)|0,R$=R$+Math.imul(_$,s$)|0,P$=P$+Math.imul(_$,t$)|0,L$=L$+Math.imul(q$,d)|0,R$=R$+Math.imul(q$,m$)|0,R$=R$+Math.imul(j$,d)|0,P$=P$+Math.imul(j$,m$)|0,L$=L$+Math.imul(c,a$)|0,R$=R$+Math.imul(c,e$)|0,R$=R$+Math.imul(v$,a$)|0,P$=P$+Math.imul(v$,e$)|0,L$=L$+Math.imul(M$,i$)|0,R$=R$+Math.imul(M$,$Q)|0,R$=R$+Math.imul(S$,i$)|0,P$=P$+Math.imul(S$,$Q)|0;var HQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(HQ>>>26)|0,HQ&=67108863,L$=Math.imul(B$,o$),R$=Math.imul(B$,u$),R$=R$+Math.imul(H0,o$)|0,P$=Math.imul(H0,u$),L$=L$+Math.imul(x$,s$)|0,R$=R$+Math.imul(x$,t$)|0,R$=R$+Math.imul(G,s$)|0,P$=P$+Math.imul(G,t$)|0,L$=L$+Math.imul(g$,d)|0,R$=R$+Math.imul(g$,m$)|0,R$=R$+Math.imul(_$,d)|0,P$=P$+Math.imul(_$,m$)|0,L$=L$+Math.imul(q$,a$)|0,R$=R$+Math.imul(q$,e$)|0,R$=R$+Math.imul(j$,a$)|0,P$=P$+Math.imul(j$,e$)|0,L$=L$+Math.imul(c,i$)|0,R$=R$+Math.imul(c,$Q)|0,R$=R$+Math.imul(v$,i$)|0,P$=P$+Math.imul(v$,$Q)|0,L$=L$+Math.imul(M$,YQ)|0,R$=R$+Math.imul(M$,X)|0,R$=R$+Math.imul(S$,YQ)|0,P$=P$+Math.imul(S$,X)|0;var WQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(WQ>>>26)|0,WQ&=67108863,L$=Math.imul(w$,o$),R$=Math.imul(w$,u$),R$=R$+Math.imul(p$,o$)|0,P$=Math.imul(p$,u$),L$=L$+Math.imul(B$,s$)|0,R$=R$+Math.imul(B$,t$)|0,R$=R$+Math.imul(H0,s$)|0,P$=P$+Math.imul(H0,t$)|0,L$=L$+Math.imul(x$,d)|0,R$=R$+Math.imul(x$,m$)|0,R$=R$+Math.imul(G,d)|0,P$=P$+Math.imul(G,m$)|0,L$=L$+Math.imul(g$,a$)|0,R$=R$+Math.imul(g$,e$)|0,R$=R$+Math.imul(_$,a$)|0,P$=P$+Math.imul(_$,e$)|0,L$=L$+Math.imul(q$,i$)|0,R$=R$+Math.imul(q$,$Q)|0,R$=R$+Math.imul(j$,i$)|0,P$=P$+Math.imul(j$,$Q)|0,L$=L$+Math.imul(c,YQ)|0,R$=R$+Math.imul(c,X)|0,R$=R$+Math.imul(v$,YQ)|0,P$=P$+Math.imul(v$,X)|0,L$=L$+Math.imul(M$,ZQ)|0,R$=R$+Math.imul(M$,D0)|0,R$=R$+Math.imul(S$,ZQ)|0,P$=P$+Math.imul(S$,D0)|0;var EQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(EQ>>>26)|0,EQ&=67108863,L$=Math.imul(c$,o$),R$=Math.imul(c$,u$),R$=R$+Math.imul(h$,o$)|0,P$=Math.imul(h$,u$),L$=L$+Math.imul(w$,s$)|0,R$=R$+Math.imul(w$,t$)|0,R$=R$+Math.imul(p$,s$)|0,P$=P$+Math.imul(p$,t$)|0,L$=L$+Math.imul(B$,d)|0,R$=R$+Math.imul(B$,m$)|0,R$=R$+Math.imul(H0,d)|0,P$=P$+Math.imul(H0,m$)|0,L$=L$+Math.imul(x$,a$)|0,R$=R$+Math.imul(x$,e$)|0,R$=R$+Math.imul(G,a$)|0,P$=P$+Math.imul(G,e$)|0,L$=L$+Math.imul(g$,i$)|0,R$=R$+Math.imul(g$,$Q)|0,R$=R$+Math.imul(_$,i$)|0,P$=P$+Math.imul(_$,$Q)|0,L$=L$+Math.imul(q$,YQ)|0,R$=R$+Math.imul(q$,X)|0,R$=R$+Math.imul(j$,YQ)|0,P$=P$+Math.imul(j$,X)|0,L$=L$+Math.imul(c,ZQ)|0,R$=R$+Math.imul(c,D0)|0,R$=R$+Math.imul(v$,ZQ)|0,P$=P$+Math.imul(v$,D0)|0,L$=L$+Math.imul(M$,VQ)|0,R$=R$+Math.imul(M$,UQ)|0,R$=R$+Math.imul(S$,VQ)|0,P$=P$+Math.imul(S$,UQ)|0;var TQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(TQ>>>26)|0,TQ&=67108863,L$=Math.imul(V,o$),R$=Math.imul(V,u$),R$=R$+Math.imul(h,o$)|0,P$=Math.imul(h,u$),L$=L$+Math.imul(c$,s$)|0,R$=R$+Math.imul(c$,t$)|0,R$=R$+Math.imul(h$,s$)|0,P$=P$+Math.imul(h$,t$)|0,L$=L$+Math.imul(w$,d)|0,R$=R$+Math.imul(w$,m$)|0,R$=R$+Math.imul(p$,d)|0,P$=P$+Math.imul(p$,m$)|0,L$=L$+Math.imul(B$,a$)|0,R$=R$+Math.imul(B$,e$)|0,R$=R$+Math.imul(H0,a$)|0,P$=P$+Math.imul(H0,e$)|0,L$=L$+Math.imul(x$,i$)|0,R$=R$+Math.imul(x$,$Q)|0,R$=R$+Math.imul(G,i$)|0,P$=P$+Math.imul(G,$Q)|0,L$=L$+Math.imul(g$,YQ)|0,R$=R$+Math.imul(g$,X)|0,R$=R$+Math.imul(_$,YQ)|0,P$=P$+Math.imul(_$,X)|0,L$=L$+Math.imul(q$,ZQ)|0,R$=R$+Math.imul(q$,D0)|0,R$=R$+Math.imul(j$,ZQ)|0,P$=P$+Math.imul(j$,D0)|0,L$=L$+Math.imul(c,VQ)|0,R$=R$+Math.imul(c,UQ)|0,R$=R$+Math.imul(v$,VQ)|0,P$=P$+Math.imul(v$,UQ)|0,L$=L$+Math.imul(M$,KQ)|0,R$=R$+Math.imul(M$,IQ)|0,R$=R$+Math.imul(S$,KQ)|0,P$=P$+Math.imul(S$,IQ)|0;var DQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(DQ>>>26)|0,DQ&=67108863,L$=Math.imul(E0,o$),R$=Math.imul(E0,u$),R$=R$+Math.imul(b$,o$)|0,P$=Math.imul(b$,u$),L$=L$+Math.imul(V,s$)|0,R$=R$+Math.imul(V,t$)|0,R$=R$+Math.imul(h,s$)|0,P$=P$+Math.imul(h,t$)|0,L$=L$+Math.imul(c$,d)|0,R$=R$+Math.imul(c$,m$)|0,R$=R$+Math.imul(h$,d)|0,P$=P$+Math.imul(h$,m$)|0,L$=L$+Math.imul(w$,a$)|0,R$=R$+Math.imul(w$,e$)|0,R$=R$+Math.imul(p$,a$)|0,P$=P$+Math.imul(p$,e$)|0,L$=L$+Math.imul(B$,i$)|0,R$=R$+Math.imul(B$,$Q)|0,R$=R$+Math.imul(H0,i$)|0,P$=P$+Math.imul(H0,$Q)|0,L$=L$+Math.imul(x$,YQ)|0,R$=R$+Math.imul(x$,X)|0,R$=R$+Math.imul(G,YQ)|0,P$=P$+Math.imul(G,X)|0,L$=L$+Math.imul(g$,ZQ)|0,R$=R$+Math.imul(g$,D0)|0,R$=R$+Math.imul(_$,ZQ)|0,P$=P$+Math.imul(_$,D0)|0,L$=L$+Math.imul(q$,VQ)|0,R$=R$+Math.imul(q$,UQ)|0,R$=R$+Math.imul(j$,VQ)|0,P$=P$+Math.imul(j$,UQ)|0,L$=L$+Math.imul(c,KQ)|0,R$=R$+Math.imul(c,IQ)|0,R$=R$+Math.imul(v$,KQ)|0,P$=P$+Math.imul(v$,IQ)|0,L$=L$+Math.imul(M$,K)|0,R$=R$+Math.imul(M$,l)|0,R$=R$+Math.imul(S$,K)|0,P$=P$+Math.imul(S$,l)|0;var I=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(I>>>26)|0,I&=67108863,L$=Math.imul(E0,s$),R$=Math.imul(E0,t$),R$=R$+Math.imul(b$,s$)|0,P$=Math.imul(b$,t$),L$=L$+Math.imul(V,d)|0,R$=R$+Math.imul(V,m$)|0,R$=R$+Math.imul(h,d)|0,P$=P$+Math.imul(h,m$)|0,L$=L$+Math.imul(c$,a$)|0,R$=R$+Math.imul(c$,e$)|0,R$=R$+Math.imul(h$,a$)|0,P$=P$+Math.imul(h$,e$)|0,L$=L$+Math.imul(w$,i$)|0,R$=R$+Math.imul(w$,$Q)|0,R$=R$+Math.imul(p$,i$)|0,P$=P$+Math.imul(p$,$Q)|0,L$=L$+Math.imul(B$,YQ)|0,R$=R$+Math.imul(B$,X)|0,R$=R$+Math.imul(H0,YQ)|0,P$=P$+Math.imul(H0,X)|0,L$=L$+Math.imul(x$,ZQ)|0,R$=R$+Math.imul(x$,D0)|0,R$=R$+Math.imul(G,ZQ)|0,P$=P$+Math.imul(G,D0)|0,L$=L$+Math.imul(g$,VQ)|0,R$=R$+Math.imul(g$,UQ)|0,R$=R$+Math.imul(_$,VQ)|0,P$=P$+Math.imul(_$,UQ)|0,L$=L$+Math.imul(q$,KQ)|0,R$=R$+Math.imul(q$,IQ)|0,R$=R$+Math.imul(j$,KQ)|0,P$=P$+Math.imul(j$,IQ)|0,L$=L$+Math.imul(c,K)|0,R$=R$+Math.imul(c,l)|0,R$=R$+Math.imul(v$,K)|0,P$=P$+Math.imul(v$,l)|0;var o=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(o>>>26)|0,o&=67108863,L$=Math.imul(E0,d),R$=Math.imul(E0,m$),R$=R$+Math.imul(b$,d)|0,P$=Math.imul(b$,m$),L$=L$+Math.imul(V,a$)|0,R$=R$+Math.imul(V,e$)|0,R$=R$+Math.imul(h,a$)|0,P$=P$+Math.imul(h,e$)|0,L$=L$+Math.imul(c$,i$)|0,R$=R$+Math.imul(c$,$Q)|0,R$=R$+Math.imul(h$,i$)|0,P$=P$+Math.imul(h$,$Q)|0,L$=L$+Math.imul(w$,YQ)|0,R$=R$+Math.imul(w$,X)|0,R$=R$+Math.imul(p$,YQ)|0,P$=P$+Math.imul(p$,X)|0,L$=L$+Math.imul(B$,ZQ)|0,R$=R$+Math.imul(B$,D0)|0,R$=R$+Math.imul(H0,ZQ)|0,P$=P$+Math.imul(H0,D0)|0,L$=L$+Math.imul(x$,VQ)|0,R$=R$+Math.imul(x$,UQ)|0,R$=R$+Math.imul(G,VQ)|0,P$=P$+Math.imul(G,UQ)|0,L$=L$+Math.imul(g$,KQ)|0,R$=R$+Math.imul(g$,IQ)|0,R$=R$+Math.imul(_$,KQ)|0,P$=P$+Math.imul(_$,IQ)|0,L$=L$+Math.imul(q$,K)|0,R$=R$+Math.imul(q$,l)|0,R$=R$+Math.imul(j$,K)|0,P$=P$+Math.imul(j$,l)|0;var CQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(CQ>>>26)|0,CQ&=67108863,L$=Math.imul(E0,a$),R$=Math.imul(E0,e$),R$=R$+Math.imul(b$,a$)|0,P$=Math.imul(b$,e$),L$=L$+Math.imul(V,i$)|0,R$=R$+Math.imul(V,$Q)|0,R$=R$+Math.imul(h,i$)|0,P$=P$+Math.imul(h,$Q)|0,L$=L$+Math.imul(c$,YQ)|0,R$=R$+Math.imul(c$,X)|0,R$=R$+Math.imul(h$,YQ)|0,P$=P$+Math.imul(h$,X)|0,L$=L$+Math.imul(w$,ZQ)|0,R$=R$+Math.imul(w$,D0)|0,R$=R$+Math.imul(p$,ZQ)|0,P$=P$+Math.imul(p$,D0)|0,L$=L$+Math.imul(B$,VQ)|0,R$=R$+Math.imul(B$,UQ)|0,R$=R$+Math.imul(H0,VQ)|0,P$=P$+Math.imul(H0,UQ)|0,L$=L$+Math.imul(x$,KQ)|0,R$=R$+Math.imul(x$,IQ)|0,R$=R$+Math.imul(G,KQ)|0,P$=P$+Math.imul(G,IQ)|0,L$=L$+Math.imul(g$,K)|0,R$=R$+Math.imul(g$,l)|0,R$=R$+Math.imul(_$,K)|0,P$=P$+Math.imul(_$,l)|0;var L0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(L0>>>26)|0,L0&=67108863,L$=Math.imul(E0,i$),R$=Math.imul(E0,$Q),R$=R$+Math.imul(b$,i$)|0,P$=Math.imul(b$,$Q),L$=L$+Math.imul(V,YQ)|0,R$=R$+Math.imul(V,X)|0,R$=R$+Math.imul(h,YQ)|0,P$=P$+Math.imul(h,X)|0,L$=L$+Math.imul(c$,ZQ)|0,R$=R$+Math.imul(c$,D0)|0,R$=R$+Math.imul(h$,ZQ)|0,P$=P$+Math.imul(h$,D0)|0,L$=L$+Math.imul(w$,VQ)|0,R$=R$+Math.imul(w$,UQ)|0,R$=R$+Math.imul(p$,VQ)|0,P$=P$+Math.imul(p$,UQ)|0,L$=L$+Math.imul(B$,KQ)|0,R$=R$+Math.imul(B$,IQ)|0,R$=R$+Math.imul(H0,KQ)|0,P$=P$+Math.imul(H0,IQ)|0,L$=L$+Math.imul(x$,K)|0,R$=R$+Math.imul(x$,l)|0,R$=R$+Math.imul(G,K)|0,P$=P$+Math.imul(G,l)|0;var LQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(LQ>>>26)|0,LQ&=67108863,L$=Math.imul(E0,YQ),R$=Math.imul(E0,X),R$=R$+Math.imul(b$,YQ)|0,P$=Math.imul(b$,X),L$=L$+Math.imul(V,ZQ)|0,R$=R$+Math.imul(V,D0)|0,R$=R$+Math.imul(h,ZQ)|0,P$=P$+Math.imul(h,D0)|0,L$=L$+Math.imul(c$,VQ)|0,R$=R$+Math.imul(c$,UQ)|0,R$=R$+Math.imul(h$,VQ)|0,P$=P$+Math.imul(h$,UQ)|0,L$=L$+Math.imul(w$,KQ)|0,R$=R$+Math.imul(w$,IQ)|0,R$=R$+Math.imul(p$,KQ)|0,P$=P$+Math.imul(p$,IQ)|0,L$=L$+Math.imul(B$,K)|0,R$=R$+Math.imul(B$,l)|0,R$=R$+Math.imul(H0,K)|0,P$=P$+Math.imul(H0,l)|0;var RQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(RQ>>>26)|0,RQ&=67108863,L$=Math.imul(E0,ZQ),R$=Math.imul(E0,D0),R$=R$+Math.imul(b$,ZQ)|0,P$=Math.imul(b$,D0),L$=L$+Math.imul(V,VQ)|0,R$=R$+Math.imul(V,UQ)|0,R$=R$+Math.imul(h,VQ)|0,P$=P$+Math.imul(h,UQ)|0,L$=L$+Math.imul(c$,KQ)|0,R$=R$+Math.imul(c$,IQ)|0,R$=R$+Math.imul(h$,KQ)|0,P$=P$+Math.imul(h$,IQ)|0,L$=L$+Math.imul(w$,K)|0,R$=R$+Math.imul(w$,l)|0,R$=R$+Math.imul(p$,K)|0,P$=P$+Math.imul(p$,l)|0;var PQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(PQ>>>26)|0,PQ&=67108863,L$=Math.imul(E0,VQ),R$=Math.imul(E0,UQ),R$=R$+Math.imul(b$,VQ)|0,P$=Math.imul(b$,UQ),L$=L$+Math.imul(V,KQ)|0,R$=R$+Math.imul(V,IQ)|0,R$=R$+Math.imul(h,KQ)|0,P$=P$+Math.imul(h,IQ)|0,L$=L$+Math.imul(c$,K)|0,R$=R$+Math.imul(c$,l)|0,R$=R$+Math.imul(h$,K)|0,P$=P$+Math.imul(h$,l)|0;var zQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(zQ>>>26)|0,zQ&=67108863,L$=Math.imul(E0,KQ),R$=Math.imul(E0,IQ),R$=R$+Math.imul(b$,KQ)|0,P$=Math.imul(b$,IQ),L$=L$+Math.imul(V,K)|0,R$=R$+Math.imul(V,l)|0,R$=R$+Math.imul(h,K)|0,P$=P$+Math.imul(h,l)|0;var MQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(MQ>>>26)|0,MQ&=67108863,L$=Math.imul(E0,K),R$=Math.imul(E0,l),R$=R$+Math.imul(b$,K)|0,P$=Math.imul(b$,l);var SQ=(C$+L$|0)+((R$&8191)<<13)|0;return C$=(P$+(R$>>>13)|0)+(SQ>>>26)|0,SQ&=67108863,F0[0]=JQ,F0[1]=C0,F0[2]=FQ,F0[3]=AQ,F0[4]=HQ,F0[5]=WQ,F0[6]=EQ,F0[7]=TQ,F0[8]=DQ,F0[9]=I,F0[10]=o,F0[11]=CQ,F0[12]=L0,F0[13]=LQ,F0[14]=RQ,F0[15]=PQ,F0[16]=zQ,F0[17]=MQ,F0[18]=SQ,C$!==0&&(F0[19]=C$,Y.length++),Y};Math.imul||(X$=U$);function K$(E$,T$,Y){Y.negative=T$.negative^E$.negative,Y.length=E$.length+T$.length;for(var f=0,D$=0,F0=0;F0<Y.length-1;F0++){var C$=D$;D$=0;for(var L$=f&67108863,R$=Math.min(F0,T$.length-1),P$=Math.max(0,F0-E$.length+1);P$<=R$;P$++){var z$=F0-P$,M$=E$.words[z$]|0,S$=T$.words[P$]|0,Z=M$*S$,c=Z&67108863;C$=C$+(Z/67108864|0)|0,c=c+L$|0,L$=c&67108863,C$=C$+(c>>>26)|0,D$+=C$>>>26,C$&=67108863}Y.words[F0]=L$,f=C$,C$=D$}return f!==0?Y.words[F0]=f:Y.length--,Y.strip()}function I$(E$,T$,Y){var f=new Q;return f.mulp(E$,T$,Y)}$$.prototype.mulTo=function(E$,T$){var Y,f=this.length+E$.length;return this.length===10&&E$.length===10?Y=X$(this,E$,T$):f<63?Y=U$(this,E$,T$):f<1024?Y=K$(this,E$,T$):Y=I$(this,E$,T$),Y};function Q(E$,T$){this.x=E$,this.y=T$}Q.prototype.makeRBT=function(E$){for(var T$=new Array(E$),Y=$$.prototype._countBits(E$)-1,f=0;f<E$;f++)T$[f]=this.revBin(f,Y,E$);return T$},Q.prototype.revBin=function(E$,T$,Y){if(E$===0||E$===Y-1)return E$;for(var f=0,D$=0;D$<T$;D$++)f|=(E$&1)<<T$-D$-1,E$>>=1;return f},Q.prototype.permute=function(E$,T$,Y,f,D$,F0){for(var C$=0;C$<F0;C$++)f[C$]=T$[E$[C$]],D$[C$]=Y[E$[C$]]},Q.prototype.transform=function(E$,T$,Y,f,D$,F0){this.permute(F0,E$,T$,Y,f,D$);for(var C$=1;C$<D$;C$<<=1)for(var L$=C$<<1,R$=Math.cos(2*Math.PI/L$),P$=Math.sin(2*Math.PI/L$),z$=0;z$<D$;z$+=L$)for(var M$=R$,S$=P$,Z=0;Z<C$;Z++){var c=Y[z$+Z],v$=f[z$+Z],A0=Y[z$+Z+C$],q$=f[z$+Z+C$],j$=M$*A0-S$*q$;q$=M$*q$+S$*A0,A0=j$,Y[z$+Z]=c+A0,f[z$+Z]=v$+q$,Y[z$+Z+C$]=c-A0,f[z$+Z+C$]=v$-q$,Z!==L$&&(j$=R$*M$-P$*S$,S$=R$*S$+P$*M$,M$=j$)}},Q.prototype.guessLen13b=function(E$,T$){var Y=Math.max(T$,E$)|1,f=Y&1,D$=0;for(Y=Y/2|0;Y;Y=Y>>>1)D$++;return 1<<D$+1+f},Q.prototype.conjugate=function(E$,T$,Y){if(!(Y<=1))for(var f=0;f<Y/2;f++){var D$=E$[f];E$[f]=E$[Y-f-1],E$[Y-f-1]=D$,D$=T$[f],T$[f]=-T$[Y-f-1],T$[Y-f-1]=-D$}},Q.prototype.normalize13b=function(E$,T$){for(var Y=0,f=0;f<T$/2;f++){var D$=Math.round(E$[2*f+1]/T$)*8192+Math.round(E$[2*f]/T$)+Y;E$[f]=D$&67108863,D$<67108864?Y=0:Y=D$/67108864|0}return E$},Q.prototype.convert13b=function(E$,T$,Y,f){for(var D$=0,F0=0;F0<T$;F0++)D$=D$+(E$[F0]|0),Y[2*F0]=D$&8191,D$=D$>>>13,Y[2*F0+1]=D$&8191,D$=D$>>>13;for(F0=2*T$;F0<f;++F0)Y[F0]=0;r0(D$===0),r0((D$&-8192)===0)},Q.prototype.stub=function(E$){for(var T$=new Array(E$),Y=0;Y<E$;Y++)T$[Y]=0;return T$},Q.prototype.mulp=function(E$,T$,Y){var f=2*this.guessLen13b(E$.length,T$.length),D$=this.makeRBT(f),F0=this.stub(f),C$=new Array(f),L$=new Array(f),R$=new Array(f),P$=new Array(f),z$=new Array(f),M$=new Array(f),S$=Y.words;S$.length=f,this.convert13b(E$.words,E$.length,C$,f),this.convert13b(T$.words,T$.length,P$,f),this.transform(C$,F0,L$,R$,f,D$),this.transform(P$,F0,z$,M$,f,D$);for(var Z=0;Z<f;Z++){var c=L$[Z]*z$[Z]-R$[Z]*M$[Z];R$[Z]=L$[Z]*M$[Z]+R$[Z]*z$[Z],L$[Z]=c}return this.conjugate(L$,R$,f),this.transform(L$,R$,S$,F0,f,D$),this.conjugate(S$,F0,f),this.normalize13b(S$,f),Y.negative=E$.negative^T$.negative,Y.length=E$.length+T$.length,Y.strip()},$$.prototype.mul=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),this.mulTo(E$,T$)},$$.prototype.mulf=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),I$(this,E$,T$)},$$.prototype.imul=function(E$){return this.clone().mulTo(E$,this)},$$.prototype.imuln=function(E$){r0(typeof E$=="number"),r0(E$<67108864);for(var T$=0,Y=0;Y<this.length;Y++){var f=(this.words[Y]|0)*E$,D$=(f&67108863)+(T$&67108863);T$>>=26,T$+=f/67108864|0,T$+=D$>>>26,this.words[Y]=D$&67108863}return T$!==0&&(this.words[Y]=T$,this.length++),this},$$.prototype.muln=function(E$){return this.clone().imuln(E$)},$$.prototype.sqr=function(){return this.mul(this)},$$.prototype.isqr=function(){return this.imul(this.clone())},$$.prototype.pow=function(E$){var T$=V$(E$);if(T$.length===0)return new $$(1);for(var Y=this,f=0;f<T$.length&&T$[f]===0;f++,Y=Y.sqr());if(++f<T$.length)for(var D$=Y.sqr();f<T$.length;f++,D$=D$.sqr())T$[f]!==0&&(Y=Y.mul(D$));return Y},$$.prototype.iushln=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=67108863>>>26-T$<<26-T$,D$;if(T$!==0){var F0=0;for(D$=0;D$<this.length;D$++){var C$=this.words[D$]&f,L$=(this.words[D$]|0)-C$<<T$;this.words[D$]=L$|F0,F0=C$>>>26-T$}F0&&(this.words[D$]=F0,this.length++)}if(Y!==0){for(D$=this.length-1;D$>=0;D$--)this.words[D$+Y]=this.words[D$];for(D$=0;D$<Y;D$++)this.words[D$]=0;this.length+=Y}return this.strip()},$$.prototype.ishln=function(E$){return r0(this.negative===0),this.iushln(E$)},$$.prototype.iushrn=function(E$,T$,Y){r0(typeof E$=="number"&&E$>=0);var f;T$?f=(T$-T$%26)/26:f=0;var D$=E$%26,F0=Math.min((E$-D$)/26,this.length),C$=67108863^67108863>>>D$<<D$,L$=Y;if(f-=F0,f=Math.max(0,f),L$){for(var R$=0;R$<F0;R$++)L$.words[R$]=this.words[R$];L$.length=F0}if(F0!==0)if(this.length>F0)for(this.length-=F0,R$=0;R$<this.length;R$++)this.words[R$]=this.words[R$+F0];else this.words[0]=0,this.length=1;var P$=0;for(R$=this.length-1;R$>=0&&(P$!==0||R$>=f);R$--){var z$=this.words[R$]|0;this.words[R$]=P$<<26-D$|z$>>>D$,P$=z$&C$}return L$&&P$!==0&&(L$.words[L$.length++]=P$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},$$.prototype.ishrn=function(E$,T$,Y){return r0(this.negative===0),this.iushrn(E$,T$,Y)},$$.prototype.shln=function(E$){return this.clone().ishln(E$)},$$.prototype.ushln=function(E$){return this.clone().iushln(E$)},$$.prototype.shrn=function(E$){return this.clone().ishrn(E$)},$$.prototype.ushrn=function(E$){return this.clone().iushrn(E$)},$$.prototype.testn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return!1;var D$=this.words[Y];return!!(D$&f)},$$.prototype.imaskn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26;if(r0(this.negative===0,"imaskn works only with positive numbers"),this.length<=Y)return this;if(T$!==0&&Y++,this.length=Math.min(Y,this.length),T$!==0){var f=67108863^67108863>>>T$<<T$;this.words[this.length-1]&=f}return this.strip()},$$.prototype.maskn=function(E$){return this.clone().imaskn(E$)},$$.prototype.iaddn=function(E$){return r0(typeof E$=="number"),r0(E$<67108864),E$<0?this.isubn(-E$):this.negative!==0?this.length===1&&(this.words[0]|0)<E$?(this.words[0]=E$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(E$),this.negative=1,this):this._iaddn(E$)},$$.prototype._iaddn=function(E$){this.words[0]+=E$;for(var T$=0;T$<this.length&&this.words[T$]>=67108864;T$++)this.words[T$]-=67108864,T$===this.length-1?this.words[T$+1]=1:this.words[T$+1]++;return this.length=Math.max(this.length,T$+1),this},$$.prototype.isubn=function(E$){if(r0(typeof E$=="number"),r0(E$<67108864),E$<0)return this.iaddn(-E$);if(this.negative!==0)return this.negative=0,this.iaddn(E$),this.negative=1,this;if(this.words[0]-=E$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T$=0;T$<this.length&&this.words[T$]<0;T$++)this.words[T$]+=67108864,this.words[T$+1]-=1;return this.strip()},$$.prototype.addn=function(E$){return this.clone().iaddn(E$)},$$.prototype.subn=function(E$){return this.clone().isubn(E$)},$$.prototype.iabs=function(){return this.negative=0,this},$$.prototype.abs=function(){return this.clone().iabs()},$$.prototype._ishlnsubmul=function(E$,T$,Y){var f=E$.length+Y,D$;this._expand(f);var F0,C$=0;for(D$=0;D$<E$.length;D$++){F0=(this.words[D$+Y]|0)+C$;var L$=(E$.words[D$]|0)*T$;F0-=L$&67108863,C$=(F0>>26)-(L$/67108864|0),this.words[D$+Y]=F0&67108863}for(;D$<this.length-Y;D$++)F0=(this.words[D$+Y]|0)+C$,C$=F0>>26,this.words[D$+Y]=F0&67108863;if(C$===0)return this.strip();for(r0(C$===-1),C$=0,D$=0;D$<this.length;D$++)F0=-(this.words[D$]|0)+C$,C$=F0>>26,this.words[D$]=F0&67108863;return this.negative=1,this.strip()},$$.prototype._wordDiv=function(E$,T$){var Y=this.length-E$.length,f=this.clone(),D$=E$,F0=D$.words[D$.length-1]|0,C$=this._countBits(F0);Y=26-C$,Y!==0&&(D$=D$.ushln(Y),f.iushln(Y),F0=D$.words[D$.length-1]|0);var L$=f.length-D$.length,R$;if(T$!=="mod"){R$=new $$(null),R$.length=L$+1,R$.words=new Array(R$.length);for(var P$=0;P$<R$.length;P$++)R$.words[P$]=0}var z$=f.clone()._ishlnsubmul(D$,1,L$);z$.negative===0&&(f=z$,R$&&(R$.words[L$]=1));for(var M$=L$-1;M$>=0;M$--){var S$=(f.words[D$.length+M$]|0)*67108864+(f.words[D$.length+M$-1]|0);for(S$=Math.min(S$/F0|0,67108863),f._ishlnsubmul(D$,S$,M$);f.negative!==0;)S$--,f.negative=0,f._ishlnsubmul(D$,1,M$),f.isZero()||(f.negative^=1);R$&&(R$.words[M$]=S$)}return R$&&R$.strip(),f.strip(),T$!=="div"&&Y!==0&&f.iushrn(Y),{div:R$||null,mod:f}},$$.prototype.divmod=function(E$,T$,Y){if(r0(!E$.isZero()),this.isZero())return{div:new $$(0),mod:new $$(0)};var f,D$,F0;return this.negative!==0&&E$.negative===0?(F0=this.neg().divmod(E$,T$),T$!=="mod"&&(f=F0.div.neg()),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.iadd(E$)),{div:f,mod:D$}):this.negative===0&&E$.negative!==0?(F0=this.divmod(E$.neg(),T$),T$!=="mod"&&(f=F0.div.neg()),{div:f,mod:F0.mod}):(this.negative&E$.negative)!==0?(F0=this.neg().divmod(E$.neg(),T$),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.isub(E$)),{div:F0.div,mod:D$}):E$.length>this.length||this.cmp(E$)<0?{div:new $$(0),mod:this}:E$.length===1?T$==="div"?{div:this.divn(E$.words[0]),mod:null}:T$==="mod"?{div:null,mod:new $$(this.modn(E$.words[0]))}:{div:this.divn(E$.words[0]),mod:new $$(this.modn(E$.words[0]))}:this._wordDiv(E$,T$)},$$.prototype.div=function(E$){return this.divmod(E$,"div",!1).div},$$.prototype.mod=function(E$){return this.divmod(E$,"mod",!1).mod},$$.prototype.umod=function(E$){return this.divmod(E$,"mod",!0).mod},$$.prototype.divRound=function(E$){var T$=this.divmod(E$);if(T$.mod.isZero())return T$.div;var Y=T$.div.negative!==0?T$.mod.isub(E$):T$.mod,f=E$.ushrn(1),D$=E$.andln(1),F0=Y.cmp(f);return F0<0||D$===1&&F0===0?T$.div:T$.div.negative!==0?T$.div.isubn(1):T$.div.iaddn(1)},$$.prototype.modn=function(E$){r0(E$<=67108863);for(var T$=(1<<26)%E$,Y=0,f=this.length-1;f>=0;f--)Y=(T$*Y+(this.words[f]|0))%E$;return Y},$$.prototype.idivn=function(E$){r0(E$<=67108863);for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=(this.words[Y]|0)+T$*67108864;this.words[Y]=f/E$|0,T$=f%E$}return this.strip()},$$.prototype.divn=function(E$){return this.clone().idivn(E$)},$$.prototype.egcd=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=new $$(0),C$=new $$(1),L$=0;T$.isEven()&&Y.isEven();)T$.iushrn(1),Y.iushrn(1),++L$;for(var R$=Y.clone(),P$=T$.clone();!T$.isZero();){for(var z$=0,M$=1;(T$.words[0]&M$)===0&&z$<26;++z$,M$<<=1);if(z$>0)for(T$.iushrn(z$);z$-- >0;)(f.isOdd()||D$.isOdd())&&(f.iadd(R$),D$.isub(P$)),f.iushrn(1),D$.iushrn(1);for(var S$=0,Z=1;(Y.words[0]&Z)===0&&S$<26;++S$,Z<<=1);if(S$>0)for(Y.iushrn(S$);S$-- >0;)(F0.isOdd()||C$.isOdd())&&(F0.iadd(R$),C$.isub(P$)),F0.iushrn(1),C$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(F0),D$.isub(C$)):(Y.isub(T$),F0.isub(f),C$.isub(D$))}return{a:F0,b:C$,gcd:Y.iushln(L$)}},$$.prototype._invmp=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=Y.clone();T$.cmpn(1)>0&&Y.cmpn(1)>0;){for(var C$=0,L$=1;(T$.words[0]&L$)===0&&C$<26;++C$,L$<<=1);if(C$>0)for(T$.iushrn(C$);C$-- >0;)f.isOdd()&&f.iadd(F0),f.iushrn(1);for(var R$=0,P$=1;(Y.words[0]&P$)===0&&R$<26;++R$,P$<<=1);if(R$>0)for(Y.iushrn(R$);R$-- >0;)D$.isOdd()&&D$.iadd(F0),D$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(D$)):(Y.isub(T$),D$.isub(f))}var z$;return T$.cmpn(1)===0?z$=f:z$=D$,z$.cmpn(0)<0&&z$.iadd(E$),z$},$$.prototype.gcd=function(E$){if(this.isZero())return E$.abs();if(E$.isZero())return this.abs();var T$=this.clone(),Y=E$.clone();T$.negative=0,Y.negative=0;for(var f=0;T$.isEven()&&Y.isEven();f++)T$.iushrn(1),Y.iushrn(1);do{for(;T$.isEven();)T$.iushrn(1);for(;Y.isEven();)Y.iushrn(1);var D$=T$.cmp(Y);if(D$<0){var F0=T$;T$=Y,Y=F0}else if(D$===0||Y.cmpn(1)===0)break;T$.isub(Y)}while(!0);return Y.iushln(f)},$$.prototype.invm=function(E$){return this.egcd(E$).a.umod(E$)},$$.prototype.isEven=function(){return(this.words[0]&1)===0},$$.prototype.isOdd=function(){return(this.words[0]&1)===1},$$.prototype.andln=function(E$){return this.words[0]&E$},$$.prototype.bincn=function(E$){r0(typeof E$=="number");var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return this._expand(Y+1),this.words[Y]|=f,this;for(var D$=f,F0=Y;D$!==0&&F0<this.length;F0++){var C$=this.words[F0]|0;C$+=D$,D$=C$>>>26,C$&=67108863,this.words[F0]=C$}return D$!==0&&(this.words[F0]=D$,this.length++),this},$$.prototype.isZero=function(){return this.length===1&&this.words[0]===0},$$.prototype.cmpn=function(E$){var T$=E$<0;if(this.negative!==0&&!T$)return-1;if(this.negative===0&&T$)return 1;this.strip();var Y;if(this.length>1)Y=1;else{T$&&(E$=-E$),r0(E$<=67108863,"Number is too big");var f=this.words[0]|0;Y=f===E$?0:f<E$?-1:1}return this.negative!==0?-Y|0:Y},$$.prototype.cmp=function(E$){if(this.negative!==0&&E$.negative===0)return-1;if(this.negative===0&&E$.negative!==0)return 1;var T$=this.ucmp(E$);return this.negative!==0?-T$|0:T$},$$.prototype.ucmp=function(E$){if(this.length>E$.length)return 1;if(this.length<E$.length)return-1;for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=this.words[Y]|0,D$=E$.words[Y]|0;if(f!==D$){f<D$?T$=-1:f>D$&&(T$=1);break}}return T$},$$.prototype.gtn=function(E$){return this.cmpn(E$)===1},$$.prototype.gt=function(E$){return this.cmp(E$)===1},$$.prototype.gten=function(E$){return this.cmpn(E$)>=0},$$.prototype.gte=function(E$){return this.cmp(E$)>=0},$$.prototype.ltn=function(E$){return this.cmpn(E$)===-1},$$.prototype.lt=function(E$){return this.cmp(E$)===-1},$$.prototype.lten=function(E$){return this.cmpn(E$)<=0},$$.prototype.lte=function(E$){return this.cmp(E$)<=0},$$.prototype.eqn=function(E$){return this.cmpn(E$)===0},$$.prototype.eq=function(E$){return this.cmp(E$)===0},$$.red=function(E$){return new H$(E$)},$$.prototype.toRed=function(E$){return r0(!this.red,"Already a number in reduction context"),r0(this.negative===0,"red works only with positives"),E$.convertTo(this)._forceRed(E$)},$$.prototype.fromRed=function(){return r0(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},$$.prototype._forceRed=function(E$){return this.red=E$,this},$$.prototype.forceRed=function(E$){return r0(!this.red,"Already a number in reduction context"),this._forceRed(E$)},$$.prototype.redAdd=function(E$){return r0(this.red,"redAdd works only with red numbers"),this.red.add(this,E$)},$$.prototype.redIAdd=function(E$){return r0(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,E$)},$$.prototype.redSub=function(E$){return r0(this.red,"redSub works only with red numbers"),this.red.sub(this,E$)},$$.prototype.redISub=function(E$){return r0(this.red,"redISub works only with red numbers"),this.red.isub(this,E$)},$$.prototype.redShl=function(E$){return r0(this.red,"redShl works only with red numbers"),this.red.shl(this,E$)},$$.prototype.redMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.mul(this,E$)},$$.prototype.redIMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.imul(this,E$)},$$.prototype.redSqr=function(){return r0(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},$$.prototype.redISqr=function(){return r0(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},$$.prototype.redSqrt=function(){return r0(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},$$.prototype.redInvm=function(){return r0(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},$$.prototype.redNeg=function(){return r0(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},$$.prototype.redPow=function(E$){return r0(this.red&&!E$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,E$)};var x={k256:null,p224:null,p192:null,p25519:null};function O$(E$,T$){this.name=E$,this.p=new $$(T$,16),this.n=this.p.bitLength(),this.k=new $$(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}O$.prototype._tmp=function(){var E$=new $$(null);return E$.words=new Array(Math.ceil(this.n/13)),E$},O$.prototype.ireduce=function(E$){var T$=E$,Y;do this.split(T$,this.tmp),T$=this.imulK(T$),T$=T$.iadd(this.tmp),Y=T$.bitLength();while(Y>this.n);var f=Y<this.n?-1:T$.ucmp(this.p);return f===0?(T$.words[0]=0,T$.length=1):f>0?T$.isub(this.p):T$.strip!==void 0?T$.strip():T$._strip(),T$},O$.prototype.split=function(E$,T$){E$.iushrn(this.n,0,T$)},O$.prototype.imulK=function(E$){return E$.imul(this.k)};function J0(){O$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i0(J0,O$),J0.prototype.split=function(E$,T$){for(var Y=4194303,f=Math.min(E$.length,9),D$=0;D$<f;D$++)T$.words[D$]=E$.words[D$];if(T$.length=f,E$.length<=9){E$.words[0]=0,E$.length=1;return}var F0=E$.words[9];for(T$.words[T$.length++]=F0&Y,D$=10;D$<E$.length;D$++){var C$=E$.words[D$]|0;E$.words[D$-10]=(C$&Y)<<4|F0>>>22,F0=C$}F0>>>=22,E$.words[D$-10]=F0,F0===0&&E$.length>10?E$.length-=10:E$.length-=9},J0.prototype.imulK=function(E$){E$.words[E$.length]=0,E$.words[E$.length+1]=0,E$.length+=2;for(var T$=0,Y=0;Y<E$.length;Y++){var f=E$.words[Y]|0;T$+=f*977,E$.words[Y]=T$&67108863,T$=f*64+(T$/67108864|0)}return E$.words[E$.length-1]===0&&(E$.length--,E$.words[E$.length-1]===0&&E$.length--),E$};function J$(){O$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i0(J$,O$);function F$(){O$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i0(F$,O$);function A$(){O$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i0(A$,O$),A$.prototype.imulK=function(E$){for(var T$=0,Y=0;Y<E$.length;Y++){var f=(E$.words[Y]|0)*19+T$,D$=f&67108863;f>>>=26,E$.words[Y]=D$,T$=f}return T$!==0&&(E$.words[E$.length++]=T$),E$},$$._prime=function(E$){if(x[E$])return x[E$];var T$;if(E$==="k256")T$=new J0;else if(E$==="p224")T$=new J$;else if(E$==="p192")T$=new F$;else if(E$==="p25519")T$=new A$;else throw new Error("Unknown prime "+E$);return x[E$]=T$,T$};function H$(E$){if(typeof E$=="string"){var T$=$$._prime(E$);this.m=T$.p,this.prime=T$}else r0(E$.gtn(1),"modulus must be greater than 1"),this.m=E$,this.prime=null}H$.prototype._verify1=function(E$){r0(E$.negative===0,"red works only with positives"),r0(E$.red,"red works only with red numbers")},H$.prototype._verify2=function(E$,T$){r0((E$.negative|T$.negative)===0,"red works only with positives"),r0(E$.red&&E$.red===T$.red,"red works only with red numbers")},H$.prototype.imod=function(E$){return this.prime?this.prime.ireduce(E$)._forceRed(this):E$.umod(this.m)._forceRed(this)},H$.prototype.neg=function(E$){return E$.isZero()?E$.clone():this.m.sub(E$)._forceRed(this)},H$.prototype.add=function(E$,T$){this._verify2(E$,T$);var Y=E$.add(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y._forceRed(this)},H$.prototype.iadd=function(E$,T$){this._verify2(E$,T$);var Y=E$.iadd(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y},H$.prototype.sub=function(E$,T$){this._verify2(E$,T$);var Y=E$.sub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y._forceRed(this)},H$.prototype.isub=function(E$,T$){this._verify2(E$,T$);var Y=E$.isub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y},H$.prototype.shl=function(E$,T$){return this._verify1(E$),this.imod(E$.ushln(T$))},H$.prototype.imul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.imul(T$))},H$.prototype.mul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.mul(T$))},H$.prototype.isqr=function(E$){return this.imul(E$,E$.clone())},H$.prototype.sqr=function(E$){return this.mul(E$,E$)},H$.prototype.sqrt=function(E$){if(E$.isZero())return E$.clone();var T$=this.m.andln(3);if(r0(T$%2===1),T$===3){var Y=this.m.add(new $$(1)).iushrn(2);return this.pow(E$,Y)}for(var f=this.m.subn(1),D$=0;!f.isZero()&&f.andln(1)===0;)D$++,f.iushrn(1);r0(!f.isZero());var F0=new $$(1).toRed(this),C$=F0.redNeg(),L$=this.m.subn(1).iushrn(1),R$=this.m.bitLength();for(R$=new $$(2*R$*R$).toRed(this);this.pow(R$,L$).cmp(C$)!==0;)R$.redIAdd(C$);for(var P$=this.pow(R$,f),z$=this.pow(E$,f.addn(1).iushrn(1)),M$=this.pow(E$,f),S$=D$;M$.cmp(F0)!==0;){for(var Z=M$,c=0;Z.cmp(F0)!==0;c++)Z=Z.redSqr();r0(c<S$);var v$=this.pow(P$,new $$(1).iushln(S$-c-1));z$=z$.redMul(v$),P$=v$.redSqr(),M$=M$.redMul(P$),S$=c}return z$},H$.prototype.invm=function(E$){var T$=E$._invmp(this.m);return T$.negative!==0?(T$.negative=0,this.imod(T$).redNeg()):this.imod(T$)},H$.prototype.pow=function(E$,T$){if(T$.isZero())return new $$(1).toRed(this);if(T$.cmpn(1)===0)return E$.clone();var Y=4,f=new Array(1<<Y);f[0]=new $$(1).toRed(this),f[1]=E$;for(var D$=2;D$<f.length;D$++)f[D$]=this.mul(f[D$-1],E$);var F0=f[0],C$=0,L$=0,R$=T$.bitLength()%26;for(R$===0&&(R$=26),D$=T$.length-1;D$>=0;D$--){for(var P$=T$.words[D$],z$=R$-1;z$>=0;z$--){var M$=P$>>z$&1;if(F0!==f[0]&&(F0=this.sqr(F0)),M$===0&&C$===0){L$=0;continue}C$<<=1,C$|=M$,L$++,!(L$!==Y&&(D$!==0||z$!==0))&&(F0=this.mul(F0,f[C$]),L$=0,C$=0)}R$=26}return F0},H$.prototype.convertTo=function(E$){var T$=E$.umod(this.m);return T$===E$?T$.clone():T$},H$.prototype.convertFrom=function(E$){var T$=E$.clone();return T$.red=null,T$},$$.mont=function(E$){return new W$(E$)};function W$(E$){H$.call(this,E$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new $$(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i0(W$,H$),W$.prototype.convertTo=function(E$){return this.imod(E$.ushln(this.shift))},W$.prototype.convertFrom=function(E$){var T$=this.imod(E$.mul(this.rinv));return T$.red=null,T$},W$.prototype.imul=function(E$,T$){if(E$.isZero()||T$.isZero())return E$.words[0]=0,E$.length=1,E$;var Y=E$.imul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.mul=function(E$,T$){if(E$.isZero()||T$.isZero())return new $$(0)._forceRed(this);var Y=E$.mul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.invm=function(E$){var T$=this.imod(E$._invmp(this.m).mul(this.r2));return T$._forceRed(this)}})(typeof m0>"u"||m0,t0)}}),tY=pQ({"node_modules/safer-buffer/safer.js"(t0,m0){var a0=P0,e0=G0,r0={},i0;for(i0 in a0)!a0.hasOwnProperty(i0)||i0==="SlowBuffer"||i0==="Buffer"||(r0[i0]=a0[i0]);var $$=r0.Buffer={};for(i0 in e0)!e0.hasOwnProperty(i0)||i0==="allocUnsafe"||i0==="allocUnsafeSlow"||($$[i0]=e0[i0]);if(r0.Buffer.prototype=e0.prototype,(!$$.from||$$.from===Uint8Array.from)&&($$.from=function(Q$,$,N){if(typeof Q$=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof Q$);if(Q$&&typeof Q$.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Q$);return e0(Q$,$,N)}),$$.alloc||($$.alloc=function(Q$,$,N){if(typeof Q$!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof Q$);if(Q$<0||Q$>=2*(1<<30))throw new RangeError('The value "'+Q$+'" is invalid for option "size"');var Y$=e0(Q$);return!$||$.length===0?Y$.fill(0):typeof N=="string"?Y$.fill($,N):Y$.fill($),Y$}),!r0.kStringMaxLength)try{r0.kStringMaxLength=yQ}catch{}r0.constants||(r0.constants={MAX_LENGTH:r0.kMaxLength},r0.kStringMaxLength&&(r0.constants.MAX_STRING_LENGTH=r0.kStringMaxLength)),m0.exports=r0}}),mY=pQ({"node_modules/asn1.js/lib/asn1/base/reporter.js"(t0){var m0=dQ();function a0(r0){this._reporterState={obj:null,path:[],options:r0||{},errors:[]}}t0.Reporter=a0,a0.prototype.isError=function(r0){return r0 instanceof e0},a0.prototype.save=function(){let r0=this._reporterState;return{obj:r0.obj,pathLen:r0.path.length}},a0.prototype.restore=function(r0){let i0=this._reporterState;i0.obj=r0.obj,i0.path=i0.path.slice(0,r0.pathLen)},a0.prototype.enterKey=function(r0){return this._reporterState.path.push(r0)},a0.prototype.exitKey=function(r0){let i0=this._reporterState;i0.path=i0.path.slice(0,r0-1)},a0.prototype.leaveKey=function(r0,i0,$$){let Q$=this._reporterState;this.exitKey(r0),Q$.obj!==null&&(Q$.obj[i0]=$$)},a0.prototype.path=function(){return this._reporterState.path.join("/")},a0.prototype.enterObject=function(){let r0=this._reporterState,i0=r0.obj;return r0.obj={},i0},a0.prototype.leaveObject=function(r0){let i0=this._reporterState,$$=i0.obj;return i0.obj=r0,$$},a0.prototype.error=function(r0){let i0,$$=this._reporterState,Q$=r0 instanceof e0;if(Q$?i0=r0:i0=new e0($$.path.map(function($){return"["+JSON.stringify($)+"]"}).join(""),r0.message||r0,r0.stack),!$$.options.partial)throw i0;return Q$||$$.errors.push(i0),i0},a0.prototype.wrapResult=function(r0){let i0=this._reporterState;return i0.options.partial?{result:this.isError(r0)?null:r0,errors:i0.errors}:r0};function e0(r0,i0){this.path=r0,this.rethrow(i0)}m0(e0,Error),e0.prototype.rethrow=function(r0){if(this.message=r0+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,e0),!this.stack)try{throw new Error(this.message)}catch(i0){this.stack=i0.stack}return this}}}),kQ=pQ({"node_modules/asn1.js/lib/asn1/base/buffer.js"(t0){var m0=dQ(),a0=mY().Reporter,e0=tY().Buffer;function r0($$,Q$){if(a0.call(this,Q$),!e0.isBuffer($$)){this.error("Input not Buffer");return}this.base=$$,this.offset=0,this.length=$$.length}m0(r0,a0),t0.DecoderBuffer=r0,r0.isDecoderBuffer=function($$){return $$ instanceof r0?!0:typeof $$=="object"&&e0.isBuffer($$.base)&&$$.constructor.name==="DecoderBuffer"&&typeof $$.offset=="number"&&typeof $$.length=="number"&&typeof $$.save=="function"&&typeof $$.restore=="function"&&typeof $$.isEmpty=="function"&&typeof $$.readUInt8=="function"&&typeof $$.skip=="function"&&typeof $$.raw=="function"},r0.prototype.save=function(){return{offset:this.offset,reporter:a0.prototype.save.call(this)}},r0.prototype.restore=function($$){let Q$=new r0(this.base);return Q$.offset=$$.offset,Q$.length=this.offset,this.offset=$$.offset,a0.prototype.restore.call(this,$$.reporter),Q$},r0.prototype.isEmpty=function(){return this.offset===this.length},r0.prototype.readUInt8=function($$){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error($$||"DecoderBuffer overrun")},r0.prototype.skip=function($$,Q$){if(!(this.offset+$$<=this.length))return this.error(Q$||"DecoderBuffer overrun");let $=new r0(this.base);return $._reporterState=this._reporterState,$.offset=this.offset,$.length=this.offset+$$,this.offset+=$$,$},r0.prototype.raw=function($$){return this.base.slice($$?$$.offset:this.offset,this.length)};function i0($$,Q$){if(Array.isArray($$))this.length=0,this.value=$$.map(function($){return i0.isEncoderBuffer($)||($=new i0($,Q$)),this.length+=$.length,$},this);else if(typeof $$=="number"){if(!(0<=$$&&$$<=255))return Q$.error("non-byte EncoderBuffer value");this.value=$$,this.length=1}else if(typeof $$=="string")this.value=$$,this.length=e0.byteLength($$);else if(e0.isBuffer($$))this.value=$$,this.length=$$.length;else return Q$.error("Unsupported type: "+typeof $$)}t0.EncoderBuffer=i0,i0.isEncoderBuffer=function($$){return $$ instanceof i0?!0:typeof $$=="object"&&$$.constructor.name==="EncoderBuffer"&&typeof $$.length=="number"&&typeof $$.join=="function"},i0.prototype.join=function($$,Q$){return $$||($$=e0.alloc(this.length)),Q$||(Q$=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function($){$.join($$,Q$),Q$+=$.length}):(typeof this.value=="number"?$$[Q$]=this.value:typeof this.value=="string"?$$.write(this.value,Q$):e0.isBuffer(this.value)&&this.value.copy($$,Q$),Q$+=this.length)),$$}}}),aY=pQ({"node_modules/asn1.js/lib/asn1/base/node.js"(t0,m0){var a0=mY().Reporter,e0=kQ().EncoderBuffer,r0=kQ().DecoderBuffer,i0=v0(),$$=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],Q$=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat($$),$=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function N(O0,Z$,G$){let V$={};this._baseState=V$,V$.name=G$,V$.enc=O0,V$.parent=Z$||null,V$.children=null,V$.tag=null,V$.args=null,V$.reverseArgs=null,V$.choice=null,V$.optional=!1,V$.any=!1,V$.obj=!1,V$.use=null,V$.useDecoder=null,V$.key=null,V$.default=null,V$.explicit=null,V$.implicit=null,V$.contains=null,V$.parent||(V$.children=[],this._wrap())}m0.exports=N;var Y$=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];N.prototype.clone=function(){let O0=this._baseState,Z$={};Y$.forEach(function(V$){Z$[V$]=O0[V$]});let G$=new this.constructor(Z$.parent);return G$._baseState=Z$,G$},N.prototype._wrap=function(){let O0=this._baseState;Q$.forEach(function(Z$){this[Z$]=function(){let G$=new this.constructor(this);return O0.children.push(G$),G$[Z$].apply(G$,arguments)}},this)},N.prototype._init=function(O0){let Z$=this._baseState;i0(Z$.parent===null),O0.call(this),Z$.children=Z$.children.filter(function(G$){return G$._baseState.parent===this},this),i0.equal(Z$.children.length,1,"Root node can have only one child")},N.prototype._useArgs=function(O0){let Z$=this._baseState,G$=O0.filter(function(V$){return V$ instanceof this.constructor},this);O0=O0.filter(function(V$){return!(V$ instanceof this.constructor)},this),G$.length!==0&&(i0(Z$.children===null),Z$.children=G$,G$.forEach(function(V$){V$._baseState.parent=this},this)),O0.length!==0&&(i0(Z$.args===null),Z$.args=O0,Z$.reverseArgs=O0.map(function(V$){if(typeof V$!="object"||V$.constructor!==Object)return V$;let U$={};return Object.keys(V$).forEach(function(X$){X$==(X$|0)&&(X$|=0);let K$=V$[X$];U$[K$]=X$}),U$}))},$.forEach(function(O0){N.prototype[O0]=function(){let Z$=this._baseState;throw new Error(O0+" not implemented for encoding: "+Z$.enc)}}),$$.forEach(function(O0){N.prototype[O0]=function(){let Z$=this._baseState,G$=Array.prototype.slice.call(arguments);return i0(Z$.tag===null),Z$.tag=O0,this._useArgs(G$),this}}),N.prototype.use=function(O0){i0(O0);let Z$=this._baseState;return i0(Z$.use===null),Z$.use=O0,this},N.prototype.optional=function(){let O0=this._baseState;return O0.optional=!0,this},N.prototype.def=function(O0){let Z$=this._baseState;return i0(Z$.default===null),Z$.default=O0,Z$.optional=!0,this},N.prototype.explicit=function(O0){let Z$=this._baseState;return i0(Z$.explicit===null&&Z$.implicit===null),Z$.explicit=O0,this},N.prototype.implicit=function(O0){let Z$=this._baseState;return i0(Z$.explicit===null&&Z$.implicit===null),Z$.implicit=O0,this},N.prototype.obj=function(){let O0=this._baseState,Z$=Array.prototype.slice.call(arguments);return O0.obj=!0,Z$.length!==0&&this._useArgs(Z$),this},N.prototype.key=function(O0){let Z$=this._baseState;return i0(Z$.key===null),Z$.key=O0,this},N.prototype.any=function(){let O0=this._baseState;return O0.any=!0,this},N.prototype.choice=function(O0){let Z$=this._baseState;return i0(Z$.choice===null),Z$.choice=O0,this._useArgs(Object.keys(O0).map(function(G$){return O0[G$]})),this},N.prototype.contains=function(O0){let Z$=this._baseState;return i0(Z$.use===null),Z$.contains=O0,this},N.prototype._decode=function(O0,Z$){let G$=this._baseState;if(G$.parent===null)return O0.wrapResult(G$.children[0]._decode(O0,Z$));let V$=G$.default,U$=!0,X$=null;if(G$.key!==null&&(X$=O0.enterKey(G$.key)),G$.optional){let I$=null;if(G$.explicit!==null?I$=G$.explicit:G$.implicit!==null?I$=G$.implicit:G$.tag!==null&&(I$=G$.tag),I$===null&&!G$.any){let Q=O0.save();try{G$.choice===null?this._decodeGeneric(G$.tag,O0,Z$):this._decodeChoice(O0,Z$),U$=!0}catch{U$=!1}O0.restore(Q)}else if(U$=this._peekTag(O0,I$,G$.any),O0.isError(U$))return U$}let K$;if(G$.obj&&U$&&(K$=O0.enterObject()),U$){if(G$.explicit!==null){let Q=this._decodeTag(O0,G$.explicit);if(O0.isError(Q))return Q;O0=Q}let I$=O0.offset;if(G$.use===null&&G$.choice===null){let Q;G$.any&&(Q=O0.save());let x=this._decodeTag(O0,G$.implicit!==null?G$.implicit:G$.tag,G$.any);if(O0.isError(x))return x;G$.any?V$=O0.raw(Q):O0=x}if(Z$&&Z$.track&&G$.tag!==null&&Z$.track(O0.path(),I$,O0.length,"tagged"),Z$&&Z$.track&&G$.tag!==null&&Z$.track(O0.path(),O0.offset,O0.length,"content"),G$.any||(G$.choice===null?V$=this._decodeGeneric(G$.tag,O0,Z$):V$=this._decodeChoice(O0,Z$)),O0.isError(V$))return V$;if(!G$.any&&G$.choice===null&&G$.children!==null&&G$.children.forEach(function(Q){Q._decode(O0,Z$)}),G$.contains&&(G$.tag==="octstr"||G$.tag==="bitstr")){let Q=new r0(V$);V$=this._getUse(G$.contains,O0._reporterState.obj)._decode(Q,Z$)}}return G$.obj&&U$&&(V$=O0.leaveObject(K$)),G$.key!==null&&(V$!==null||U$===!0)?O0.leaveKey(X$,G$.key,V$):X$!==null&&O0.exitKey(X$),V$},N.prototype._decodeGeneric=function(O0,Z$,G$){let V$=this._baseState;return O0==="seq"||O0==="set"?null:O0==="seqof"||O0==="setof"?this._decodeList(Z$,O0,V$.args[0],G$):/str$/.test(O0)?this._decodeStr(Z$,O0,G$):O0==="objid"&&V$.args?this._decodeObjid(Z$,V$.args[0],V$.args[1],G$):O0==="objid"?this._decodeObjid(Z$,null,null,G$):O0==="gentime"||O0==="utctime"?this._decodeTime(Z$,O0,G$):O0==="null_"?this._decodeNull(Z$,G$):O0==="bool"?this._decodeBool(Z$,G$):O0==="objDesc"?this._decodeStr(Z$,O0,G$):O0==="int"||O0==="enum"?this._decodeInt(Z$,V$.args&&V$.args[0],G$):V$.use!==null?this._getUse(V$.use,Z$._reporterState.obj)._decode(Z$,G$):Z$.error("unknown tag: "+O0)},N.prototype._getUse=function(O0,Z$){let G$=this._baseState;return G$.useDecoder=this._use(O0,Z$),i0(G$.useDecoder._baseState.parent===null),G$.useDecoder=G$.useDecoder._baseState.children[0],G$.implicit!==G$.useDecoder._baseState.implicit&&(G$.useDecoder=G$.useDecoder.clone(),G$.useDecoder._baseState.implicit=G$.implicit),G$.useDecoder},N.prototype._decodeChoice=function(O0,Z$){let G$=this._baseState,V$=null,U$=!1;return Object.keys(G$.choice).some(function(X$){let K$=O0.save(),I$=G$.choice[X$];try{let Q=I$._decode(O0,Z$);if(O0.isError(Q))return!1;V$={type:X$,value:Q},U$=!0}catch{return O0.restore(K$),!1}return!0},this),U$?V$:O0.error("Choice not matched")},N.prototype._createEncoderBuffer=function(O0){return new e0(O0,this.reporter)},N.prototype._encode=function(O0,Z$,G$){let V$=this._baseState;if(V$.default!==null&&V$.default===O0)return;let U$=this._encodeValue(O0,Z$,G$);if(U$!==void 0&&!this._skipDefault(U$,Z$,G$))return U$},N.prototype._encodeValue=function(O0,Z$,G$){let V$=this._baseState;if(V$.parent===null)return V$.children[0]._encode(O0,Z$||new a0);let U$=null;if(this.reporter=Z$,V$.optional&&O0===void 0)if(V$.default!==null)O0=V$.default;else return;let X$=null,K$=!1;if(V$.any)U$=this._createEncoderBuffer(O0);else if(V$.choice)U$=this._encodeChoice(O0,Z$);else if(V$.contains)X$=this._getUse(V$.contains,G$)._encode(O0,Z$),K$=!0;else if(V$.children)X$=V$.children.map(function(I$){if(I$._baseState.tag==="null_")return I$._encode(null,Z$,O0);if(I$._baseState.key===null)return Z$.error("Child should have a key");let Q=Z$.enterKey(I$._baseState.key);if(typeof O0!="object")return Z$.error("Child expected, but input is not object");let x=I$._encode(O0[I$._baseState.key],Z$,O0);return Z$.leaveKey(Q),x},this).filter(function(I$){return I$}),X$=this._createEncoderBuffer(X$);else if(V$.tag==="seqof"||V$.tag==="setof"){if(!(V$.args&&V$.args.length===1))return Z$.error("Too many args for : "+V$.tag);if(!Array.isArray(O0))return Z$.error("seqof/setof, but data is not Array");let I$=this.clone();I$._baseState.implicit=null,X$=this._createEncoderBuffer(O0.map(function(Q){let x=this._baseState;return this._getUse(x.args[0],O0)._encode(Q,Z$)},I$))}else V$.use!==null?U$=this._getUse(V$.use,G$)._encode(O0,Z$):(X$=this._encodePrimitive(V$.tag,O0),K$=!0);if(!V$.any&&V$.choice===null){let I$=V$.implicit!==null?V$.implicit:V$.tag,Q=V$.implicit===null?"universal":"context";I$===null?V$.use===null&&Z$.error("Tag could be omitted only for .use()"):V$.use===null&&(U$=this._encodeComposite(I$,K$,Q,X$))}return V$.explicit!==null&&(U$=this._encodeComposite(V$.explicit,!1,"context",U$)),U$},N.prototype._encodeChoice=function(O0,Z$){let G$=this._baseState,V$=G$.choice[O0.type];return V$||i0(!1,O0.type+" not found in "+JSON.stringify(Object.keys(G$.choice))),V$._encode(O0.value,Z$)},N.prototype._encodePrimitive=function(O0,Z$){let G$=this._baseState;if(/str$/.test(O0))return this._encodeStr(Z$,O0);if(O0==="objid"&&G$.args)return this._encodeObjid(Z$,G$.reverseArgs[0],G$.args[1]);if(O0==="objid")return this._encodeObjid(Z$,null,null);if(O0==="gentime"||O0==="utctime")return this._encodeTime(Z$,O0);if(O0==="null_")return this._encodeNull();if(O0==="int"||O0==="enum")return this._encodeInt(Z$,G$.args&&G$.reverseArgs[0]);if(O0==="bool")return this._encodeBool(Z$);if(O0==="objDesc")return this._encodeStr(Z$,O0);throw new Error("Unsupported tag: "+O0)},N.prototype._isNumstr=function(O0){return/^[0-9 ]*$/.test(O0)},N.prototype._isPrintstr=function(O0){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(O0)}}}),eY=pQ({"node_modules/asn1.js/lib/asn1/constants/der.js"(t0){function m0(a0){let e0={};return Object.keys(a0).forEach(function(r0){(r0|0)==r0&&(r0=r0|0);let i0=a0[r0];e0[i0]=r0}),e0}t0.tagClass={0:"universal",1:"application",2:"context",3:"private"},t0.tagClassByName=m0(t0.tagClass),t0.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t0.tagByName=m0(t0.tag)}}),R=pQ({"node_modules/asn1.js/lib/asn1/encoders/der.js"(t0,m0){var a0=dQ(),e0=tY().Buffer,r0=aY(),i0=eY();function $$(Y$){this.enc="der",this.name=Y$.name,this.entity=Y$,this.tree=new Q$,this.tree._init(Y$.body)}m0.exports=$$,$$.prototype.encode=function(Y$,O0){return this.tree._encode(Y$,O0).join()};function Q$(Y$){r0.call(this,"der",Y$)}a0(Q$,r0),Q$.prototype._encodeComposite=function(Y$,O0,Z$,G$){let V$=N(Y$,O0,Z$,this.reporter);if(G$.length<128){let K$=e0.alloc(2);return K$[0]=V$,K$[1]=G$.length,this._createEncoderBuffer([K$,G$])}let U$=1;for(let K$=G$.length;K$>=256;K$>>=8)U$++;let X$=e0.alloc(2+U$);X$[0]=V$,X$[1]=128|U$;for(let K$=1+U$,I$=G$.length;I$>0;K$--,I$>>=8)X$[K$]=I$&255;return this._createEncoderBuffer([X$,G$])},Q$.prototype._encodeStr=function(Y$,O0){if(O0==="bitstr")return this._createEncoderBuffer([Y$.unused|0,Y$.data]);if(O0==="bmpstr"){let Z$=e0.alloc(Y$.length*2);for(let G$=0;G$<Y$.length;G$++)Z$.writeUInt16BE(Y$.charCodeAt(G$),G$*2);return this._createEncoderBuffer(Z$)}else return O0==="numstr"?this._isNumstr(Y$)?this._createEncoderBuffer(Y$):this.reporter.error("Encoding of string type: numstr supports only digits and space"):O0==="printstr"?this._isPrintstr(Y$)?this._createEncoderBuffer(Y$):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(O0)?this._createEncoderBuffer(Y$):O0==="objDesc"?this._createEncoderBuffer(Y$):this.reporter.error("Encoding of string type: "+O0+" unsupported")},Q$.prototype._encodeObjid=function(Y$,O0,Z$){if(typeof Y$=="string"){if(!O0)return this.reporter.error("string objid given, but no values map found");if(!O0.hasOwnProperty(Y$))return this.reporter.error("objid not found in values map");Y$=O0[Y$].split(/[\s.]+/g);for(let X$=0;X$<Y$.length;X$++)Y$[X$]|=0}else if(Array.isArray(Y$)){Y$=Y$.slice();for(let X$=0;X$<Y$.length;X$++)Y$[X$]|=0}if(!Array.isArray(Y$))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(Y$));if(!Z$){if(Y$[1]>=40)return this.reporter.error("Second objid identifier OOB");Y$.splice(0,2,Y$[0]*40+Y$[1])}let G$=0;for(let X$=0;X$<Y$.length;X$++){let K$=Y$[X$];for(G$++;K$>=128;K$>>=7)G$++}let V$=e0.alloc(G$),U$=V$.length-1;for(let X$=Y$.length-1;X$>=0;X$--){let K$=Y$[X$];for(V$[U$--]=K$&127;(K$>>=7)>0;)V$[U$--]=128|K$&127}return this._createEncoderBuffer(V$)};function $(Y$){return Y$<10?"0"+Y$:Y$}Q$.prototype._encodeTime=function(Y$,O0){let Z$,G$=new Date(Y$);return O0==="gentime"?Z$=[$(G$.getUTCFullYear()),$(G$.getUTCMonth()+1),$(G$.getUTCDate()),$(G$.getUTCHours()),$(G$.getUTCMinutes()),$(G$.getUTCSeconds()),"Z"].join(""):O0==="utctime"?Z$=[$(G$.getUTCFullYear()%100),$(G$.getUTCMonth()+1),$(G$.getUTCDate()),$(G$.getUTCHours()),$(G$.getUTCMinutes()),$(G$.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+O0+" time is not supported yet"),this._encodeStr(Z$,"octstr")},Q$.prototype._encodeNull=function(){return this._createEncoderBuffer("")},Q$.prototype._encodeInt=function(Y$,O0){if(typeof Y$=="string"){if(!O0)return this.reporter.error("String int or enum given, but no values map");if(!O0.hasOwnProperty(Y$))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(Y$));Y$=O0[Y$]}if(typeof Y$!="number"&&!e0.isBuffer(Y$)){let V$=Y$.toArray();!Y$.sign&&V$[0]&128&&V$.unshift(0),Y$=e0.from(V$)}if(e0.isBuffer(Y$)){let V$=Y$.length;Y$.length===0&&V$++;let U$=e0.alloc(V$);return Y$.copy(U$),Y$.length===0&&(U$[0]=0),this._createEncoderBuffer(U$)}if(Y$<128)return this._createEncoderBuffer(Y$);if(Y$<256)return this._createEncoderBuffer([0,Y$]);let Z$=1;for(let V$=Y$;V$>=256;V$>>=8)Z$++;let G$=new Array(Z$);for(let V$=G$.length-1;V$>=0;V$--)G$[V$]=Y$&255,Y$>>=8;return G$[0]&128&&G$.unshift(0),this._createEncoderBuffer(e0.from(G$))},Q$.prototype._encodeBool=function(Y$){return this._createEncoderBuffer(Y$?255:0)},Q$.prototype._use=function(Y$,O0){return typeof Y$=="function"&&(Y$=Y$(O0)),Y$._getEncoder("der").tree},Q$.prototype._skipDefault=function(Y$,O0,Z$){let G$=this._baseState,V$;if(G$.default===null)return!1;let U$=Y$.join();if(G$.defaultBuffer===void 0&&(G$.defaultBuffer=this._encodeValue(G$.default,O0,Z$).join()),U$.length!==G$.defaultBuffer.length)return!1;for(V$=0;V$<U$.length;V$++)if(U$[V$]!==G$.defaultBuffer[V$])return!1;return!0};function N(Y$,O0,Z$,G$){let V$;if(Y$==="seqof"?Y$="seq":Y$==="setof"&&(Y$="set"),i0.tagByName.hasOwnProperty(Y$))V$=i0.tagByName[Y$];else if(typeof Y$=="number"&&(Y$|0)===Y$)V$=Y$;else return G$.error("Unknown tag: "+Y$);return V$>=31?G$.error("Multi-octet tag encoding unsupported"):(O0||(V$|=32),V$|=i0.tagClassByName[Z$||"universal"]<<6,V$)}}}),r=pQ({"node_modules/asn1.js/lib/asn1/encoders/pem.js"(t0,m0){var a0=dQ(),e0=R();function r0(i0){e0.call(this,i0),this.enc="pem"}a0(r0,e0),m0.exports=r0,r0.prototype.encode=function(i0,$$){let Q$=e0.prototype.encode.call(this,i0).toString("base64"),$=["-----BEGIN "+$$.label+"-----"];for(let N=0;N<Q$.length;N+=64)$.push(Q$.slice(N,N+64));return $.push("-----END "+$$.label+"-----"),$.join(`
+`)}}}),c0=pQ({"node_modules/asn1.js/lib/asn1/encoders/index.js"(t0){var m0=t0;m0.der=R(),m0.pem=r()}}),h0=pQ({"node_modules/asn1.js/lib/asn1/decoders/der.js"(t0,m0){var a0=dQ(),e0=sY(),r0=kQ().DecoderBuffer,i0=aY(),$$=eY();function Q$(O0){this.enc="der",this.name=O0.name,this.entity=O0,this.tree=new $,this.tree._init(O0.body)}m0.exports=Q$,Q$.prototype.decode=function(O0,Z$){return r0.isDecoderBuffer(O0)||(O0=new r0(O0,Z$)),this.tree._decode(O0,Z$)};function $(O0){i0.call(this,"der",O0)}a0($,i0),$.prototype._peekTag=function(O0,Z$,G$){if(O0.isEmpty())return!1;let V$=O0.save(),U$=N(O0,'Failed to peek tag: "'+Z$+'"');return O0.isError(U$)?U$:(O0.restore(V$),U$.tag===Z$||U$.tagStr===Z$||U$.tagStr+"of"===Z$||G$)},$.prototype._decodeTag=function(O0,Z$,G$){let V$=N(O0,'Failed to decode tag of "'+Z$+'"');if(O0.isError(V$))return V$;let U$=Y$(O0,V$.primitive,'Failed to get length of "'+Z$+'"');if(O0.isError(U$))return U$;if(!G$&&V$.tag!==Z$&&V$.tagStr!==Z$&&V$.tagStr+"of"!==Z$)return O0.error('Failed to match tag: "'+Z$+'"');if(V$.primitive||U$!==null)return O0.skip(U$,'Failed to match body of: "'+Z$+'"');let X$=O0.save(),K$=this._skipUntilEnd(O0,'Failed to skip indefinite length body: "'+this.tag+'"');return O0.isError(K$)?K$:(U$=O0.offset-X$.offset,O0.restore(X$),O0.skip(U$,'Failed to match body of: "'+Z$+'"'))},$.prototype._skipUntilEnd=function(O0,Z$){for(;;){let G$=N(O0,Z$);if(O0.isError(G$))return G$;let V$=Y$(O0,G$.primitive,Z$);if(O0.isError(V$))return V$;let U$;if(G$.primitive||V$!==null?U$=O0.skip(V$):U$=this._skipUntilEnd(O0,Z$),O0.isError(U$))return U$;if(G$.tagStr==="end")break}},$.prototype._decodeList=function(O0,Z$,G$,V$){let U$=[];for(;!O0.isEmpty();){let X$=this._peekTag(O0,"end");if(O0.isError(X$))return X$;let K$=G$.decode(O0,"der",V$);if(O0.isError(K$)&&X$)break;U$.push(K$)}return U$},$.prototype._decodeStr=function(O0,Z$){if(Z$==="bitstr"){let G$=O0.readUInt8();return O0.isError(G$)?G$:{unused:G$,data:O0.raw()}}else if(Z$==="bmpstr"){let G$=O0.raw();if(G$.length%2===1)return O0.error("Decoding of string type: bmpstr length mismatch");let V$="";for(let U$=0;U$<G$.length/2;U$++)V$+=String.fromCharCode(G$.readUInt16BE(U$*2));return V$}else if(Z$==="numstr"){let G$=O0.raw().toString("ascii");return this._isNumstr(G$)?G$:O0.error("Decoding of string type: numstr unsupported characters")}else{if(Z$==="octstr")return O0.raw();if(Z$==="objDesc")return O0.raw();if(Z$==="printstr"){let G$=O0.raw().toString("ascii");return this._isPrintstr(G$)?G$:O0.error("Decoding of string type: printstr unsupported characters")}else return/str$/.test(Z$)?O0.raw().toString():O0.error("Decoding of string type: "+Z$+" unsupported")}},$.prototype._decodeObjid=function(O0,Z$,G$){let V$,U$=[],X$=0,K$=0;for(;!O0.isEmpty();)K$=O0.readUInt8(),X$<<=7,X$|=K$&127,(K$&128)===0&&(U$.push(X$),X$=0);K$&128&&U$.push(X$);let I$=U$[0]/40|0,Q=U$[0]%40;if(G$?V$=U$:V$=[I$,Q].concat(U$.slice(1)),Z$){let x=Z$[V$.join(" ")];x===void 0&&(x=Z$[V$.join(".")]),x!==void 0&&(V$=x)}return V$},$.prototype._decodeTime=function(O0,Z$){let G$=O0.raw().toString(),V$,U$,X$,K$,I$,Q;if(Z$==="gentime")V$=G$.slice(0,4)|0,U$=G$.slice(4,6)|0,X$=G$.slice(6,8)|0,K$=G$.slice(8,10)|0,I$=G$.slice(10,12)|0,Q=G$.slice(12,14)|0;else if(Z$==="utctime")V$=G$.slice(0,2)|0,U$=G$.slice(2,4)|0,X$=G$.slice(4,6)|0,K$=G$.slice(6,8)|0,I$=G$.slice(8,10)|0,Q=G$.slice(10,12)|0,V$<70?V$=2000+V$:V$=1900+V$;else return O0.error("Decoding "+Z$+" time is not supported yet");return Date.UTC(V$,U$-1,X$,K$,I$,Q,0)},$.prototype._decodeNull=function(){return null},$.prototype._decodeBool=function(O0){let Z$=O0.readUInt8();return O0.isError(Z$)?Z$:Z$!==0},$.prototype._decodeInt=function(O0,Z$){let G$=O0.raw(),V$=new e0(G$);return Z$&&(V$=Z$[V$.toString(10)]||V$),V$},$.prototype._use=function(O0,Z$){return typeof O0=="function"&&(O0=O0(Z$)),O0._getDecoder("der").tree};function N(O0,Z$){let G$=O0.readUInt8(Z$);if(O0.isError(G$))return G$;let V$=$$.tagClass[G$>>6],U$=(G$&32)===0;if((G$&31)===31){let K$=G$;for(G$=0;(K$&128)===128;){if(K$=O0.readUInt8(Z$),O0.isError(K$))return K$;G$<<=7,G$|=K$&127}}else G$&=31;let X$=$$.tag[G$];return{cls:V$,primitive:U$,tag:G$,tagStr:X$}}function Y$(O0,Z$,G$){let V$=O0.readUInt8(G$);if(O0.isError(V$))return V$;if(!Z$&&V$===128)return null;if((V$&128)===0)return V$;let U$=V$&127;if(U$>4)return O0.error("length octect is too long");V$=0;for(let X$=0;X$<U$;X$++){V$<<=8;let K$=O0.readUInt8(G$);if(O0.isError(K$))return K$;V$|=K$}return V$}}}),rY=pQ({"node_modules/asn1.js/lib/asn1/decoders/pem.js"(t0,m0){var a0=dQ(),e0=tY().Buffer,r0=h0();function i0($$){r0.call(this,$$),this.enc="pem"}a0(i0,r0),m0.exports=i0,i0.prototype.decode=function($$,Q$){let $=$$.toString().split(/[\r\n]+/g),N=Q$.label.toUpperCase(),Y$=/^-----(BEGIN|END) ([^-]+)-----$/,O0=-1,Z$=-1;for(let U$=0;U$<$.length;U$++){let X$=$[U$].match(Y$);if(X$!==null&&X$[2]===N)if(O0===-1){if(X$[1]!=="BEGIN")break;O0=U$}else{if(X$[1]!=="END")break;Z$=U$;break}}if(O0===-1||Z$===-1)throw new Error("PEM section not found for: "+N);let G$=$.slice(O0+1,Z$).join("");G$.replace(/[^a-z0-9+/=]+/gi,"");let V$=e0.from(G$,"base64");return r0.prototype.decode.call(this,V$,Q$)}}}),iY=pQ({"node_modules/asn1.js/lib/asn1/decoders/index.js"(t0){var m0=t0;m0.der=h0(),m0.pem=rY()}}),$Z=pQ({"node_modules/asn1.js/lib/asn1/api.js"(t0){var m0=c0(),a0=iY(),e0=dQ(),r0=t0;r0.define=function($$,Q$){return new i0($$,Q$)};function i0($$,Q$){this.name=$$,this.body=Q$,this.decoders={},this.encoders={}}i0.prototype._createNamed=function($$){let Q$=this.name;function $(N){this._initNamed(N,Q$)}return e0($,$$),$.prototype._initNamed=function(N,Y$){$$.call(this,N,Y$)},new $(this)},i0.prototype._getDecoder=function($$){return $$=$$||"der",this.decoders.hasOwnProperty($$)||(this.decoders[$$]=this._createNamed(a0[$$])),this.decoders[$$]},i0.prototype.decode=function($$,Q$,$){return this._getDecoder(Q$).decode($$,$)},i0.prototype._getEncoder=function($$){return $$=$$||"der",this.encoders.hasOwnProperty($$)||(this.encoders[$$]=this._createNamed(m0[$$])),this.encoders[$$]},i0.prototype.encode=function($$,Q$,$){return this._getEncoder(Q$).encode($$,$)}}}),QZ=pQ({"node_modules/asn1.js/lib/asn1/base/index.js"(t0){var m0=t0;m0.Reporter=mY().Reporter,m0.DecoderBuffer=kQ().DecoderBuffer,m0.EncoderBuffer=kQ().EncoderBuffer,m0.Node=aY()}}),YZ=pQ({"node_modules/asn1.js/lib/asn1/constants/index.js"(t0){var m0=t0;m0._reverse=function(a0){let e0={};return Object.keys(a0).forEach(function(r0){(r0|0)==r0&&(r0=r0|0);let i0=a0[r0];e0[i0]=r0}),e0},m0.der=eY()}}),ZZ=pQ({"node_modules/asn1.js/lib/asn1.js"(t0){var m0=t0;m0.bignum=sY(),m0.define=$Z().define,m0.base=QZ(),m0.constants=YZ(),m0.decoders=iY(),m0.encoders=c0()}}),GZ=pQ({"node_modules/parse-asn1/certificate.js"(t0,m0){var a0=ZZ(),e0=a0.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),r0=a0.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),i0=a0.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),$$=a0.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(i0),this.key("subjectPublicKey").bitstr())}),Q$=a0.define("RelativeDistinguishedName",function(){this.setof(r0)}),$=a0.define("RDNSequence",function(){this.seqof(Q$)}),N=a0.define("Name",function(){this.choice({rdnSequence:this.use($)})}),Y$=a0.define("Validity",function(){this.seq().obj(this.key("notBefore").use(e0),this.key("notAfter").use(e0))}),O0=a0.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),Z$=a0.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(i0),this.key("issuer").use(N),this.key("validity").use(Y$),this.key("subject").use(N),this.key("subjectPublicKeyInfo").use($$),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(O0).optional())}),G$=a0.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(Z$),this.key("signatureAlgorithm").use(i0),this.key("signatureValue").bitstr())});m0.exports=G$}}),P=pQ({"node_modules/parse-asn1/asn1.js"(t0){var m0=ZZ();t0.certificate=GZ();var a0=m0.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});t0.RSAPrivateKey=a0;var e0=m0.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});t0.RSAPublicKey=e0;var r0=m0.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(i0),this.key("subjectPublicKey").bitstr())});t0.PublicKey=r0;var i0=m0.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),$$=m0.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(i0),this.key("subjectPrivateKey").octstr())});t0.PrivateKey=$$;var Q$=m0.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});t0.EncryptedPrivateKey=Q$;var $=m0.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});t0.DSAPrivateKey=$,t0.DSAparam=m0.define("DSAparam",function(){this.int()});var N=m0.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(Y$),this.key("publicKey").optional().explicit(1).bitstr())});t0.ECPrivateKey=N;var Y$=m0.define("ECParameters",function(){this.choice({namedCurve:this.objid()})});t0.signature=m0.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})}}),i=pQ({"node_modules/parse-asn1/aesid.json"(t0,m0){m0.exports={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}}}),VZ=pQ({"node_modules/parse-asn1/fixProc.js"(t0,m0){var a0=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,e0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,r0=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,i0=k0(),$$=DY(),Q$=cQ().Buffer;m0.exports=function($,N){var Y$=$.toString(),O0=Y$.match(a0),Z$;if(O0){var G$="aes"+O0[1],V$=Q$.from(O0[2],"hex"),U$=Q$.from(O0[3].replace(/[\r\n]/g,""),"base64"),X$=i0(N,V$.slice(0,8),parseInt(O0[1],10)).key,K$=[],I$=$$.createDecipheriv(G$,X$,V$);K$.push(I$.update(U$)),K$.push(I$.final()),Z$=Q$.concat(K$)}else{var Q=Y$.match(r0);Z$=Q$.from(Q[2].replace(/[\r\n]/g,""),"base64")}var x=Y$.match(e0)[1];return{tag:x,data:Z$}}}}),d0=pQ({"node_modules/parse-asn1/index.js"(t0,m0){var a0=P(),e0=i(),r0=VZ(),i0=DY(),$$=u(),Q$=cQ().Buffer;m0.exports=$;function $(Y$){var O0;typeof Y$=="object"&&!Q$.isBuffer(Y$)&&(O0=Y$.passphrase,Y$=Y$.key),typeof Y$=="string"&&(Y$=Q$.from(Y$));var Z$=r0(Y$,O0),G$=Z$.tag,V$=Z$.data,U$,X$;switch(G$){case"CERTIFICATE":X$=a0.certificate.decode(V$,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(X$||(X$=a0.PublicKey.decode(V$,"der")),U$=X$.algorithm.algorithm.join("."),U$){case"1.2.840.113549.1.1.1":return a0.RSAPublicKey.decode(X$.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return X$.subjectPrivateKey=X$.subjectPublicKey,{type:"ec",data:X$};case"1.2.840.10040.4.1":return X$.algorithm.params.pub_key=a0.DSAparam.decode(X$.subjectPublicKey.data,"der"),{type:"dsa",data:X$.algorithm.params};default:throw new Error("unknown key id "+U$)}case"ENCRYPTED PRIVATE KEY":V$=a0.EncryptedPrivateKey.decode(V$,"der"),V$=N(V$,O0);case"PRIVATE KEY":switch(X$=a0.PrivateKey.decode(V$,"der"),U$=X$.algorithm.algorithm.join("."),U$){case"1.2.840.113549.1.1.1":return a0.RSAPrivateKey.decode(X$.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:X$.algorithm.curve,privateKey:a0.ECPrivateKey.decode(X$.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return X$.algorithm.params.priv_key=a0.DSAparam.decode(X$.subjectPrivateKey,"der"),{type:"dsa",params:X$.algorithm.params};default:throw new Error("unknown key id "+U$)}case"RSA PUBLIC KEY":return a0.RSAPublicKey.decode(V$,"der");case"RSA PRIVATE KEY":return a0.RSAPrivateKey.decode(V$,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:a0.DSAPrivateKey.decode(V$,"der")};case"EC PRIVATE KEY":return V$=a0.ECPrivateKey.decode(V$,"der"),{curve:V$.parameters.value,privateKey:V$.privateKey};default:throw new Error("unknown key type "+G$)}}$.signature=a0.signature;function N(Y$,O0){var Z$=Y$.algorithm.decrypt.kde.kdeparams.salt,G$=parseInt(Y$.algorithm.decrypt.kde.kdeparams.iters.toString(),10),V$=e0[Y$.algorithm.decrypt.cipher.algo.join(".")],U$=Y$.algorithm.decrypt.cipher.iv,X$=Y$.subjectPrivateKey,K$=parseInt(V$.split("-")[1],10)/8,I$=$$.pbkdf2Sync(O0,Z$,G$,K$,"sha1"),Q=i0.createDecipheriv(V$,I$,U$),x=[];return x.push(Q.update(X$)),x.push(Q.final()),Q$.concat(x)}}}),UZ=pQ({"node_modules/browserify-sign/browser/curves.json"(t0,m0){m0.exports={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}}}),XZ=pQ({"node_modules/browserify-sign/browser/sign.js"(t0,m0){var a0=cQ().Buffer,e0=aQ(),r0=qY(),i0=nY().ec,$$=vY(),Q$=d0(),$=UZ();function N(I$,Q,x,O$,J0){var J$=Q$(Q);if(J$.curve){if(O$!=="ecdsa"&&O$!=="ecdsa/rsa")throw new Error("wrong private key type");return Y$(I$,J$)}else if(J$.type==="dsa"){if(O$!=="dsa")throw new Error("wrong private key type");return O0(I$,J$,x)}else if(O$!=="rsa"&&O$!=="ecdsa/rsa")throw new Error("wrong private key type");I$=a0.concat([J0,I$]);for(var F$=J$.modulus.byteLength(),A$=[0,1];I$.length+A$.length+1<F$;)A$.push(255);A$.push(0);for(var H$=-1;++H$<I$.length;)A$.push(I$[H$]);var W$=r0(A$,J$);return W$}function Y$(I$,Q){var x=$[Q.curve.join(".")];if(!x)throw new Error("unknown curve "+Q.curve.join("."));var O$=new i0(x),J0=O$.keyFromPrivate(Q.privateKey),J$=J0.sign(I$);return a0.from(J$.toDER())}function O0(I$,Q,x){for(var O$=Q.params.priv_key,J0=Q.params.p,J$=Q.params.q,F$=Q.params.g,A$=new $$(0),H$,W$=V$(I$,J$).mod(J$),E$=!1,T$=G$(O$,J$,I$,x);E$===!1;)H$=X$(J$,T$,x),A$=K$(F$,H$,J0,J$),E$=H$.invm(J$).imul(W$.add(O$.mul(A$))).mod(J$),E$.cmpn(0)===0&&(E$=!1,A$=new $$(0));return Z$(A$,E$)}function Z$(I$,Q){I$=I$.toArray(),Q=Q.toArray(),I$[0]&128&&(I$=[0].concat(I$)),Q[0]&128&&(Q=[0].concat(Q));var x=I$.length+Q.length+4,O$=[48,x,2,I$.length];return O$=O$.concat(I$,[2,Q.length],Q),a0.from(O$)}function G$(I$,Q,x,O$){if(I$=a0.from(I$.toArray()),I$.length<Q.byteLength()){var J0=a0.alloc(Q.byteLength()-I$.length);I$=a0.concat([J0,I$])}var J$=x.length,F$=U$(x,Q),A$=a0.alloc(J$);A$.fill(1);var H$=a0.alloc(J$);return H$=e0(O$,H$).update(A$).update(a0.from([0])).update(I$).update(F$).digest(),A$=e0(O$,H$).update(A$).digest(),H$=e0(O$,H$).update(A$).update(a0.from([1])).update(I$).update(F$).digest(),A$=e0(O$,H$).update(A$).digest(),{k:H$,v:A$}}function V$(I$,Q){var x=new $$(I$),O$=(I$.length<<3)-Q.bitLength();return O$>0&&x.ishrn(O$),x}function U$(I$,Q){I$=V$(I$,Q),I$=I$.mod(Q);var x=a0.from(I$.toArray());if(x.length<Q.byteLength()){var O$=a0.alloc(Q.byteLength()-x.length);x=a0.concat([O$,x])}return x}function X$(I$,Q,x){var O$,J0;do{for(O$=a0.alloc(0);O$.length*8<I$.bitLength();)Q.v=e0(x,Q.k).update(Q.v).digest(),O$=a0.concat([O$,Q.v]);J0=V$(O$,I$),Q.k=e0(x,Q.k).update(Q.v).update(a0.from([0])).digest(),Q.v=e0(x,Q.k).update(Q.v).digest()}while(J0.cmp(I$)!==-1);return J0}function K$(I$,Q,x,O$){return I$.toRed($$.mont(x)).redPow(Q).fromRed().mod(O$)}m0.exports=N,m0.exports.getKey=G$,m0.exports.makeKey=X$}}),KZ=pQ({"node_modules/browserify-sign/browser/verify.js"(t0,m0){var a0=cQ().Buffer,e0=vY(),r0=nY().ec,i0=d0(),$$=UZ();function Q$(O0,Z$,G$,V$,U$){var X$=i0(G$);if(X$.type==="ec"){if(V$!=="ecdsa"&&V$!=="ecdsa/rsa")throw new Error("wrong public key type");return $(O0,Z$,X$)}else if(X$.type==="dsa"){if(V$!=="dsa")throw new Error("wrong public key type");return N(O0,Z$,X$)}else if(V$!=="rsa"&&V$!=="ecdsa/rsa")throw new Error("wrong public key type");Z$=a0.concat([U$,Z$]);for(var K$=X$.modulus.byteLength(),I$=[1],Q=0;Z$.length+I$.length+2<K$;)I$.push(255),Q++;I$.push(0);for(var x=-1;++x<Z$.length;)I$.push(Z$[x]);I$=a0.from(I$);var O$=e0.mont(X$.modulus);O0=new e0(O0).toRed(O$),O0=O0.redPow(new e0(X$.publicExponent)),O0=a0.from(O0.fromRed().toArray());var J0=Q<8?1:0;for(K$=Math.min(O0.length,I$.length),O0.length!==I$.length&&(J0=1),x=-1;++x<K$;)J0|=O0[x]^I$[x];return J0===0}function $(O0,Z$,G$){var V$=$$[G$.data.algorithm.curve.join(".")];if(!V$)throw new Error("unknown curve "+G$.data.algorithm.curve.join("."));var U$=new r0(V$),X$=G$.data.subjectPrivateKey.data;return U$.verify(Z$,O0,X$)}function N(O0,Z$,G$){var V$=G$.data.p,U$=G$.data.q,X$=G$.data.g,K$=G$.data.pub_key,I$=i0.signature.decode(O0,"der"),Q=I$.s,x=I$.r;Y$(Q,U$),Y$(x,U$);var O$=e0.mont(V$),J0=Q.invm(U$),J$=X$.toRed(O$).redPow(new e0(Z$).mul(J0).mod(U$)).fromRed().mul(K$.toRed(O$).redPow(x.mul(J0).mod(U$)).fromRed()).mod(V$).mod(U$);return J$.cmp(x)===0}function Y$(O0,Z$){if(O0.cmpn(0)<=0)throw new Error("invalid sig");if(O0.cmp(Z$)>=Z$)throw new Error("invalid sig")}m0.exports=Q$}}),IZ=pQ({"node_modules/browserify-sign/browser/index.js"(t0,m0){var a0=cQ().Buffer,e0=w(),r0=dQ(),i0=XZ(),$$=KZ(),Q$=eQ();Object.keys(Q$).forEach(function(Z$){Q$[Z$].id=a0.from(Q$[Z$].id,"hex"),Q$[Z$.toLowerCase()]=Q$[Z$]});function $(Z$){R0.Writable.call(this);var G$=Q$[Z$];if(!G$)throw new Error("Unknown message digest");this._hashType=G$.hash,this._hash=e0(G$.hash),this._tag=G$.id,this._signType=G$.sign}r0($,R0.Writable),$.prototype._write=function(Z$,G$,V$){this._hash.update(Z$),V$()},$.prototype.update=function(Z$,G$){return typeof Z$=="string"&&(Z$=a0.from(Z$,G$)),this._hash.update(Z$),this},$.prototype.sign=function(Z$,G$){this.end();var V$=this._hash.digest(),U$=i0(V$,Z$,this._hashType,this._signType,this._tag);return G$?U$.toString(G$):U$};function N(Z$){R0.Writable.call(this);var G$=Q$[Z$];if(!G$)throw new Error("Unknown message digest");this._hash=e0(G$.hash),this._tag=G$.id,this._signType=G$.sign}r0(N,R0.Writable),N.prototype._write=function(Z$,G$,V$){this._hash.update(Z$),V$()},N.prototype.update=function(Z$,G$){return typeof Z$=="string"&&(Z$=a0.from(Z$,G$)),this._hash.update(Z$),this},N.prototype.verify=function(Z$,G$,V$){typeof G$=="string"&&(G$=a0.from(G$,V$)),this.end();var U$=this._hash.digest();return $$(G$,U$,Z$,this._signType,this._tag)};function Y$(Z$){return new $(Z$)}function O0(Z$){return new N(Z$)}m0.exports={Sign:Y$,Verify:O0,createSign:Y$,createVerify:O0}}}),OZ=pQ({"node_modules/create-ecdh/node_modules/bn.js/lib/bn.js"(t0,m0){(function(a0,e0){function r0(E$,T$){if(!E$)throw new Error(T$||"Assertion failed")}function i0(E$,T$){E$.super_=T$;var Y=function(){};Y.prototype=T$.prototype,E$.prototype=new Y,E$.prototype.constructor=E$}function $$(E$,T$,Y){if($$.isBN(E$))return E$;this.negative=0,this.words=null,this.length=0,this.red=null,E$!==null&&((T$==="le"||T$==="be")&&(Y=T$,T$=10),this._init(E$||0,T$||10,Y||"be"))}typeof a0=="object"?a0.exports=$$:e0.BN=$$,$$.BN=$$,$$.wordSize=26;var Q$=G0;$$.isBN=function(E$){return E$ instanceof $$?!0:E$!==null&&typeof E$=="object"&&E$.constructor.wordSize===$$.wordSize&&Array.isArray(E$.words)},$$.max=function(E$,T$){return E$.cmp(T$)>0?E$:T$},$$.min=function(E$,T$){return E$.cmp(T$)<0?E$:T$},$$.prototype._init=function(E$,T$,Y){if(typeof E$=="number")return this._initNumber(E$,T$,Y);if(typeof E$=="object")return this._initArray(E$,T$,Y);T$==="hex"&&(T$=16),r0(T$===(T$|0)&&T$>=2&&T$<=36),E$=E$.toString().replace(/\s+/g,"");var f=0;E$[0]==="-"&&(f++,this.negative=1),f<E$.length&&(T$===16?this._parseHex(E$,f,Y):(this._parseBase(E$,T$,f),Y==="le"&&this._initArray(this.toArray(),T$,Y)))},$$.prototype._initNumber=function(E$,T$,Y){E$<0&&(this.negative=1,E$=-E$),E$<67108864?(this.words=[E$&67108863],this.length=1):E$<4503599627370496?(this.words=[E$&67108863,E$/67108864&67108863],this.length=2):(r0(E$<9007199254740992),this.words=[E$&67108863,E$/67108864&67108863,1],this.length=3),Y==="le"&&this._initArray(this.toArray(),T$,Y)},$$.prototype._initArray=function(E$,T$,Y){if(r0(typeof E$.length=="number"),E$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E$.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$,F0,C$=0;if(Y==="be")for(f=E$.length-1,D$=0;f>=0;f-=3)F0=E$[f]|E$[f-1]<<8|E$[f-2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);else if(Y==="le")for(f=0,D$=0;f<E$.length;f+=3)F0=E$[f]|E$[f+1]<<8|E$[f+2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);return this.strip()};function $(E$,T$){var Y=E$.charCodeAt(T$);return Y>=65&&Y<=70?Y-55:Y>=97&&Y<=102?Y-87:Y-48&15}function N(E$,T$,Y){var f=$(E$,Y);return Y-1>=T$&&(f|=$(E$,Y-1)<<4),f}$$.prototype._parseHex=function(E$,T$,Y){this.length=Math.ceil((E$.length-T$)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$=0,F0=0,C$;if(Y==="be")for(f=E$.length-1;f>=T$;f-=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8;else{var L$=E$.length-T$;for(f=L$%2===0?T$+1:T$;f<E$.length;f+=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8}this.strip()};function Y$(E$,T$,Y,f){for(var D$=0,F0=Math.min(E$.length,Y),C$=T$;C$<F0;C$++){var L$=E$.charCodeAt(C$)-48;D$*=f,L$>=49?D$+=L$-49+10:L$>=17?D$+=L$-17+10:D$+=L$}return D$}$$.prototype._parseBase=function(E$,T$,Y){this.words=[0],this.length=1;for(var f=0,D$=1;D$<=67108863;D$*=T$)f++;f--,D$=D$/T$|0;for(var F0=E$.length-Y,C$=F0%f,L$=Math.min(F0,F0-C$)+Y,R$=0,P$=Y;P$<L$;P$+=f)R$=Y$(E$,P$,P$+f,T$),this.imuln(D$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$);if(C$!==0){var z$=1;for(R$=Y$(E$,P$,E$.length,T$),P$=0;P$<C$;P$++)z$*=T$;this.imuln(z$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$)}this.strip()},$$.prototype.copy=function(E$){E$.words=new Array(this.length);for(var T$=0;T$<this.length;T$++)E$.words[T$]=this.words[T$];E$.length=this.length,E$.negative=this.negative,E$.red=this.red},$$.prototype.clone=function(){var E$=new $$(null);return this.copy(E$),E$},$$.prototype._expand=function(E$){for(;this.length<E$;)this.words[this.length++]=0;return this},$$.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},$$.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},$$.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var O0=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],Z$=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],G$=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];$$.prototype.toString=function(E$,T$){E$=E$||10,T$=T$|0||1;var Y;if(E$===16||E$==="hex"){Y="";for(var f=0,D$=0,F0=0;F0<this.length;F0++){var C$=this.words[F0],L$=((C$<<f|D$)&16777215).toString(16);D$=C$>>>24-f&16777215,D$!==0||F0!==this.length-1?Y=O0[6-L$.length]+L$+Y:Y=L$+Y,f+=2,f>=26&&(f-=26,F0--)}for(D$!==0&&(Y=D$.toString(16)+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}if(E$===(E$|0)&&E$>=2&&E$<=36){var R$=Z$[E$],P$=G$[E$];Y="";var z$=this.clone();for(z$.negative=0;!z$.isZero();){var M$=z$.modn(P$).toString(E$);z$=z$.idivn(P$),z$.isZero()?Y=M$+Y:Y=O0[R$-M$.length]+M$+Y}for(this.isZero()&&(Y="0"+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}r0(!1,"Base should be between 2 and 36")},$$.prototype.toNumber=function(){var E$=this.words[0];return this.length===2?E$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?E$+=4503599627370496+this.words[1]*67108864:this.length>2&&r0(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-E$:E$},$$.prototype.toJSON=function(){return this.toString(16)},$$.prototype.toBuffer=function(E$,T$){return r0(typeof Q$<"u"),this.toArrayLike(Q$,E$,T$)},$$.prototype.toArray=function(E$,T$){return this.toArrayLike(Array,E$,T$)},$$.prototype.toArrayLike=function(E$,T$,Y){var f=this.byteLength(),D$=Y||Math.max(1,f);r0(f<=D$,"byte array longer than desired length"),r0(D$>0,"Requested array length <= 0"),this.strip();var F0=T$==="le",C$=new E$(D$),L$,R$,P$=this.clone();if(F0){for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[R$]=L$;for(;R$<D$;R$++)C$[R$]=0}else{for(R$=0;R$<D$-f;R$++)C$[R$]=0;for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[D$-R$-1]=L$}return C$},Math.clz32?$$.prototype._countBits=function(E$){return 32-Math.clz32(E$)}:$$.prototype._countBits=function(E$){var T$=E$,Y=0;return T$>=4096&&(Y+=13,T$>>>=13),T$>=64&&(Y+=7,T$>>>=7),T$>=8&&(Y+=4,T$>>>=4),T$>=2&&(Y+=2,T$>>>=2),Y+T$},$$.prototype._zeroBits=function(E$){if(E$===0)return 26;var T$=E$,Y=0;return(T$&8191)===0&&(Y+=13,T$>>>=13),(T$&127)===0&&(Y+=7,T$>>>=7),(T$&15)===0&&(Y+=4,T$>>>=4),(T$&3)===0&&(Y+=2,T$>>>=2),(T$&1)===0&&Y++,Y},$$.prototype.bitLength=function(){var E$=this.words[this.length-1],T$=this._countBits(E$);return(this.length-1)*26+T$};function V$(E$){for(var T$=new Array(E$.bitLength()),Y=0;Y<T$.length;Y++){var f=Y/26|0,D$=Y%26;T$[Y]=(E$.words[f]&1<<D$)>>>D$}return T$}$$.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E$=0,T$=0;T$<this.length;T$++){var Y=this._zeroBits(this.words[T$]);if(E$+=Y,Y!==26)break}return E$},$$.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},$$.prototype.toTwos=function(E$){return this.negative!==0?this.abs().inotn(E$).iaddn(1):this.clone()},$$.prototype.fromTwos=function(E$){return this.testn(E$-1)?this.notn(E$).iaddn(1).ineg():this.clone()},$$.prototype.isNeg=function(){return this.negative!==0},$$.prototype.neg=function(){return this.clone().ineg()},$$.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},$$.prototype.iuor=function(E$){for(;this.length<E$.length;)this.words[this.length++]=0;for(var T$=0;T$<E$.length;T$++)this.words[T$]=this.words[T$]|E$.words[T$];return this.strip()},$$.prototype.ior=function(E$){return r0((this.negative|E$.negative)===0),this.iuor(E$)},$$.prototype.or=function(E$){return this.length>E$.length?this.clone().ior(E$):E$.clone().ior(this)},$$.prototype.uor=function(E$){return this.length>E$.length?this.clone().iuor(E$):E$.clone().iuor(this)},$$.prototype.iuand=function(E$){var T$;this.length>E$.length?T$=E$:T$=this;for(var Y=0;Y<T$.length;Y++)this.words[Y]=this.words[Y]&E$.words[Y];return this.length=T$.length,this.strip()},$$.prototype.iand=function(E$){return r0((this.negative|E$.negative)===0),this.iuand(E$)},$$.prototype.and=function(E$){return this.length>E$.length?this.clone().iand(E$):E$.clone().iand(this)},$$.prototype.uand=function(E$){return this.length>E$.length?this.clone().iuand(E$):E$.clone().iuand(this)},$$.prototype.iuxor=function(E$){var T$,Y;this.length>E$.length?(T$=this,Y=E$):(T$=E$,Y=this);for(var f=0;f<Y.length;f++)this.words[f]=T$.words[f]^Y.words[f];if(this!==T$)for(;f<T$.length;f++)this.words[f]=T$.words[f];return this.length=T$.length,this.strip()},$$.prototype.ixor=function(E$){return r0((this.negative|E$.negative)===0),this.iuxor(E$)},$$.prototype.xor=function(E$){return this.length>E$.length?this.clone().ixor(E$):E$.clone().ixor(this)},$$.prototype.uxor=function(E$){return this.length>E$.length?this.clone().iuxor(E$):E$.clone().iuxor(this)},$$.prototype.inotn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=Math.ceil(E$/26)|0,Y=E$%26;this._expand(T$),Y>0&&T$--;for(var f=0;f<T$;f++)this.words[f]=~this.words[f]&67108863;return Y>0&&(this.words[f]=~this.words[f]&67108863>>26-Y),this.strip()},$$.prototype.notn=function(E$){return this.clone().inotn(E$)},$$.prototype.setn=function(E$,T$){r0(typeof E$=="number"&&E$>=0);var Y=E$/26|0,f=E$%26;return this._expand(Y+1),T$?this.words[Y]=this.words[Y]|1<<f:this.words[Y]=this.words[Y]&~(1<<f),this.strip()},$$.prototype.iadd=function(E$){var T$;if(this.negative!==0&&E$.negative===0)return this.negative=0,T$=this.isub(E$),this.negative^=1,this._normSign();if(this.negative===0&&E$.negative!==0)return E$.negative=0,T$=this.isub(E$),E$.negative=1,T$._normSign();var Y,f;this.length>E$.length?(Y=this,f=E$):(Y=E$,f=this);for(var D$=0,F0=0;F0<f.length;F0++)T$=(Y.words[F0]|0)+(f.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;for(;D$!==0&&F0<Y.length;F0++)T$=(Y.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;if(this.length=Y.length,D$!==0)this.words[this.length]=D$,this.length++;else if(Y!==this)for(;F0<Y.length;F0++)this.words[F0]=Y.words[F0];return this},$$.prototype.add=function(E$){var T$;return E$.negative!==0&&this.negative===0?(E$.negative=0,T$=this.sub(E$),E$.negative^=1,T$):E$.negative===0&&this.negative!==0?(this.negative=0,T$=E$.sub(this),this.negative=1,T$):this.length>E$.length?this.clone().iadd(E$):E$.clone().iadd(this)},$$.prototype.isub=function(E$){if(E$.negative!==0){E$.negative=0;var T$=this.iadd(E$);return E$.negative=1,T$._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(E$),this.negative=1,this._normSign();var Y=this.cmp(E$);if(Y===0)return this.negative=0,this.length=1,this.words[0]=0,this;var f,D$;Y>0?(f=this,D$=E$):(f=E$,D$=this);for(var F0=0,C$=0;C$<D$.length;C$++)T$=(f.words[C$]|0)-(D$.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;for(;F0!==0&&C$<f.length;C$++)T$=(f.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;if(F0===0&&C$<f.length&&f!==this)for(;C$<f.length;C$++)this.words[C$]=f.words[C$];return this.length=Math.max(this.length,C$),f!==this&&(this.negative=1),this.strip()},$$.prototype.sub=function(E$){return this.clone().isub(E$)};function U$(E$,T$,Y){Y.negative=T$.negative^E$.negative;var f=E$.length+T$.length|0;Y.length=f,f=f-1|0;var D$=E$.words[0]|0,F0=T$.words[0]|0,C$=D$*F0,L$=C$&67108863,R$=C$/67108864|0;Y.words[0]=L$;for(var P$=1;P$<f;P$++){for(var z$=R$>>>26,M$=R$&67108863,S$=Math.min(P$,T$.length-1),Z=Math.max(0,P$-E$.length+1);Z<=S$;Z++){var c=P$-Z|0;D$=E$.words[c]|0,F0=T$.words[Z]|0,C$=D$*F0+M$,z$+=C$/67108864|0,M$=C$&67108863}Y.words[P$]=M$|0,R$=z$|0}return R$!==0?Y.words[P$]=R$|0:Y.length--,Y.strip()}var X$=function(E$,T$,Y){var f=E$.words,D$=T$.words,F0=Y.words,C$=0,L$,R$,P$,z$=f[0]|0,M$=z$&8191,S$=z$>>>13,Z=f[1]|0,c=Z&8191,v$=Z>>>13,A0=f[2]|0,q$=A0&8191,j$=A0>>>13,k$=f[3]|0,g$=k$&8191,_$=k$>>>13,N$=f[4]|0,x$=N$&8191,G=N$>>>13,B=f[5]|0,B$=B&8191,H0=B>>>13,y$=f[6]|0,w$=y$&8191,p$=y$>>>13,f$=f[7]|0,c$=f$&8191,h$=f$>>>13,d$=f[8]|0,V=d$&8191,h=d$>>>13,W0=f[9]|0,E0=W0&8191,b$=W0>>>13,l$=D$[0]|0,o$=l$&8191,u$=l$>>>13,n$=D$[1]|0,s$=n$&8191,t$=n$>>>13,U=D$[2]|0,d=U&8191,m$=U>>>13,T0=D$[3]|0,a$=T0&8191,e$=T0>>>13,r$=D$[4]|0,i$=r$&8191,$Q=r$>>>13,QQ=D$[5]|0,YQ=QQ&8191,X=QQ>>>13,b=D$[6]|0,ZQ=b&8191,D0=b>>>13,GQ=D$[7]|0,VQ=GQ&8191,UQ=GQ>>>13,XQ=D$[8]|0,KQ=XQ&8191,IQ=XQ>>>13,OQ=D$[9]|0,K=OQ&8191,l=OQ>>>13;Y.negative=E$.negative^T$.negative,Y.length=19,L$=Math.imul(M$,o$),R$=Math.imul(M$,u$),R$=R$+Math.imul(S$,o$)|0,P$=Math.imul(S$,u$);var JQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(JQ>>>26)|0,JQ&=67108863,L$=Math.imul(c,o$),R$=Math.imul(c,u$),R$=R$+Math.imul(v$,o$)|0,P$=Math.imul(v$,u$),L$=L$+Math.imul(M$,s$)|0,R$=R$+Math.imul(M$,t$)|0,R$=R$+Math.imul(S$,s$)|0,P$=P$+Math.imul(S$,t$)|0;var C0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(C0>>>26)|0,C0&=67108863,L$=Math.imul(q$,o$),R$=Math.imul(q$,u$),R$=R$+Math.imul(j$,o$)|0,P$=Math.imul(j$,u$),L$=L$+Math.imul(c,s$)|0,R$=R$+Math.imul(c,t$)|0,R$=R$+Math.imul(v$,s$)|0,P$=P$+Math.imul(v$,t$)|0,L$=L$+Math.imul(M$,d)|0,R$=R$+Math.imul(M$,m$)|0,R$=R$+Math.imul(S$,d)|0,P$=P$+Math.imul(S$,m$)|0;var FQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(FQ>>>26)|0,FQ&=67108863,L$=Math.imul(g$,o$),R$=Math.imul(g$,u$),R$=R$+Math.imul(_$,o$)|0,P$=Math.imul(_$,u$),L$=L$+Math.imul(q$,s$)|0,R$=R$+Math.imul(q$,t$)|0,R$=R$+Math.imul(j$,s$)|0,P$=P$+Math.imul(j$,t$)|0,L$=L$+Math.imul(c,d)|0,R$=R$+Math.imul(c,m$)|0,R$=R$+Math.imul(v$,d)|0,P$=P$+Math.imul(v$,m$)|0,L$=L$+Math.imul(M$,a$)|0,R$=R$+Math.imul(M$,e$)|0,R$=R$+Math.imul(S$,a$)|0,P$=P$+Math.imul(S$,e$)|0;var AQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(AQ>>>26)|0,AQ&=67108863,L$=Math.imul(x$,o$),R$=Math.imul(x$,u$),R$=R$+Math.imul(G,o$)|0,P$=Math.imul(G,u$),L$=L$+Math.imul(g$,s$)|0,R$=R$+Math.imul(g$,t$)|0,R$=R$+Math.imul(_$,s$)|0,P$=P$+Math.imul(_$,t$)|0,L$=L$+Math.imul(q$,d)|0,R$=R$+Math.imul(q$,m$)|0,R$=R$+Math.imul(j$,d)|0,P$=P$+Math.imul(j$,m$)|0,L$=L$+Math.imul(c,a$)|0,R$=R$+Math.imul(c,e$)|0,R$=R$+Math.imul(v$,a$)|0,P$=P$+Math.imul(v$,e$)|0,L$=L$+Math.imul(M$,i$)|0,R$=R$+Math.imul(M$,$Q)|0,R$=R$+Math.imul(S$,i$)|0,P$=P$+Math.imul(S$,$Q)|0;var HQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(HQ>>>26)|0,HQ&=67108863,L$=Math.imul(B$,o$),R$=Math.imul(B$,u$),R$=R$+Math.imul(H0,o$)|0,P$=Math.imul(H0,u$),L$=L$+Math.imul(x$,s$)|0,R$=R$+Math.imul(x$,t$)|0,R$=R$+Math.imul(G,s$)|0,P$=P$+Math.imul(G,t$)|0,L$=L$+Math.imul(g$,d)|0,R$=R$+Math.imul(g$,m$)|0,R$=R$+Math.imul(_$,d)|0,P$=P$+Math.imul(_$,m$)|0,L$=L$+Math.imul(q$,a$)|0,R$=R$+Math.imul(q$,e$)|0,R$=R$+Math.imul(j$,a$)|0,P$=P$+Math.imul(j$,e$)|0,L$=L$+Math.imul(c,i$)|0,R$=R$+Math.imul(c,$Q)|0,R$=R$+Math.imul(v$,i$)|0,P$=P$+Math.imul(v$,$Q)|0,L$=L$+Math.imul(M$,YQ)|0,R$=R$+Math.imul(M$,X)|0,R$=R$+Math.imul(S$,YQ)|0,P$=P$+Math.imul(S$,X)|0;var WQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(WQ>>>26)|0,WQ&=67108863,L$=Math.imul(w$,o$),R$=Math.imul(w$,u$),R$=R$+Math.imul(p$,o$)|0,P$=Math.imul(p$,u$),L$=L$+Math.imul(B$,s$)|0,R$=R$+Math.imul(B$,t$)|0,R$=R$+Math.imul(H0,s$)|0,P$=P$+Math.imul(H0,t$)|0,L$=L$+Math.imul(x$,d)|0,R$=R$+Math.imul(x$,m$)|0,R$=R$+Math.imul(G,d)|0,P$=P$+Math.imul(G,m$)|0,L$=L$+Math.imul(g$,a$)|0,R$=R$+Math.imul(g$,e$)|0,R$=R$+Math.imul(_$,a$)|0,P$=P$+Math.imul(_$,e$)|0,L$=L$+Math.imul(q$,i$)|0,R$=R$+Math.imul(q$,$Q)|0,R$=R$+Math.imul(j$,i$)|0,P$=P$+Math.imul(j$,$Q)|0,L$=L$+Math.imul(c,YQ)|0,R$=R$+Math.imul(c,X)|0,R$=R$+Math.imul(v$,YQ)|0,P$=P$+Math.imul(v$,X)|0,L$=L$+Math.imul(M$,ZQ)|0,R$=R$+Math.imul(M$,D0)|0,R$=R$+Math.imul(S$,ZQ)|0,P$=P$+Math.imul(S$,D0)|0;var EQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(EQ>>>26)|0,EQ&=67108863,L$=Math.imul(c$,o$),R$=Math.imul(c$,u$),R$=R$+Math.imul(h$,o$)|0,P$=Math.imul(h$,u$),L$=L$+Math.imul(w$,s$)|0,R$=R$+Math.imul(w$,t$)|0,R$=R$+Math.imul(p$,s$)|0,P$=P$+Math.imul(p$,t$)|0,L$=L$+Math.imul(B$,d)|0,R$=R$+Math.imul(B$,m$)|0,R$=R$+Math.imul(H0,d)|0,P$=P$+Math.imul(H0,m$)|0,L$=L$+Math.imul(x$,a$)|0,R$=R$+Math.imul(x$,e$)|0,R$=R$+Math.imul(G,a$)|0,P$=P$+Math.imul(G,e$)|0,L$=L$+Math.imul(g$,i$)|0,R$=R$+Math.imul(g$,$Q)|0,R$=R$+Math.imul(_$,i$)|0,P$=P$+Math.imul(_$,$Q)|0,L$=L$+Math.imul(q$,YQ)|0,R$=R$+Math.imul(q$,X)|0,R$=R$+Math.imul(j$,YQ)|0,P$=P$+Math.imul(j$,X)|0,L$=L$+Math.imul(c,ZQ)|0,R$=R$+Math.imul(c,D0)|0,R$=R$+Math.imul(v$,ZQ)|0,P$=P$+Math.imul(v$,D0)|0,L$=L$+Math.imul(M$,VQ)|0,R$=R$+Math.imul(M$,UQ)|0,R$=R$+Math.imul(S$,VQ)|0,P$=P$+Math.imul(S$,UQ)|0;var TQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(TQ>>>26)|0,TQ&=67108863,L$=Math.imul(V,o$),R$=Math.imul(V,u$),R$=R$+Math.imul(h,o$)|0,P$=Math.imul(h,u$),L$=L$+Math.imul(c$,s$)|0,R$=R$+Math.imul(c$,t$)|0,R$=R$+Math.imul(h$,s$)|0,P$=P$+Math.imul(h$,t$)|0,L$=L$+Math.imul(w$,d)|0,R$=R$+Math.imul(w$,m$)|0,R$=R$+Math.imul(p$,d)|0,P$=P$+Math.imul(p$,m$)|0,L$=L$+Math.imul(B$,a$)|0,R$=R$+Math.imul(B$,e$)|0,R$=R$+Math.imul(H0,a$)|0,P$=P$+Math.imul(H0,e$)|0,L$=L$+Math.imul(x$,i$)|0,R$=R$+Math.imul(x$,$Q)|0,R$=R$+Math.imul(G,i$)|0,P$=P$+Math.imul(G,$Q)|0,L$=L$+Math.imul(g$,YQ)|0,R$=R$+Math.imul(g$,X)|0,R$=R$+Math.imul(_$,YQ)|0,P$=P$+Math.imul(_$,X)|0,L$=L$+Math.imul(q$,ZQ)|0,R$=R$+Math.imul(q$,D0)|0,R$=R$+Math.imul(j$,ZQ)|0,P$=P$+Math.imul(j$,D0)|0,L$=L$+Math.imul(c,VQ)|0,R$=R$+Math.imul(c,UQ)|0,R$=R$+Math.imul(v$,VQ)|0,P$=P$+Math.imul(v$,UQ)|0,L$=L$+Math.imul(M$,KQ)|0,R$=R$+Math.imul(M$,IQ)|0,R$=R$+Math.imul(S$,KQ)|0,P$=P$+Math.imul(S$,IQ)|0;var DQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(DQ>>>26)|0,DQ&=67108863,L$=Math.imul(E0,o$),R$=Math.imul(E0,u$),R$=R$+Math.imul(b$,o$)|0,P$=Math.imul(b$,u$),L$=L$+Math.imul(V,s$)|0,R$=R$+Math.imul(V,t$)|0,R$=R$+Math.imul(h,s$)|0,P$=P$+Math.imul(h,t$)|0,L$=L$+Math.imul(c$,d)|0,R$=R$+Math.imul(c$,m$)|0,R$=R$+Math.imul(h$,d)|0,P$=P$+Math.imul(h$,m$)|0,L$=L$+Math.imul(w$,a$)|0,R$=R$+Math.imul(w$,e$)|0,R$=R$+Math.imul(p$,a$)|0,P$=P$+Math.imul(p$,e$)|0,L$=L$+Math.imul(B$,i$)|0,R$=R$+Math.imul(B$,$Q)|0,R$=R$+Math.imul(H0,i$)|0,P$=P$+Math.imul(H0,$Q)|0,L$=L$+Math.imul(x$,YQ)|0,R$=R$+Math.imul(x$,X)|0,R$=R$+Math.imul(G,YQ)|0,P$=P$+Math.imul(G,X)|0,L$=L$+Math.imul(g$,ZQ)|0,R$=R$+Math.imul(g$,D0)|0,R$=R$+Math.imul(_$,ZQ)|0,P$=P$+Math.imul(_$,D0)|0,L$=L$+Math.imul(q$,VQ)|0,R$=R$+Math.imul(q$,UQ)|0,R$=R$+Math.imul(j$,VQ)|0,P$=P$+Math.imul(j$,UQ)|0,L$=L$+Math.imul(c,KQ)|0,R$=R$+Math.imul(c,IQ)|0,R$=R$+Math.imul(v$,KQ)|0,P$=P$+Math.imul(v$,IQ)|0,L$=L$+Math.imul(M$,K)|0,R$=R$+Math.imul(M$,l)|0,R$=R$+Math.imul(S$,K)|0,P$=P$+Math.imul(S$,l)|0;var I=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(I>>>26)|0,I&=67108863,L$=Math.imul(E0,s$),R$=Math.imul(E0,t$),R$=R$+Math.imul(b$,s$)|0,P$=Math.imul(b$,t$),L$=L$+Math.imul(V,d)|0,R$=R$+Math.imul(V,m$)|0,R$=R$+Math.imul(h,d)|0,P$=P$+Math.imul(h,m$)|0,L$=L$+Math.imul(c$,a$)|0,R$=R$+Math.imul(c$,e$)|0,R$=R$+Math.imul(h$,a$)|0,P$=P$+Math.imul(h$,e$)|0,L$=L$+Math.imul(w$,i$)|0,R$=R$+Math.imul(w$,$Q)|0,R$=R$+Math.imul(p$,i$)|0,P$=P$+Math.imul(p$,$Q)|0,L$=L$+Math.imul(B$,YQ)|0,R$=R$+Math.imul(B$,X)|0,R$=R$+Math.imul(H0,YQ)|0,P$=P$+Math.imul(H0,X)|0,L$=L$+Math.imul(x$,ZQ)|0,R$=R$+Math.imul(x$,D0)|0,R$=R$+Math.imul(G,ZQ)|0,P$=P$+Math.imul(G,D0)|0,L$=L$+Math.imul(g$,VQ)|0,R$=R$+Math.imul(g$,UQ)|0,R$=R$+Math.imul(_$,VQ)|0,P$=P$+Math.imul(_$,UQ)|0,L$=L$+Math.imul(q$,KQ)|0,R$=R$+Math.imul(q$,IQ)|0,R$=R$+Math.imul(j$,KQ)|0,P$=P$+Math.imul(j$,IQ)|0,L$=L$+Math.imul(c,K)|0,R$=R$+Math.imul(c,l)|0,R$=R$+Math.imul(v$,K)|0,P$=P$+Math.imul(v$,l)|0;var o=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(o>>>26)|0,o&=67108863,L$=Math.imul(E0,d),R$=Math.imul(E0,m$),R$=R$+Math.imul(b$,d)|0,P$=Math.imul(b$,m$),L$=L$+Math.imul(V,a$)|0,R$=R$+Math.imul(V,e$)|0,R$=R$+Math.imul(h,a$)|0,P$=P$+Math.imul(h,e$)|0,L$=L$+Math.imul(c$,i$)|0,R$=R$+Math.imul(c$,$Q)|0,R$=R$+Math.imul(h$,i$)|0,P$=P$+Math.imul(h$,$Q)|0,L$=L$+Math.imul(w$,YQ)|0,R$=R$+Math.imul(w$,X)|0,R$=R$+Math.imul(p$,YQ)|0,P$=P$+Math.imul(p$,X)|0,L$=L$+Math.imul(B$,ZQ)|0,R$=R$+Math.imul(B$,D0)|0,R$=R$+Math.imul(H0,ZQ)|0,P$=P$+Math.imul(H0,D0)|0,L$=L$+Math.imul(x$,VQ)|0,R$=R$+Math.imul(x$,UQ)|0,R$=R$+Math.imul(G,VQ)|0,P$=P$+Math.imul(G,UQ)|0,L$=L$+Math.imul(g$,KQ)|0,R$=R$+Math.imul(g$,IQ)|0,R$=R$+Math.imul(_$,KQ)|0,P$=P$+Math.imul(_$,IQ)|0,L$=L$+Math.imul(q$,K)|0,R$=R$+Math.imul(q$,l)|0,R$=R$+Math.imul(j$,K)|0,P$=P$+Math.imul(j$,l)|0;var CQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(CQ>>>26)|0,CQ&=67108863,L$=Math.imul(E0,a$),R$=Math.imul(E0,e$),R$=R$+Math.imul(b$,a$)|0,P$=Math.imul(b$,e$),L$=L$+Math.imul(V,i$)|0,R$=R$+Math.imul(V,$Q)|0,R$=R$+Math.imul(h,i$)|0,P$=P$+Math.imul(h,$Q)|0,L$=L$+Math.imul(c$,YQ)|0,R$=R$+Math.imul(c$,X)|0,R$=R$+Math.imul(h$,YQ)|0,P$=P$+Math.imul(h$,X)|0,L$=L$+Math.imul(w$,ZQ)|0,R$=R$+Math.imul(w$,D0)|0,R$=R$+Math.imul(p$,ZQ)|0,P$=P$+Math.imul(p$,D0)|0,L$=L$+Math.imul(B$,VQ)|0,R$=R$+Math.imul(B$,UQ)|0,R$=R$+Math.imul(H0,VQ)|0,P$=P$+Math.imul(H0,UQ)|0,L$=L$+Math.imul(x$,KQ)|0,R$=R$+Math.imul(x$,IQ)|0,R$=R$+Math.imul(G,KQ)|0,P$=P$+Math.imul(G,IQ)|0,L$=L$+Math.imul(g$,K)|0,R$=R$+Math.imul(g$,l)|0,R$=R$+Math.imul(_$,K)|0,P$=P$+Math.imul(_$,l)|0;var L0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(L0>>>26)|0,L0&=67108863,L$=Math.imul(E0,i$),R$=Math.imul(E0,$Q),R$=R$+Math.imul(b$,i$)|0,P$=Math.imul(b$,$Q),L$=L$+Math.imul(V,YQ)|0,R$=R$+Math.imul(V,X)|0,R$=R$+Math.imul(h,YQ)|0,P$=P$+Math.imul(h,X)|0,L$=L$+Math.imul(c$,ZQ)|0,R$=R$+Math.imul(c$,D0)|0,R$=R$+Math.imul(h$,ZQ)|0,P$=P$+Math.imul(h$,D0)|0,L$=L$+Math.imul(w$,VQ)|0,R$=R$+Math.imul(w$,UQ)|0,R$=R$+Math.imul(p$,VQ)|0,P$=P$+Math.imul(p$,UQ)|0,L$=L$+Math.imul(B$,KQ)|0,R$=R$+Math.imul(B$,IQ)|0,R$=R$+Math.imul(H0,KQ)|0,P$=P$+Math.imul(H0,IQ)|0,L$=L$+Math.imul(x$,K)|0,R$=R$+Math.imul(x$,l)|0,R$=R$+Math.imul(G,K)|0,P$=P$+Math.imul(G,l)|0;var LQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(LQ>>>26)|0,LQ&=67108863,L$=Math.imul(E0,YQ),R$=Math.imul(E0,X),R$=R$+Math.imul(b$,YQ)|0,P$=Math.imul(b$,X),L$=L$+Math.imul(V,ZQ)|0,R$=R$+Math.imul(V,D0)|0,R$=R$+Math.imul(h,ZQ)|0,P$=P$+Math.imul(h,D0)|0,L$=L$+Math.imul(c$,VQ)|0,R$=R$+Math.imul(c$,UQ)|0,R$=R$+Math.imul(h$,VQ)|0,P$=P$+Math.imul(h$,UQ)|0,L$=L$+Math.imul(w$,KQ)|0,R$=R$+Math.imul(w$,IQ)|0,R$=R$+Math.imul(p$,KQ)|0,P$=P$+Math.imul(p$,IQ)|0,L$=L$+Math.imul(B$,K)|0,R$=R$+Math.imul(B$,l)|0,R$=R$+Math.imul(H0,K)|0,P$=P$+Math.imul(H0,l)|0;var RQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(RQ>>>26)|0,RQ&=67108863,L$=Math.imul(E0,ZQ),R$=Math.imul(E0,D0),R$=R$+Math.imul(b$,ZQ)|0,P$=Math.imul(b$,D0),L$=L$+Math.imul(V,VQ)|0,R$=R$+Math.imul(V,UQ)|0,R$=R$+Math.imul(h,VQ)|0,P$=P$+Math.imul(h,UQ)|0,L$=L$+Math.imul(c$,KQ)|0,R$=R$+Math.imul(c$,IQ)|0,R$=R$+Math.imul(h$,KQ)|0,P$=P$+Math.imul(h$,IQ)|0,L$=L$+Math.imul(w$,K)|0,R$=R$+Math.imul(w$,l)|0,R$=R$+Math.imul(p$,K)|0,P$=P$+Math.imul(p$,l)|0;var PQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(PQ>>>26)|0,PQ&=67108863,L$=Math.imul(E0,VQ),R$=Math.imul(E0,UQ),R$=R$+Math.imul(b$,VQ)|0,P$=Math.imul(b$,UQ),L$=L$+Math.imul(V,KQ)|0,R$=R$+Math.imul(V,IQ)|0,R$=R$+Math.imul(h,KQ)|0,P$=P$+Math.imul(h,IQ)|0,L$=L$+Math.imul(c$,K)|0,R$=R$+Math.imul(c$,l)|0,R$=R$+Math.imul(h$,K)|0,P$=P$+Math.imul(h$,l)|0;var zQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(zQ>>>26)|0,zQ&=67108863,L$=Math.imul(E0,KQ),R$=Math.imul(E0,IQ),R$=R$+Math.imul(b$,KQ)|0,P$=Math.imul(b$,IQ),L$=L$+Math.imul(V,K)|0,R$=R$+Math.imul(V,l)|0,R$=R$+Math.imul(h,K)|0,P$=P$+Math.imul(h,l)|0;var MQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(MQ>>>26)|0,MQ&=67108863,L$=Math.imul(E0,K),R$=Math.imul(E0,l),R$=R$+Math.imul(b$,K)|0,P$=Math.imul(b$,l);var SQ=(C$+L$|0)+((R$&8191)<<13)|0;return C$=(P$+(R$>>>13)|0)+(SQ>>>26)|0,SQ&=67108863,F0[0]=JQ,F0[1]=C0,F0[2]=FQ,F0[3]=AQ,F0[4]=HQ,F0[5]=WQ,F0[6]=EQ,F0[7]=TQ,F0[8]=DQ,F0[9]=I,F0[10]=o,F0[11]=CQ,F0[12]=L0,F0[13]=LQ,F0[14]=RQ,F0[15]=PQ,F0[16]=zQ,F0[17]=MQ,F0[18]=SQ,C$!==0&&(F0[19]=C$,Y.length++),Y};Math.imul||(X$=U$);function K$(E$,T$,Y){Y.negative=T$.negative^E$.negative,Y.length=E$.length+T$.length;for(var f=0,D$=0,F0=0;F0<Y.length-1;F0++){var C$=D$;D$=0;for(var L$=f&67108863,R$=Math.min(F0,T$.length-1),P$=Math.max(0,F0-E$.length+1);P$<=R$;P$++){var z$=F0-P$,M$=E$.words[z$]|0,S$=T$.words[P$]|0,Z=M$*S$,c=Z&67108863;C$=C$+(Z/67108864|0)|0,c=c+L$|0,L$=c&67108863,C$=C$+(c>>>26)|0,D$+=C$>>>26,C$&=67108863}Y.words[F0]=L$,f=C$,C$=D$}return f!==0?Y.words[F0]=f:Y.length--,Y.strip()}function I$(E$,T$,Y){var f=new Q;return f.mulp(E$,T$,Y)}$$.prototype.mulTo=function(E$,T$){var Y,f=this.length+E$.length;return this.length===10&&E$.length===10?Y=X$(this,E$,T$):f<63?Y=U$(this,E$,T$):f<1024?Y=K$(this,E$,T$):Y=I$(this,E$,T$),Y};function Q(E$,T$){this.x=E$,this.y=T$}Q.prototype.makeRBT=function(E$){for(var T$=new Array(E$),Y=$$.prototype._countBits(E$)-1,f=0;f<E$;f++)T$[f]=this.revBin(f,Y,E$);return T$},Q.prototype.revBin=function(E$,T$,Y){if(E$===0||E$===Y-1)return E$;for(var f=0,D$=0;D$<T$;D$++)f|=(E$&1)<<T$-D$-1,E$>>=1;return f},Q.prototype.permute=function(E$,T$,Y,f,D$,F0){for(var C$=0;C$<F0;C$++)f[C$]=T$[E$[C$]],D$[C$]=Y[E$[C$]]},Q.prototype.transform=function(E$,T$,Y,f,D$,F0){this.permute(F0,E$,T$,Y,f,D$);for(var C$=1;C$<D$;C$<<=1)for(var L$=C$<<1,R$=Math.cos(2*Math.PI/L$),P$=Math.sin(2*Math.PI/L$),z$=0;z$<D$;z$+=L$)for(var M$=R$,S$=P$,Z=0;Z<C$;Z++){var c=Y[z$+Z],v$=f[z$+Z],A0=Y[z$+Z+C$],q$=f[z$+Z+C$],j$=M$*A0-S$*q$;q$=M$*q$+S$*A0,A0=j$,Y[z$+Z]=c+A0,f[z$+Z]=v$+q$,Y[z$+Z+C$]=c-A0,f[z$+Z+C$]=v$-q$,Z!==L$&&(j$=R$*M$-P$*S$,S$=R$*S$+P$*M$,M$=j$)}},Q.prototype.guessLen13b=function(E$,T$){var Y=Math.max(T$,E$)|1,f=Y&1,D$=0;for(Y=Y/2|0;Y;Y=Y>>>1)D$++;return 1<<D$+1+f},Q.prototype.conjugate=function(E$,T$,Y){if(!(Y<=1))for(var f=0;f<Y/2;f++){var D$=E$[f];E$[f]=E$[Y-f-1],E$[Y-f-1]=D$,D$=T$[f],T$[f]=-T$[Y-f-1],T$[Y-f-1]=-D$}},Q.prototype.normalize13b=function(E$,T$){for(var Y=0,f=0;f<T$/2;f++){var D$=Math.round(E$[2*f+1]/T$)*8192+Math.round(E$[2*f]/T$)+Y;E$[f]=D$&67108863,D$<67108864?Y=0:Y=D$/67108864|0}return E$},Q.prototype.convert13b=function(E$,T$,Y,f){for(var D$=0,F0=0;F0<T$;F0++)D$=D$+(E$[F0]|0),Y[2*F0]=D$&8191,D$=D$>>>13,Y[2*F0+1]=D$&8191,D$=D$>>>13;for(F0=2*T$;F0<f;++F0)Y[F0]=0;r0(D$===0),r0((D$&-8192)===0)},Q.prototype.stub=function(E$){for(var T$=new Array(E$),Y=0;Y<E$;Y++)T$[Y]=0;return T$},Q.prototype.mulp=function(E$,T$,Y){var f=2*this.guessLen13b(E$.length,T$.length),D$=this.makeRBT(f),F0=this.stub(f),C$=new Array(f),L$=new Array(f),R$=new Array(f),P$=new Array(f),z$=new Array(f),M$=new Array(f),S$=Y.words;S$.length=f,this.convert13b(E$.words,E$.length,C$,f),this.convert13b(T$.words,T$.length,P$,f),this.transform(C$,F0,L$,R$,f,D$),this.transform(P$,F0,z$,M$,f,D$);for(var Z=0;Z<f;Z++){var c=L$[Z]*z$[Z]-R$[Z]*M$[Z];R$[Z]=L$[Z]*M$[Z]+R$[Z]*z$[Z],L$[Z]=c}return this.conjugate(L$,R$,f),this.transform(L$,R$,S$,F0,f,D$),this.conjugate(S$,F0,f),this.normalize13b(S$,f),Y.negative=E$.negative^T$.negative,Y.length=E$.length+T$.length,Y.strip()},$$.prototype.mul=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),this.mulTo(E$,T$)},$$.prototype.mulf=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),I$(this,E$,T$)},$$.prototype.imul=function(E$){return this.clone().mulTo(E$,this)},$$.prototype.imuln=function(E$){r0(typeof E$=="number"),r0(E$<67108864);for(var T$=0,Y=0;Y<this.length;Y++){var f=(this.words[Y]|0)*E$,D$=(f&67108863)+(T$&67108863);T$>>=26,T$+=f/67108864|0,T$+=D$>>>26,this.words[Y]=D$&67108863}return T$!==0&&(this.words[Y]=T$,this.length++),this},$$.prototype.muln=function(E$){return this.clone().imuln(E$)},$$.prototype.sqr=function(){return this.mul(this)},$$.prototype.isqr=function(){return this.imul(this.clone())},$$.prototype.pow=function(E$){var T$=V$(E$);if(T$.length===0)return new $$(1);for(var Y=this,f=0;f<T$.length&&T$[f]===0;f++,Y=Y.sqr());if(++f<T$.length)for(var D$=Y.sqr();f<T$.length;f++,D$=D$.sqr())T$[f]!==0&&(Y=Y.mul(D$));return Y},$$.prototype.iushln=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=67108863>>>26-T$<<26-T$,D$;if(T$!==0){var F0=0;for(D$=0;D$<this.length;D$++){var C$=this.words[D$]&f,L$=(this.words[D$]|0)-C$<<T$;this.words[D$]=L$|F0,F0=C$>>>26-T$}F0&&(this.words[D$]=F0,this.length++)}if(Y!==0){for(D$=this.length-1;D$>=0;D$--)this.words[D$+Y]=this.words[D$];for(D$=0;D$<Y;D$++)this.words[D$]=0;this.length+=Y}return this.strip()},$$.prototype.ishln=function(E$){return r0(this.negative===0),this.iushln(E$)},$$.prototype.iushrn=function(E$,T$,Y){r0(typeof E$=="number"&&E$>=0);var f;T$?f=(T$-T$%26)/26:f=0;var D$=E$%26,F0=Math.min((E$-D$)/26,this.length),C$=67108863^67108863>>>D$<<D$,L$=Y;if(f-=F0,f=Math.max(0,f),L$){for(var R$=0;R$<F0;R$++)L$.words[R$]=this.words[R$];L$.length=F0}if(F0!==0)if(this.length>F0)for(this.length-=F0,R$=0;R$<this.length;R$++)this.words[R$]=this.words[R$+F0];else this.words[0]=0,this.length=1;var P$=0;for(R$=this.length-1;R$>=0&&(P$!==0||R$>=f);R$--){var z$=this.words[R$]|0;this.words[R$]=P$<<26-D$|z$>>>D$,P$=z$&C$}return L$&&P$!==0&&(L$.words[L$.length++]=P$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},$$.prototype.ishrn=function(E$,T$,Y){return r0(this.negative===0),this.iushrn(E$,T$,Y)},$$.prototype.shln=function(E$){return this.clone().ishln(E$)},$$.prototype.ushln=function(E$){return this.clone().iushln(E$)},$$.prototype.shrn=function(E$){return this.clone().ishrn(E$)},$$.prototype.ushrn=function(E$){return this.clone().iushrn(E$)},$$.prototype.testn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return!1;var D$=this.words[Y];return!!(D$&f)},$$.prototype.imaskn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26;if(r0(this.negative===0,"imaskn works only with positive numbers"),this.length<=Y)return this;if(T$!==0&&Y++,this.length=Math.min(Y,this.length),T$!==0){var f=67108863^67108863>>>T$<<T$;this.words[this.length-1]&=f}return this.strip()},$$.prototype.maskn=function(E$){return this.clone().imaskn(E$)},$$.prototype.iaddn=function(E$){return r0(typeof E$=="number"),r0(E$<67108864),E$<0?this.isubn(-E$):this.negative!==0?this.length===1&&(this.words[0]|0)<E$?(this.words[0]=E$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(E$),this.negative=1,this):this._iaddn(E$)},$$.prototype._iaddn=function(E$){this.words[0]+=E$;for(var T$=0;T$<this.length&&this.words[T$]>=67108864;T$++)this.words[T$]-=67108864,T$===this.length-1?this.words[T$+1]=1:this.words[T$+1]++;return this.length=Math.max(this.length,T$+1),this},$$.prototype.isubn=function(E$){if(r0(typeof E$=="number"),r0(E$<67108864),E$<0)return this.iaddn(-E$);if(this.negative!==0)return this.negative=0,this.iaddn(E$),this.negative=1,this;if(this.words[0]-=E$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T$=0;T$<this.length&&this.words[T$]<0;T$++)this.words[T$]+=67108864,this.words[T$+1]-=1;return this.strip()},$$.prototype.addn=function(E$){return this.clone().iaddn(E$)},$$.prototype.subn=function(E$){return this.clone().isubn(E$)},$$.prototype.iabs=function(){return this.negative=0,this},$$.prototype.abs=function(){return this.clone().iabs()},$$.prototype._ishlnsubmul=function(E$,T$,Y){var f=E$.length+Y,D$;this._expand(f);var F0,C$=0;for(D$=0;D$<E$.length;D$++){F0=(this.words[D$+Y]|0)+C$;var L$=(E$.words[D$]|0)*T$;F0-=L$&67108863,C$=(F0>>26)-(L$/67108864|0),this.words[D$+Y]=F0&67108863}for(;D$<this.length-Y;D$++)F0=(this.words[D$+Y]|0)+C$,C$=F0>>26,this.words[D$+Y]=F0&67108863;if(C$===0)return this.strip();for(r0(C$===-1),C$=0,D$=0;D$<this.length;D$++)F0=-(this.words[D$]|0)+C$,C$=F0>>26,this.words[D$]=F0&67108863;return this.negative=1,this.strip()},$$.prototype._wordDiv=function(E$,T$){var Y=this.length-E$.length,f=this.clone(),D$=E$,F0=D$.words[D$.length-1]|0,C$=this._countBits(F0);Y=26-C$,Y!==0&&(D$=D$.ushln(Y),f.iushln(Y),F0=D$.words[D$.length-1]|0);var L$=f.length-D$.length,R$;if(T$!=="mod"){R$=new $$(null),R$.length=L$+1,R$.words=new Array(R$.length);for(var P$=0;P$<R$.length;P$++)R$.words[P$]=0}var z$=f.clone()._ishlnsubmul(D$,1,L$);z$.negative===0&&(f=z$,R$&&(R$.words[L$]=1));for(var M$=L$-1;M$>=0;M$--){var S$=(f.words[D$.length+M$]|0)*67108864+(f.words[D$.length+M$-1]|0);for(S$=Math.min(S$/F0|0,67108863),f._ishlnsubmul(D$,S$,M$);f.negative!==0;)S$--,f.negative=0,f._ishlnsubmul(D$,1,M$),f.isZero()||(f.negative^=1);R$&&(R$.words[M$]=S$)}return R$&&R$.strip(),f.strip(),T$!=="div"&&Y!==0&&f.iushrn(Y),{div:R$||null,mod:f}},$$.prototype.divmod=function(E$,T$,Y){if(r0(!E$.isZero()),this.isZero())return{div:new $$(0),mod:new $$(0)};var f,D$,F0;return this.negative!==0&&E$.negative===0?(F0=this.neg().divmod(E$,T$),T$!=="mod"&&(f=F0.div.neg()),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.iadd(E$)),{div:f,mod:D$}):this.negative===0&&E$.negative!==0?(F0=this.divmod(E$.neg(),T$),T$!=="mod"&&(f=F0.div.neg()),{div:f,mod:F0.mod}):(this.negative&E$.negative)!==0?(F0=this.neg().divmod(E$.neg(),T$),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.isub(E$)),{div:F0.div,mod:D$}):E$.length>this.length||this.cmp(E$)<0?{div:new $$(0),mod:this}:E$.length===1?T$==="div"?{div:this.divn(E$.words[0]),mod:null}:T$==="mod"?{div:null,mod:new $$(this.modn(E$.words[0]))}:{div:this.divn(E$.words[0]),mod:new $$(this.modn(E$.words[0]))}:this._wordDiv(E$,T$)},$$.prototype.div=function(E$){return this.divmod(E$,"div",!1).div},$$.prototype.mod=function(E$){return this.divmod(E$,"mod",!1).mod},$$.prototype.umod=function(E$){return this.divmod(E$,"mod",!0).mod},$$.prototype.divRound=function(E$){var T$=this.divmod(E$);if(T$.mod.isZero())return T$.div;var Y=T$.div.negative!==0?T$.mod.isub(E$):T$.mod,f=E$.ushrn(1),D$=E$.andln(1),F0=Y.cmp(f);return F0<0||D$===1&&F0===0?T$.div:T$.div.negative!==0?T$.div.isubn(1):T$.div.iaddn(1)},$$.prototype.modn=function(E$){r0(E$<=67108863);for(var T$=(1<<26)%E$,Y=0,f=this.length-1;f>=0;f--)Y=(T$*Y+(this.words[f]|0))%E$;return Y},$$.prototype.idivn=function(E$){r0(E$<=67108863);for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=(this.words[Y]|0)+T$*67108864;this.words[Y]=f/E$|0,T$=f%E$}return this.strip()},$$.prototype.divn=function(E$){return this.clone().idivn(E$)},$$.prototype.egcd=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=new $$(0),C$=new $$(1),L$=0;T$.isEven()&&Y.isEven();)T$.iushrn(1),Y.iushrn(1),++L$;for(var R$=Y.clone(),P$=T$.clone();!T$.isZero();){for(var z$=0,M$=1;(T$.words[0]&M$)===0&&z$<26;++z$,M$<<=1);if(z$>0)for(T$.iushrn(z$);z$-- >0;)(f.isOdd()||D$.isOdd())&&(f.iadd(R$),D$.isub(P$)),f.iushrn(1),D$.iushrn(1);for(var S$=0,Z=1;(Y.words[0]&Z)===0&&S$<26;++S$,Z<<=1);if(S$>0)for(Y.iushrn(S$);S$-- >0;)(F0.isOdd()||C$.isOdd())&&(F0.iadd(R$),C$.isub(P$)),F0.iushrn(1),C$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(F0),D$.isub(C$)):(Y.isub(T$),F0.isub(f),C$.isub(D$))}return{a:F0,b:C$,gcd:Y.iushln(L$)}},$$.prototype._invmp=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=Y.clone();T$.cmpn(1)>0&&Y.cmpn(1)>0;){for(var C$=0,L$=1;(T$.words[0]&L$)===0&&C$<26;++C$,L$<<=1);if(C$>0)for(T$.iushrn(C$);C$-- >0;)f.isOdd()&&f.iadd(F0),f.iushrn(1);for(var R$=0,P$=1;(Y.words[0]&P$)===0&&R$<26;++R$,P$<<=1);if(R$>0)for(Y.iushrn(R$);R$-- >0;)D$.isOdd()&&D$.iadd(F0),D$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(D$)):(Y.isub(T$),D$.isub(f))}var z$;return T$.cmpn(1)===0?z$=f:z$=D$,z$.cmpn(0)<0&&z$.iadd(E$),z$},$$.prototype.gcd=function(E$){if(this.isZero())return E$.abs();if(E$.isZero())return this.abs();var T$=this.clone(),Y=E$.clone();T$.negative=0,Y.negative=0;for(var f=0;T$.isEven()&&Y.isEven();f++)T$.iushrn(1),Y.iushrn(1);do{for(;T$.isEven();)T$.iushrn(1);for(;Y.isEven();)Y.iushrn(1);var D$=T$.cmp(Y);if(D$<0){var F0=T$;T$=Y,Y=F0}else if(D$===0||Y.cmpn(1)===0)break;T$.isub(Y)}while(!0);return Y.iushln(f)},$$.prototype.invm=function(E$){return this.egcd(E$).a.umod(E$)},$$.prototype.isEven=function(){return(this.words[0]&1)===0},$$.prototype.isOdd=function(){return(this.words[0]&1)===1},$$.prototype.andln=function(E$){return this.words[0]&E$},$$.prototype.bincn=function(E$){r0(typeof E$=="number");var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return this._expand(Y+1),this.words[Y]|=f,this;for(var D$=f,F0=Y;D$!==0&&F0<this.length;F0++){var C$=this.words[F0]|0;C$+=D$,D$=C$>>>26,C$&=67108863,this.words[F0]=C$}return D$!==0&&(this.words[F0]=D$,this.length++),this},$$.prototype.isZero=function(){return this.length===1&&this.words[0]===0},$$.prototype.cmpn=function(E$){var T$=E$<0;if(this.negative!==0&&!T$)return-1;if(this.negative===0&&T$)return 1;this.strip();var Y;if(this.length>1)Y=1;else{T$&&(E$=-E$),r0(E$<=67108863,"Number is too big");var f=this.words[0]|0;Y=f===E$?0:f<E$?-1:1}return this.negative!==0?-Y|0:Y},$$.prototype.cmp=function(E$){if(this.negative!==0&&E$.negative===0)return-1;if(this.negative===0&&E$.negative!==0)return 1;var T$=this.ucmp(E$);return this.negative!==0?-T$|0:T$},$$.prototype.ucmp=function(E$){if(this.length>E$.length)return 1;if(this.length<E$.length)return-1;for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=this.words[Y]|0,D$=E$.words[Y]|0;if(f!==D$){f<D$?T$=-1:f>D$&&(T$=1);break}}return T$},$$.prototype.gtn=function(E$){return this.cmpn(E$)===1},$$.prototype.gt=function(E$){return this.cmp(E$)===1},$$.prototype.gten=function(E$){return this.cmpn(E$)>=0},$$.prototype.gte=function(E$){return this.cmp(E$)>=0},$$.prototype.ltn=function(E$){return this.cmpn(E$)===-1},$$.prototype.lt=function(E$){return this.cmp(E$)===-1},$$.prototype.lten=function(E$){return this.cmpn(E$)<=0},$$.prototype.lte=function(E$){return this.cmp(E$)<=0},$$.prototype.eqn=function(E$){return this.cmpn(E$)===0},$$.prototype.eq=function(E$){return this.cmp(E$)===0},$$.red=function(E$){return new H$(E$)},$$.prototype.toRed=function(E$){return r0(!this.red,"Already a number in reduction context"),r0(this.negative===0,"red works only with positives"),E$.convertTo(this)._forceRed(E$)},$$.prototype.fromRed=function(){return r0(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},$$.prototype._forceRed=function(E$){return this.red=E$,this},$$.prototype.forceRed=function(E$){return r0(!this.red,"Already a number in reduction context"),this._forceRed(E$)},$$.prototype.redAdd=function(E$){return r0(this.red,"redAdd works only with red numbers"),this.red.add(this,E$)},$$.prototype.redIAdd=function(E$){return r0(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,E$)},$$.prototype.redSub=function(E$){return r0(this.red,"redSub works only with red numbers"),this.red.sub(this,E$)},$$.prototype.redISub=function(E$){return r0(this.red,"redISub works only with red numbers"),this.red.isub(this,E$)},$$.prototype.redShl=function(E$){return r0(this.red,"redShl works only with red numbers"),this.red.shl(this,E$)},$$.prototype.redMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.mul(this,E$)},$$.prototype.redIMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.imul(this,E$)},$$.prototype.redSqr=function(){return r0(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},$$.prototype.redISqr=function(){return r0(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},$$.prototype.redSqrt=function(){return r0(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},$$.prototype.redInvm=function(){return r0(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},$$.prototype.redNeg=function(){return r0(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},$$.prototype.redPow=function(E$){return r0(this.red&&!E$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,E$)};var x={k256:null,p224:null,p192:null,p25519:null};function O$(E$,T$){this.name=E$,this.p=new $$(T$,16),this.n=this.p.bitLength(),this.k=new $$(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}O$.prototype._tmp=function(){var E$=new $$(null);return E$.words=new Array(Math.ceil(this.n/13)),E$},O$.prototype.ireduce=function(E$){var T$=E$,Y;do this.split(T$,this.tmp),T$=this.imulK(T$),T$=T$.iadd(this.tmp),Y=T$.bitLength();while(Y>this.n);var f=Y<this.n?-1:T$.ucmp(this.p);return f===0?(T$.words[0]=0,T$.length=1):f>0?T$.isub(this.p):T$.strip!==void 0?T$.strip():T$._strip(),T$},O$.prototype.split=function(E$,T$){E$.iushrn(this.n,0,T$)},O$.prototype.imulK=function(E$){return E$.imul(this.k)};function J0(){O$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i0(J0,O$),J0.prototype.split=function(E$,T$){for(var Y=4194303,f=Math.min(E$.length,9),D$=0;D$<f;D$++)T$.words[D$]=E$.words[D$];if(T$.length=f,E$.length<=9){E$.words[0]=0,E$.length=1;return}var F0=E$.words[9];for(T$.words[T$.length++]=F0&Y,D$=10;D$<E$.length;D$++){var C$=E$.words[D$]|0;E$.words[D$-10]=(C$&Y)<<4|F0>>>22,F0=C$}F0>>>=22,E$.words[D$-10]=F0,F0===0&&E$.length>10?E$.length-=10:E$.length-=9},J0.prototype.imulK=function(E$){E$.words[E$.length]=0,E$.words[E$.length+1]=0,E$.length+=2;for(var T$=0,Y=0;Y<E$.length;Y++){var f=E$.words[Y]|0;T$+=f*977,E$.words[Y]=T$&67108863,T$=f*64+(T$/67108864|0)}return E$.words[E$.length-1]===0&&(E$.length--,E$.words[E$.length-1]===0&&E$.length--),E$};function J$(){O$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i0(J$,O$);function F$(){O$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i0(F$,O$);function A$(){O$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i0(A$,O$),A$.prototype.imulK=function(E$){for(var T$=0,Y=0;Y<E$.length;Y++){var f=(E$.words[Y]|0)*19+T$,D$=f&67108863;f>>>=26,E$.words[Y]=D$,T$=f}return T$!==0&&(E$.words[E$.length++]=T$),E$},$$._prime=function(E$){if(x[E$])return x[E$];var T$;if(E$==="k256")T$=new J0;else if(E$==="p224")T$=new J$;else if(E$==="p192")T$=new F$;else if(E$==="p25519")T$=new A$;else throw new Error("Unknown prime "+E$);return x[E$]=T$,T$};function H$(E$){if(typeof E$=="string"){var T$=$$._prime(E$);this.m=T$.p,this.prime=T$}else r0(E$.gtn(1),"modulus must be greater than 1"),this.m=E$,this.prime=null}H$.prototype._verify1=function(E$){r0(E$.negative===0,"red works only with positives"),r0(E$.red,"red works only with red numbers")},H$.prototype._verify2=function(E$,T$){r0((E$.negative|T$.negative)===0,"red works only with positives"),r0(E$.red&&E$.red===T$.red,"red works only with red numbers")},H$.prototype.imod=function(E$){return this.prime?this.prime.ireduce(E$)._forceRed(this):E$.umod(this.m)._forceRed(this)},H$.prototype.neg=function(E$){return E$.isZero()?E$.clone():this.m.sub(E$)._forceRed(this)},H$.prototype.add=function(E$,T$){this._verify2(E$,T$);var Y=E$.add(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y._forceRed(this)},H$.prototype.iadd=function(E$,T$){this._verify2(E$,T$);var Y=E$.iadd(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y},H$.prototype.sub=function(E$,T$){this._verify2(E$,T$);var Y=E$.sub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y._forceRed(this)},H$.prototype.isub=function(E$,T$){this._verify2(E$,T$);var Y=E$.isub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y},H$.prototype.shl=function(E$,T$){return this._verify1(E$),this.imod(E$.ushln(T$))},H$.prototype.imul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.imul(T$))},H$.prototype.mul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.mul(T$))},H$.prototype.isqr=function(E$){return this.imul(E$,E$.clone())},H$.prototype.sqr=function(E$){return this.mul(E$,E$)},H$.prototype.sqrt=function(E$){if(E$.isZero())return E$.clone();var T$=this.m.andln(3);if(r0(T$%2===1),T$===3){var Y=this.m.add(new $$(1)).iushrn(2);return this.pow(E$,Y)}for(var f=this.m.subn(1),D$=0;!f.isZero()&&f.andln(1)===0;)D$++,f.iushrn(1);r0(!f.isZero());var F0=new $$(1).toRed(this),C$=F0.redNeg(),L$=this.m.subn(1).iushrn(1),R$=this.m.bitLength();for(R$=new $$(2*R$*R$).toRed(this);this.pow(R$,L$).cmp(C$)!==0;)R$.redIAdd(C$);for(var P$=this.pow(R$,f),z$=this.pow(E$,f.addn(1).iushrn(1)),M$=this.pow(E$,f),S$=D$;M$.cmp(F0)!==0;){for(var Z=M$,c=0;Z.cmp(F0)!==0;c++)Z=Z.redSqr();r0(c<S$);var v$=this.pow(P$,new $$(1).iushln(S$-c-1));z$=z$.redMul(v$),P$=v$.redSqr(),M$=M$.redMul(P$),S$=c}return z$},H$.prototype.invm=function(E$){var T$=E$._invmp(this.m);return T$.negative!==0?(T$.negative=0,this.imod(T$).redNeg()):this.imod(T$)},H$.prototype.pow=function(E$,T$){if(T$.isZero())return new $$(1).toRed(this);if(T$.cmpn(1)===0)return E$.clone();var Y=4,f=new Array(1<<Y);f[0]=new $$(1).toRed(this),f[1]=E$;for(var D$=2;D$<f.length;D$++)f[D$]=this.mul(f[D$-1],E$);var F0=f[0],C$=0,L$=0,R$=T$.bitLength()%26;for(R$===0&&(R$=26),D$=T$.length-1;D$>=0;D$--){for(var P$=T$.words[D$],z$=R$-1;z$>=0;z$--){var M$=P$>>z$&1;if(F0!==f[0]&&(F0=this.sqr(F0)),M$===0&&C$===0){L$=0;continue}C$<<=1,C$|=M$,L$++,!(L$!==Y&&(D$!==0||z$!==0))&&(F0=this.mul(F0,f[C$]),L$=0,C$=0)}R$=26}return F0},H$.prototype.convertTo=function(E$){var T$=E$.umod(this.m);return T$===E$?T$.clone():T$},H$.prototype.convertFrom=function(E$){var T$=E$.clone();return T$.red=null,T$},$$.mont=function(E$){return new W$(E$)};function W$(E$){H$.call(this,E$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new $$(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i0(W$,H$),W$.prototype.convertTo=function(E$){return this.imod(E$.ushln(this.shift))},W$.prototype.convertFrom=function(E$){var T$=this.imod(E$.mul(this.rinv));return T$.red=null,T$},W$.prototype.imul=function(E$,T$){if(E$.isZero()||T$.isZero())return E$.words[0]=0,E$.length=1,E$;var Y=E$.imul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.mul=function(E$,T$){if(E$.isZero()||T$.isZero())return new $$(0)._forceRed(this);var Y=E$.mul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.invm=function(E$){var T$=this.imod(E$._invmp(this.m).mul(this.r2));return T$._forceRed(this)}})(typeof m0>"u"||m0,t0)}}),JZ=pQ({"node_modules/create-ecdh/browser.js"(t0,m0){var a0=nY(),e0=OZ();m0.exports=function(Q$){return new i0(Q$)};var r0={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};r0.p224=r0.secp224r1,r0.p256=r0.secp256r1=r0.prime256v1,r0.p192=r0.secp192r1=r0.prime192v1,r0.p384=r0.secp384r1,r0.p521=r0.secp521r1;function i0(Q$){this.curveType=r0[Q$],this.curveType||(this.curveType={name:Q$}),this.curve=new a0.ec(this.curveType.name),this.keys=void 0}i0.prototype.generateKeys=function(Q$,$){return this.keys=this.curve.genKeyPair(),this.getPublicKey(Q$,$)},i0.prototype.computeSecret=function(Q$,$,N){$=$||"utf8",G0.isBuffer(Q$)||(Q$=new G0(Q$,$));var Y$=this.curve.keyFromPublic(Q$).getPublic(),O0=Y$.mul(this.keys.getPrivate()).getX();return $$(O0,N,this.curveType.byteLength)},i0.prototype.getPublicKey=function(Q$,$){var N=this.keys.getPublic($==="compressed",!0);return $==="hybrid"&&(N[N.length-1]%2?N[0]=7:N[0]=6),$$(N,Q$)},i0.prototype.getPrivateKey=function(Q$){return $$(this.keys.getPrivate(),Q$)},i0.prototype.setPublicKey=function(Q$,$){return $=$||"utf8",G0.isBuffer(Q$)||(Q$=new G0(Q$,$)),this.keys._importPublic(Q$),this},i0.prototype.setPrivateKey=function(Q$,$){$=$||"utf8",G0.isBuffer(Q$)||(Q$=new G0(Q$,$));var N=new e0(Q$);return N=N.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(N),this};function $$(Q$,$,N){Array.isArray(Q$)||(Q$=Q$.toArray());var Y$=new G0(Q$);if(N&&Y$.length<N){var O0=new G0(N-Y$.length);O0.fill(0),Y$=G0.concat([O0,Y$])}return $?Y$.toString($):Y$}}}),FZ=pQ({"node_modules/public-encrypt/mgf.js"(t0,m0){var a0=w(),e0=cQ().Buffer;m0.exports=function(i0,$$){for(var Q$=e0.alloc(0),$=0,N;Q$.length<$$;)N=r0($++),Q$=e0.concat([Q$,a0("sha1").update(i0).update(N).digest()]);return Q$.slice(0,$$)};function r0(i0){var $$=e0.allocUnsafe(4);return $$.writeUInt32BE(i0,0),$$}}}),z=pQ({"node_modules/public-encrypt/xor.js"(t0,m0){m0.exports=function(a0,e0){for(var r0=a0.length,i0=-1;++i0<r0;)a0[i0]^=e0[i0];return a0}}}),$0=pQ({"node_modules/public-encrypt/node_modules/bn.js/lib/bn.js"(t0,m0){(function(a0,e0){function r0(E$,T$){if(!E$)throw new Error(T$||"Assertion failed")}function i0(E$,T$){E$.super_=T$;var Y=function(){};Y.prototype=T$.prototype,E$.prototype=new Y,E$.prototype.constructor=E$}function $$(E$,T$,Y){if($$.isBN(E$))return E$;this.negative=0,this.words=null,this.length=0,this.red=null,E$!==null&&((T$==="le"||T$==="be")&&(Y=T$,T$=10),this._init(E$||0,T$||10,Y||"be"))}typeof a0=="object"?a0.exports=$$:e0.BN=$$,$$.BN=$$,$$.wordSize=26;var Q$=globalThis.Buffer;$$.isBN=function(E$){return E$ instanceof $$?!0:E$!==null&&typeof E$=="object"&&E$.constructor.wordSize===$$.wordSize&&Array.isArray(E$.words)},$$.max=function(E$,T$){return E$.cmp(T$)>0?E$:T$},$$.min=function(E$,T$){return E$.cmp(T$)<0?E$:T$},$$.prototype._init=function(E$,T$,Y){if(typeof E$=="number")return this._initNumber(E$,T$,Y);if(typeof E$=="object")return this._initArray(E$,T$,Y);T$==="hex"&&(T$=16),r0(T$===(T$|0)&&T$>=2&&T$<=36),E$=E$.toString().replace(/\s+/g,"");var f=0;E$[0]==="-"&&(f++,this.negative=1),f<E$.length&&(T$===16?this._parseHex(E$,f,Y):(this._parseBase(E$,T$,f),Y==="le"&&this._initArray(this.toArray(),T$,Y)))},$$.prototype._initNumber=function(E$,T$,Y){E$<0&&(this.negative=1,E$=-E$),E$<67108864?(this.words=[E$&67108863],this.length=1):E$<4503599627370496?(this.words=[E$&67108863,E$/67108864&67108863],this.length=2):(r0(E$<9007199254740992),this.words=[E$&67108863,E$/67108864&67108863,1],this.length=3),Y==="le"&&this._initArray(this.toArray(),T$,Y)},$$.prototype._initArray=function(E$,T$,Y){if(r0(typeof E$.length=="number"),E$.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(E$.length/3),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$,F0,C$=0;if(Y==="be")for(f=E$.length-1,D$=0;f>=0;f-=3)F0=E$[f]|E$[f-1]<<8|E$[f-2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);else if(Y==="le")for(f=0,D$=0;f<E$.length;f+=3)F0=E$[f]|E$[f+1]<<8|E$[f+2]<<16,this.words[D$]|=F0<<C$&67108863,this.words[D$+1]=F0>>>26-C$&67108863,C$+=24,C$>=26&&(C$-=26,D$++);return this.strip()};function $(E$,T$){var Y=E$.charCodeAt(T$);return Y>=65&&Y<=70?Y-55:Y>=97&&Y<=102?Y-87:Y-48&15}function N(E$,T$,Y){var f=$(E$,Y);return Y-1>=T$&&(f|=$(E$,Y-1)<<4),f}$$.prototype._parseHex=function(E$,T$,Y){this.length=Math.ceil((E$.length-T$)/6),this.words=new Array(this.length);for(var f=0;f<this.length;f++)this.words[f]=0;var D$=0,F0=0,C$;if(Y==="be")for(f=E$.length-1;f>=T$;f-=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8;else{var L$=E$.length-T$;for(f=L$%2===0?T$+1:T$;f<E$.length;f+=2)C$=N(E$,T$,f)<<D$,this.words[F0]|=C$&67108863,D$>=18?(D$-=18,F0+=1,this.words[F0]|=C$>>>26):D$+=8}this.strip()};function Y$(E$,T$,Y,f){for(var D$=0,F0=Math.min(E$.length,Y),C$=T$;C$<F0;C$++){var L$=E$.charCodeAt(C$)-48;D$*=f,L$>=49?D$+=L$-49+10:L$>=17?D$+=L$-17+10:D$+=L$}return D$}$$.prototype._parseBase=function(E$,T$,Y){this.words=[0],this.length=1;for(var f=0,D$=1;D$<=67108863;D$*=T$)f++;f--,D$=D$/T$|0;for(var F0=E$.length-Y,C$=F0%f,L$=Math.min(F0,F0-C$)+Y,R$=0,P$=Y;P$<L$;P$+=f)R$=Y$(E$,P$,P$+f,T$),this.imuln(D$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$);if(C$!==0){var z$=1;for(R$=Y$(E$,P$,E$.length,T$),P$=0;P$<C$;P$++)z$*=T$;this.imuln(z$),this.words[0]+R$<67108864?this.words[0]+=R$:this._iaddn(R$)}this.strip()},$$.prototype.copy=function(E$){E$.words=new Array(this.length);for(var T$=0;T$<this.length;T$++)E$.words[T$]=this.words[T$];E$.length=this.length,E$.negative=this.negative,E$.red=this.red},$$.prototype.clone=function(){var E$=new $$(null);return this.copy(E$),E$},$$.prototype._expand=function(E$){for(;this.length<E$;)this.words[this.length++]=0;return this},$$.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},$$.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},$$.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var O0=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],Z$=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],G$=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64000000,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,24300000,28629151,33554432,39135393,45435424,52521875,60466176];$$.prototype.toString=function(E$,T$){E$=E$||10,T$=T$|0||1;var Y;if(E$===16||E$==="hex"){Y="";for(var f=0,D$=0,F0=0;F0<this.length;F0++){var C$=this.words[F0],L$=((C$<<f|D$)&16777215).toString(16);D$=C$>>>24-f&16777215,D$!==0||F0!==this.length-1?Y=O0[6-L$.length]+L$+Y:Y=L$+Y,f+=2,f>=26&&(f-=26,F0--)}for(D$!==0&&(Y=D$.toString(16)+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}if(E$===(E$|0)&&E$>=2&&E$<=36){var R$=Z$[E$],P$=G$[E$];Y="";var z$=this.clone();for(z$.negative=0;!z$.isZero();){var M$=z$.modn(P$).toString(E$);z$=z$.idivn(P$),z$.isZero()?Y=M$+Y:Y=O0[R$-M$.length]+M$+Y}for(this.isZero()&&(Y="0"+Y);Y.length%T$!==0;)Y="0"+Y;return this.negative!==0&&(Y="-"+Y),Y}r0(!1,"Base should be between 2 and 36")},$$.prototype.toNumber=function(){var E$=this.words[0];return this.length===2?E$+=this.words[1]*67108864:this.length===3&&this.words[2]===1?E$+=4503599627370496+this.words[1]*67108864:this.length>2&&r0(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-E$:E$},$$.prototype.toJSON=function(){return this.toString(16)},$$.prototype.toBuffer=function(E$,T$){return r0(typeof Q$<"u"),this.toArrayLike(Q$,E$,T$)},$$.prototype.toArray=function(E$,T$){return this.toArrayLike(Array,E$,T$)},$$.prototype.toArrayLike=function(E$,T$,Y){var f=this.byteLength(),D$=Y||Math.max(1,f);r0(f<=D$,"byte array longer than desired length"),r0(D$>0,"Requested array length <= 0"),this.strip();var F0=T$==="le",C$=new E$(D$),L$,R$,P$=this.clone();if(F0){for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[R$]=L$;for(;R$<D$;R$++)C$[R$]=0}else{for(R$=0;R$<D$-f;R$++)C$[R$]=0;for(R$=0;!P$.isZero();R$++)L$=P$.andln(255),P$.iushrn(8),C$[D$-R$-1]=L$}return C$},Math.clz32?$$.prototype._countBits=function(E$){return 32-Math.clz32(E$)}:$$.prototype._countBits=function(E$){var T$=E$,Y=0;return T$>=4096&&(Y+=13,T$>>>=13),T$>=64&&(Y+=7,T$>>>=7),T$>=8&&(Y+=4,T$>>>=4),T$>=2&&(Y+=2,T$>>>=2),Y+T$},$$.prototype._zeroBits=function(E$){if(E$===0)return 26;var T$=E$,Y=0;return(T$&8191)===0&&(Y+=13,T$>>>=13),(T$&127)===0&&(Y+=7,T$>>>=7),(T$&15)===0&&(Y+=4,T$>>>=4),(T$&3)===0&&(Y+=2,T$>>>=2),(T$&1)===0&&Y++,Y},$$.prototype.bitLength=function(){var E$=this.words[this.length-1],T$=this._countBits(E$);return(this.length-1)*26+T$};function V$(E$){for(var T$=new Array(E$.bitLength()),Y=0;Y<T$.length;Y++){var f=Y/26|0,D$=Y%26;T$[Y]=(E$.words[f]&1<<D$)>>>D$}return T$}$$.prototype.zeroBits=function(){if(this.isZero())return 0;for(var E$=0,T$=0;T$<this.length;T$++){var Y=this._zeroBits(this.words[T$]);if(E$+=Y,Y!==26)break}return E$},$$.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},$$.prototype.toTwos=function(E$){return this.negative!==0?this.abs().inotn(E$).iaddn(1):this.clone()},$$.prototype.fromTwos=function(E$){return this.testn(E$-1)?this.notn(E$).iaddn(1).ineg():this.clone()},$$.prototype.isNeg=function(){return this.negative!==0},$$.prototype.neg=function(){return this.clone().ineg()},$$.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},$$.prototype.iuor=function(E$){for(;this.length<E$.length;)this.words[this.length++]=0;for(var T$=0;T$<E$.length;T$++)this.words[T$]=this.words[T$]|E$.words[T$];return this.strip()},$$.prototype.ior=function(E$){return r0((this.negative|E$.negative)===0),this.iuor(E$)},$$.prototype.or=function(E$){return this.length>E$.length?this.clone().ior(E$):E$.clone().ior(this)},$$.prototype.uor=function(E$){return this.length>E$.length?this.clone().iuor(E$):E$.clone().iuor(this)},$$.prototype.iuand=function(E$){var T$;this.length>E$.length?T$=E$:T$=this;for(var Y=0;Y<T$.length;Y++)this.words[Y]=this.words[Y]&E$.words[Y];return this.length=T$.length,this.strip()},$$.prototype.iand=function(E$){return r0((this.negative|E$.negative)===0),this.iuand(E$)},$$.prototype.and=function(E$){return this.length>E$.length?this.clone().iand(E$):E$.clone().iand(this)},$$.prototype.uand=function(E$){return this.length>E$.length?this.clone().iuand(E$):E$.clone().iuand(this)},$$.prototype.iuxor=function(E$){var T$,Y;this.length>E$.length?(T$=this,Y=E$):(T$=E$,Y=this);for(var f=0;f<Y.length;f++)this.words[f]=T$.words[f]^Y.words[f];if(this!==T$)for(;f<T$.length;f++)this.words[f]=T$.words[f];return this.length=T$.length,this.strip()},$$.prototype.ixor=function(E$){return r0((this.negative|E$.negative)===0),this.iuxor(E$)},$$.prototype.xor=function(E$){return this.length>E$.length?this.clone().ixor(E$):E$.clone().ixor(this)},$$.prototype.uxor=function(E$){return this.length>E$.length?this.clone().iuxor(E$):E$.clone().iuxor(this)},$$.prototype.inotn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=Math.ceil(E$/26)|0,Y=E$%26;this._expand(T$),Y>0&&T$--;for(var f=0;f<T$;f++)this.words[f]=~this.words[f]&67108863;return Y>0&&(this.words[f]=~this.words[f]&67108863>>26-Y),this.strip()},$$.prototype.notn=function(E$){return this.clone().inotn(E$)},$$.prototype.setn=function(E$,T$){r0(typeof E$=="number"&&E$>=0);var Y=E$/26|0,f=E$%26;return this._expand(Y+1),T$?this.words[Y]=this.words[Y]|1<<f:this.words[Y]=this.words[Y]&~(1<<f),this.strip()},$$.prototype.iadd=function(E$){var T$;if(this.negative!==0&&E$.negative===0)return this.negative=0,T$=this.isub(E$),this.negative^=1,this._normSign();if(this.negative===0&&E$.negative!==0)return E$.negative=0,T$=this.isub(E$),E$.negative=1,T$._normSign();var Y,f;this.length>E$.length?(Y=this,f=E$):(Y=E$,f=this);for(var D$=0,F0=0;F0<f.length;F0++)T$=(Y.words[F0]|0)+(f.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;for(;D$!==0&&F0<Y.length;F0++)T$=(Y.words[F0]|0)+D$,this.words[F0]=T$&67108863,D$=T$>>>26;if(this.length=Y.length,D$!==0)this.words[this.length]=D$,this.length++;else if(Y!==this)for(;F0<Y.length;F0++)this.words[F0]=Y.words[F0];return this},$$.prototype.add=function(E$){var T$;return E$.negative!==0&&this.negative===0?(E$.negative=0,T$=this.sub(E$),E$.negative^=1,T$):E$.negative===0&&this.negative!==0?(this.negative=0,T$=E$.sub(this),this.negative=1,T$):this.length>E$.length?this.clone().iadd(E$):E$.clone().iadd(this)},$$.prototype.isub=function(E$){if(E$.negative!==0){E$.negative=0;var T$=this.iadd(E$);return E$.negative=1,T$._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(E$),this.negative=1,this._normSign();var Y=this.cmp(E$);if(Y===0)return this.negative=0,this.length=1,this.words[0]=0,this;var f,D$;Y>0?(f=this,D$=E$):(f=E$,D$=this);for(var F0=0,C$=0;C$<D$.length;C$++)T$=(f.words[C$]|0)-(D$.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;for(;F0!==0&&C$<f.length;C$++)T$=(f.words[C$]|0)+F0,F0=T$>>26,this.words[C$]=T$&67108863;if(F0===0&&C$<f.length&&f!==this)for(;C$<f.length;C$++)this.words[C$]=f.words[C$];return this.length=Math.max(this.length,C$),f!==this&&(this.negative=1),this.strip()},$$.prototype.sub=function(E$){return this.clone().isub(E$)};function U$(E$,T$,Y){Y.negative=T$.negative^E$.negative;var f=E$.length+T$.length|0;Y.length=f,f=f-1|0;var D$=E$.words[0]|0,F0=T$.words[0]|0,C$=D$*F0,L$=C$&67108863,R$=C$/67108864|0;Y.words[0]=L$;for(var P$=1;P$<f;P$++){for(var z$=R$>>>26,M$=R$&67108863,S$=Math.min(P$,T$.length-1),Z=Math.max(0,P$-E$.length+1);Z<=S$;Z++){var c=P$-Z|0;D$=E$.words[c]|0,F0=T$.words[Z]|0,C$=D$*F0+M$,z$+=C$/67108864|0,M$=C$&67108863}Y.words[P$]=M$|0,R$=z$|0}return R$!==0?Y.words[P$]=R$|0:Y.length--,Y.strip()}var X$=function(E$,T$,Y){var f=E$.words,D$=T$.words,F0=Y.words,C$=0,L$,R$,P$,z$=f[0]|0,M$=z$&8191,S$=z$>>>13,Z=f[1]|0,c=Z&8191,v$=Z>>>13,A0=f[2]|0,q$=A0&8191,j$=A0>>>13,k$=f[3]|0,g$=k$&8191,_$=k$>>>13,N$=f[4]|0,x$=N$&8191,G=N$>>>13,B=f[5]|0,B$=B&8191,H0=B>>>13,y$=f[6]|0,w$=y$&8191,p$=y$>>>13,f$=f[7]|0,c$=f$&8191,h$=f$>>>13,d$=f[8]|0,V=d$&8191,h=d$>>>13,W0=f[9]|0,E0=W0&8191,b$=W0>>>13,l$=D$[0]|0,o$=l$&8191,u$=l$>>>13,n$=D$[1]|0,s$=n$&8191,t$=n$>>>13,U=D$[2]|0,d=U&8191,m$=U>>>13,T0=D$[3]|0,a$=T0&8191,e$=T0>>>13,r$=D$[4]|0,i$=r$&8191,$Q=r$>>>13,QQ=D$[5]|0,YQ=QQ&8191,X=QQ>>>13,b=D$[6]|0,ZQ=b&8191,D0=b>>>13,GQ=D$[7]|0,VQ=GQ&8191,UQ=GQ>>>13,XQ=D$[8]|0,KQ=XQ&8191,IQ=XQ>>>13,OQ=D$[9]|0,K=OQ&8191,l=OQ>>>13;Y.negative=E$.negative^T$.negative,Y.length=19,L$=Math.imul(M$,o$),R$=Math.imul(M$,u$),R$=R$+Math.imul(S$,o$)|0,P$=Math.imul(S$,u$);var JQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(JQ>>>26)|0,JQ&=67108863,L$=Math.imul(c,o$),R$=Math.imul(c,u$),R$=R$+Math.imul(v$,o$)|0,P$=Math.imul(v$,u$),L$=L$+Math.imul(M$,s$)|0,R$=R$+Math.imul(M$,t$)|0,R$=R$+Math.imul(S$,s$)|0,P$=P$+Math.imul(S$,t$)|0;var C0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(C0>>>26)|0,C0&=67108863,L$=Math.imul(q$,o$),R$=Math.imul(q$,u$),R$=R$+Math.imul(j$,o$)|0,P$=Math.imul(j$,u$),L$=L$+Math.imul(c,s$)|0,R$=R$+Math.imul(c,t$)|0,R$=R$+Math.imul(v$,s$)|0,P$=P$+Math.imul(v$,t$)|0,L$=L$+Math.imul(M$,d)|0,R$=R$+Math.imul(M$,m$)|0,R$=R$+Math.imul(S$,d)|0,P$=P$+Math.imul(S$,m$)|0;var FQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(FQ>>>26)|0,FQ&=67108863,L$=Math.imul(g$,o$),R$=Math.imul(g$,u$),R$=R$+Math.imul(_$,o$)|0,P$=Math.imul(_$,u$),L$=L$+Math.imul(q$,s$)|0,R$=R$+Math.imul(q$,t$)|0,R$=R$+Math.imul(j$,s$)|0,P$=P$+Math.imul(j$,t$)|0,L$=L$+Math.imul(c,d)|0,R$=R$+Math.imul(c,m$)|0,R$=R$+Math.imul(v$,d)|0,P$=P$+Math.imul(v$,m$)|0,L$=L$+Math.imul(M$,a$)|0,R$=R$+Math.imul(M$,e$)|0,R$=R$+Math.imul(S$,a$)|0,P$=P$+Math.imul(S$,e$)|0;var AQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(AQ>>>26)|0,AQ&=67108863,L$=Math.imul(x$,o$),R$=Math.imul(x$,u$),R$=R$+Math.imul(G,o$)|0,P$=Math.imul(G,u$),L$=L$+Math.imul(g$,s$)|0,R$=R$+Math.imul(g$,t$)|0,R$=R$+Math.imul(_$,s$)|0,P$=P$+Math.imul(_$,t$)|0,L$=L$+Math.imul(q$,d)|0,R$=R$+Math.imul(q$,m$)|0,R$=R$+Math.imul(j$,d)|0,P$=P$+Math.imul(j$,m$)|0,L$=L$+Math.imul(c,a$)|0,R$=R$+Math.imul(c,e$)|0,R$=R$+Math.imul(v$,a$)|0,P$=P$+Math.imul(v$,e$)|0,L$=L$+Math.imul(M$,i$)|0,R$=R$+Math.imul(M$,$Q)|0,R$=R$+Math.imul(S$,i$)|0,P$=P$+Math.imul(S$,$Q)|0;var HQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(HQ>>>26)|0,HQ&=67108863,L$=Math.imul(B$,o$),R$=Math.imul(B$,u$),R$=R$+Math.imul(H0,o$)|0,P$=Math.imul(H0,u$),L$=L$+Math.imul(x$,s$)|0,R$=R$+Math.imul(x$,t$)|0,R$=R$+Math.imul(G,s$)|0,P$=P$+Math.imul(G,t$)|0,L$=L$+Math.imul(g$,d)|0,R$=R$+Math.imul(g$,m$)|0,R$=R$+Math.imul(_$,d)|0,P$=P$+Math.imul(_$,m$)|0,L$=L$+Math.imul(q$,a$)|0,R$=R$+Math.imul(q$,e$)|0,R$=R$+Math.imul(j$,a$)|0,P$=P$+Math.imul(j$,e$)|0,L$=L$+Math.imul(c,i$)|0,R$=R$+Math.imul(c,$Q)|0,R$=R$+Math.imul(v$,i$)|0,P$=P$+Math.imul(v$,$Q)|0,L$=L$+Math.imul(M$,YQ)|0,R$=R$+Math.imul(M$,X)|0,R$=R$+Math.imul(S$,YQ)|0,P$=P$+Math.imul(S$,X)|0;var WQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(WQ>>>26)|0,WQ&=67108863,L$=Math.imul(w$,o$),R$=Math.imul(w$,u$),R$=R$+Math.imul(p$,o$)|0,P$=Math.imul(p$,u$),L$=L$+Math.imul(B$,s$)|0,R$=R$+Math.imul(B$,t$)|0,R$=R$+Math.imul(H0,s$)|0,P$=P$+Math.imul(H0,t$)|0,L$=L$+Math.imul(x$,d)|0,R$=R$+Math.imul(x$,m$)|0,R$=R$+Math.imul(G,d)|0,P$=P$+Math.imul(G,m$)|0,L$=L$+Math.imul(g$,a$)|0,R$=R$+Math.imul(g$,e$)|0,R$=R$+Math.imul(_$,a$)|0,P$=P$+Math.imul(_$,e$)|0,L$=L$+Math.imul(q$,i$)|0,R$=R$+Math.imul(q$,$Q)|0,R$=R$+Math.imul(j$,i$)|0,P$=P$+Math.imul(j$,$Q)|0,L$=L$+Math.imul(c,YQ)|0,R$=R$+Math.imul(c,X)|0,R$=R$+Math.imul(v$,YQ)|0,P$=P$+Math.imul(v$,X)|0,L$=L$+Math.imul(M$,ZQ)|0,R$=R$+Math.imul(M$,D0)|0,R$=R$+Math.imul(S$,ZQ)|0,P$=P$+Math.imul(S$,D0)|0;var EQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(EQ>>>26)|0,EQ&=67108863,L$=Math.imul(c$,o$),R$=Math.imul(c$,u$),R$=R$+Math.imul(h$,o$)|0,P$=Math.imul(h$,u$),L$=L$+Math.imul(w$,s$)|0,R$=R$+Math.imul(w$,t$)|0,R$=R$+Math.imul(p$,s$)|0,P$=P$+Math.imul(p$,t$)|0,L$=L$+Math.imul(B$,d)|0,R$=R$+Math.imul(B$,m$)|0,R$=R$+Math.imul(H0,d)|0,P$=P$+Math.imul(H0,m$)|0,L$=L$+Math.imul(x$,a$)|0,R$=R$+Math.imul(x$,e$)|0,R$=R$+Math.imul(G,a$)|0,P$=P$+Math.imul(G,e$)|0,L$=L$+Math.imul(g$,i$)|0,R$=R$+Math.imul(g$,$Q)|0,R$=R$+Math.imul(_$,i$)|0,P$=P$+Math.imul(_$,$Q)|0,L$=L$+Math.imul(q$,YQ)|0,R$=R$+Math.imul(q$,X)|0,R$=R$+Math.imul(j$,YQ)|0,P$=P$+Math.imul(j$,X)|0,L$=L$+Math.imul(c,ZQ)|0,R$=R$+Math.imul(c,D0)|0,R$=R$+Math.imul(v$,ZQ)|0,P$=P$+Math.imul(v$,D0)|0,L$=L$+Math.imul(M$,VQ)|0,R$=R$+Math.imul(M$,UQ)|0,R$=R$+Math.imul(S$,VQ)|0,P$=P$+Math.imul(S$,UQ)|0;var TQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(TQ>>>26)|0,TQ&=67108863,L$=Math.imul(V,o$),R$=Math.imul(V,u$),R$=R$+Math.imul(h,o$)|0,P$=Math.imul(h,u$),L$=L$+Math.imul(c$,s$)|0,R$=R$+Math.imul(c$,t$)|0,R$=R$+Math.imul(h$,s$)|0,P$=P$+Math.imul(h$,t$)|0,L$=L$+Math.imul(w$,d)|0,R$=R$+Math.imul(w$,m$)|0,R$=R$+Math.imul(p$,d)|0,P$=P$+Math.imul(p$,m$)|0,L$=L$+Math.imul(B$,a$)|0,R$=R$+Math.imul(B$,e$)|0,R$=R$+Math.imul(H0,a$)|0,P$=P$+Math.imul(H0,e$)|0,L$=L$+Math.imul(x$,i$)|0,R$=R$+Math.imul(x$,$Q)|0,R$=R$+Math.imul(G,i$)|0,P$=P$+Math.imul(G,$Q)|0,L$=L$+Math.imul(g$,YQ)|0,R$=R$+Math.imul(g$,X)|0,R$=R$+Math.imul(_$,YQ)|0,P$=P$+Math.imul(_$,X)|0,L$=L$+Math.imul(q$,ZQ)|0,R$=R$+Math.imul(q$,D0)|0,R$=R$+Math.imul(j$,ZQ)|0,P$=P$+Math.imul(j$,D0)|0,L$=L$+Math.imul(c,VQ)|0,R$=R$+Math.imul(c,UQ)|0,R$=R$+Math.imul(v$,VQ)|0,P$=P$+Math.imul(v$,UQ)|0,L$=L$+Math.imul(M$,KQ)|0,R$=R$+Math.imul(M$,IQ)|0,R$=R$+Math.imul(S$,KQ)|0,P$=P$+Math.imul(S$,IQ)|0;var DQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(DQ>>>26)|0,DQ&=67108863,L$=Math.imul(E0,o$),R$=Math.imul(E0,u$),R$=R$+Math.imul(b$,o$)|0,P$=Math.imul(b$,u$),L$=L$+Math.imul(V,s$)|0,R$=R$+Math.imul(V,t$)|0,R$=R$+Math.imul(h,s$)|0,P$=P$+Math.imul(h,t$)|0,L$=L$+Math.imul(c$,d)|0,R$=R$+Math.imul(c$,m$)|0,R$=R$+Math.imul(h$,d)|0,P$=P$+Math.imul(h$,m$)|0,L$=L$+Math.imul(w$,a$)|0,R$=R$+Math.imul(w$,e$)|0,R$=R$+Math.imul(p$,a$)|0,P$=P$+Math.imul(p$,e$)|0,L$=L$+Math.imul(B$,i$)|0,R$=R$+Math.imul(B$,$Q)|0,R$=R$+Math.imul(H0,i$)|0,P$=P$+Math.imul(H0,$Q)|0,L$=L$+Math.imul(x$,YQ)|0,R$=R$+Math.imul(x$,X)|0,R$=R$+Math.imul(G,YQ)|0,P$=P$+Math.imul(G,X)|0,L$=L$+Math.imul(g$,ZQ)|0,R$=R$+Math.imul(g$,D0)|0,R$=R$+Math.imul(_$,ZQ)|0,P$=P$+Math.imul(_$,D0)|0,L$=L$+Math.imul(q$,VQ)|0,R$=R$+Math.imul(q$,UQ)|0,R$=R$+Math.imul(j$,VQ)|0,P$=P$+Math.imul(j$,UQ)|0,L$=L$+Math.imul(c,KQ)|0,R$=R$+Math.imul(c,IQ)|0,R$=R$+Math.imul(v$,KQ)|0,P$=P$+Math.imul(v$,IQ)|0,L$=L$+Math.imul(M$,K)|0,R$=R$+Math.imul(M$,l)|0,R$=R$+Math.imul(S$,K)|0,P$=P$+Math.imul(S$,l)|0;var I=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(I>>>26)|0,I&=67108863,L$=Math.imul(E0,s$),R$=Math.imul(E0,t$),R$=R$+Math.imul(b$,s$)|0,P$=Math.imul(b$,t$),L$=L$+Math.imul(V,d)|0,R$=R$+Math.imul(V,m$)|0,R$=R$+Math.imul(h,d)|0,P$=P$+Math.imul(h,m$)|0,L$=L$+Math.imul(c$,a$)|0,R$=R$+Math.imul(c$,e$)|0,R$=R$+Math.imul(h$,a$)|0,P$=P$+Math.imul(h$,e$)|0,L$=L$+Math.imul(w$,i$)|0,R$=R$+Math.imul(w$,$Q)|0,R$=R$+Math.imul(p$,i$)|0,P$=P$+Math.imul(p$,$Q)|0,L$=L$+Math.imul(B$,YQ)|0,R$=R$+Math.imul(B$,X)|0,R$=R$+Math.imul(H0,YQ)|0,P$=P$+Math.imul(H0,X)|0,L$=L$+Math.imul(x$,ZQ)|0,R$=R$+Math.imul(x$,D0)|0,R$=R$+Math.imul(G,ZQ)|0,P$=P$+Math.imul(G,D0)|0,L$=L$+Math.imul(g$,VQ)|0,R$=R$+Math.imul(g$,UQ)|0,R$=R$+Math.imul(_$,VQ)|0,P$=P$+Math.imul(_$,UQ)|0,L$=L$+Math.imul(q$,KQ)|0,R$=R$+Math.imul(q$,IQ)|0,R$=R$+Math.imul(j$,KQ)|0,P$=P$+Math.imul(j$,IQ)|0,L$=L$+Math.imul(c,K)|0,R$=R$+Math.imul(c,l)|0,R$=R$+Math.imul(v$,K)|0,P$=P$+Math.imul(v$,l)|0;var o=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(o>>>26)|0,o&=67108863,L$=Math.imul(E0,d),R$=Math.imul(E0,m$),R$=R$+Math.imul(b$,d)|0,P$=Math.imul(b$,m$),L$=L$+Math.imul(V,a$)|0,R$=R$+Math.imul(V,e$)|0,R$=R$+Math.imul(h,a$)|0,P$=P$+Math.imul(h,e$)|0,L$=L$+Math.imul(c$,i$)|0,R$=R$+Math.imul(c$,$Q)|0,R$=R$+Math.imul(h$,i$)|0,P$=P$+Math.imul(h$,$Q)|0,L$=L$+Math.imul(w$,YQ)|0,R$=R$+Math.imul(w$,X)|0,R$=R$+Math.imul(p$,YQ)|0,P$=P$+Math.imul(p$,X)|0,L$=L$+Math.imul(B$,ZQ)|0,R$=R$+Math.imul(B$,D0)|0,R$=R$+Math.imul(H0,ZQ)|0,P$=P$+Math.imul(H0,D0)|0,L$=L$+Math.imul(x$,VQ)|0,R$=R$+Math.imul(x$,UQ)|0,R$=R$+Math.imul(G,VQ)|0,P$=P$+Math.imul(G,UQ)|0,L$=L$+Math.imul(g$,KQ)|0,R$=R$+Math.imul(g$,IQ)|0,R$=R$+Math.imul(_$,KQ)|0,P$=P$+Math.imul(_$,IQ)|0,L$=L$+Math.imul(q$,K)|0,R$=R$+Math.imul(q$,l)|0,R$=R$+Math.imul(j$,K)|0,P$=P$+Math.imul(j$,l)|0;var CQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(CQ>>>26)|0,CQ&=67108863,L$=Math.imul(E0,a$),R$=Math.imul(E0,e$),R$=R$+Math.imul(b$,a$)|0,P$=Math.imul(b$,e$),L$=L$+Math.imul(V,i$)|0,R$=R$+Math.imul(V,$Q)|0,R$=R$+Math.imul(h,i$)|0,P$=P$+Math.imul(h,$Q)|0,L$=L$+Math.imul(c$,YQ)|0,R$=R$+Math.imul(c$,X)|0,R$=R$+Math.imul(h$,YQ)|0,P$=P$+Math.imul(h$,X)|0,L$=L$+Math.imul(w$,ZQ)|0,R$=R$+Math.imul(w$,D0)|0,R$=R$+Math.imul(p$,ZQ)|0,P$=P$+Math.imul(p$,D0)|0,L$=L$+Math.imul(B$,VQ)|0,R$=R$+Math.imul(B$,UQ)|0,R$=R$+Math.imul(H0,VQ)|0,P$=P$+Math.imul(H0,UQ)|0,L$=L$+Math.imul(x$,KQ)|0,R$=R$+Math.imul(x$,IQ)|0,R$=R$+Math.imul(G,KQ)|0,P$=P$+Math.imul(G,IQ)|0,L$=L$+Math.imul(g$,K)|0,R$=R$+Math.imul(g$,l)|0,R$=R$+Math.imul(_$,K)|0,P$=P$+Math.imul(_$,l)|0;var L0=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(L0>>>26)|0,L0&=67108863,L$=Math.imul(E0,i$),R$=Math.imul(E0,$Q),R$=R$+Math.imul(b$,i$)|0,P$=Math.imul(b$,$Q),L$=L$+Math.imul(V,YQ)|0,R$=R$+Math.imul(V,X)|0,R$=R$+Math.imul(h,YQ)|0,P$=P$+Math.imul(h,X)|0,L$=L$+Math.imul(c$,ZQ)|0,R$=R$+Math.imul(c$,D0)|0,R$=R$+Math.imul(h$,ZQ)|0,P$=P$+Math.imul(h$,D0)|0,L$=L$+Math.imul(w$,VQ)|0,R$=R$+Math.imul(w$,UQ)|0,R$=R$+Math.imul(p$,VQ)|0,P$=P$+Math.imul(p$,UQ)|0,L$=L$+Math.imul(B$,KQ)|0,R$=R$+Math.imul(B$,IQ)|0,R$=R$+Math.imul(H0,KQ)|0,P$=P$+Math.imul(H0,IQ)|0,L$=L$+Math.imul(x$,K)|0,R$=R$+Math.imul(x$,l)|0,R$=R$+Math.imul(G,K)|0,P$=P$+Math.imul(G,l)|0;var LQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(LQ>>>26)|0,LQ&=67108863,L$=Math.imul(E0,YQ),R$=Math.imul(E0,X),R$=R$+Math.imul(b$,YQ)|0,P$=Math.imul(b$,X),L$=L$+Math.imul(V,ZQ)|0,R$=R$+Math.imul(V,D0)|0,R$=R$+Math.imul(h,ZQ)|0,P$=P$+Math.imul(h,D0)|0,L$=L$+Math.imul(c$,VQ)|0,R$=R$+Math.imul(c$,UQ)|0,R$=R$+Math.imul(h$,VQ)|0,P$=P$+Math.imul(h$,UQ)|0,L$=L$+Math.imul(w$,KQ)|0,R$=R$+Math.imul(w$,IQ)|0,R$=R$+Math.imul(p$,KQ)|0,P$=P$+Math.imul(p$,IQ)|0,L$=L$+Math.imul(B$,K)|0,R$=R$+Math.imul(B$,l)|0,R$=R$+Math.imul(H0,K)|0,P$=P$+Math.imul(H0,l)|0;var RQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(RQ>>>26)|0,RQ&=67108863,L$=Math.imul(E0,ZQ),R$=Math.imul(E0,D0),R$=R$+Math.imul(b$,ZQ)|0,P$=Math.imul(b$,D0),L$=L$+Math.imul(V,VQ)|0,R$=R$+Math.imul(V,UQ)|0,R$=R$+Math.imul(h,VQ)|0,P$=P$+Math.imul(h,UQ)|0,L$=L$+Math.imul(c$,KQ)|0,R$=R$+Math.imul(c$,IQ)|0,R$=R$+Math.imul(h$,KQ)|0,P$=P$+Math.imul(h$,IQ)|0,L$=L$+Math.imul(w$,K)|0,R$=R$+Math.imul(w$,l)|0,R$=R$+Math.imul(p$,K)|0,P$=P$+Math.imul(p$,l)|0;var PQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(PQ>>>26)|0,PQ&=67108863,L$=Math.imul(E0,VQ),R$=Math.imul(E0,UQ),R$=R$+Math.imul(b$,VQ)|0,P$=Math.imul(b$,UQ),L$=L$+Math.imul(V,KQ)|0,R$=R$+Math.imul(V,IQ)|0,R$=R$+Math.imul(h,KQ)|0,P$=P$+Math.imul(h,IQ)|0,L$=L$+Math.imul(c$,K)|0,R$=R$+Math.imul(c$,l)|0,R$=R$+Math.imul(h$,K)|0,P$=P$+Math.imul(h$,l)|0;var zQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(zQ>>>26)|0,zQ&=67108863,L$=Math.imul(E0,KQ),R$=Math.imul(E0,IQ),R$=R$+Math.imul(b$,KQ)|0,P$=Math.imul(b$,IQ),L$=L$+Math.imul(V,K)|0,R$=R$+Math.imul(V,l)|0,R$=R$+Math.imul(h,K)|0,P$=P$+Math.imul(h,l)|0;var MQ=(C$+L$|0)+((R$&8191)<<13)|0;C$=(P$+(R$>>>13)|0)+(MQ>>>26)|0,MQ&=67108863,L$=Math.imul(E0,K),R$=Math.imul(E0,l),R$=R$+Math.imul(b$,K)|0,P$=Math.imul(b$,l);var SQ=(C$+L$|0)+((R$&8191)<<13)|0;return C$=(P$+(R$>>>13)|0)+(SQ>>>26)|0,SQ&=67108863,F0[0]=JQ,F0[1]=C0,F0[2]=FQ,F0[3]=AQ,F0[4]=HQ,F0[5]=WQ,F0[6]=EQ,F0[7]=TQ,F0[8]=DQ,F0[9]=I,F0[10]=o,F0[11]=CQ,F0[12]=L0,F0[13]=LQ,F0[14]=RQ,F0[15]=PQ,F0[16]=zQ,F0[17]=MQ,F0[18]=SQ,C$!==0&&(F0[19]=C$,Y.length++),Y};Math.imul||(X$=U$);function K$(E$,T$,Y){Y.negative=T$.negative^E$.negative,Y.length=E$.length+T$.length;for(var f=0,D$=0,F0=0;F0<Y.length-1;F0++){var C$=D$;D$=0;for(var L$=f&67108863,R$=Math.min(F0,T$.length-1),P$=Math.max(0,F0-E$.length+1);P$<=R$;P$++){var z$=F0-P$,M$=E$.words[z$]|0,S$=T$.words[P$]|0,Z=M$*S$,c=Z&67108863;C$=C$+(Z/67108864|0)|0,c=c+L$|0,L$=c&67108863,C$=C$+(c>>>26)|0,D$+=C$>>>26,C$&=67108863}Y.words[F0]=L$,f=C$,C$=D$}return f!==0?Y.words[F0]=f:Y.length--,Y.strip()}function I$(E$,T$,Y){var f=new Q;return f.mulp(E$,T$,Y)}$$.prototype.mulTo=function(E$,T$){var Y,f=this.length+E$.length;return this.length===10&&E$.length===10?Y=X$(this,E$,T$):f<63?Y=U$(this,E$,T$):f<1024?Y=K$(this,E$,T$):Y=I$(this,E$,T$),Y};function Q(E$,T$){this.x=E$,this.y=T$}Q.prototype.makeRBT=function(E$){for(var T$=new Array(E$),Y=$$.prototype._countBits(E$)-1,f=0;f<E$;f++)T$[f]=this.revBin(f,Y,E$);return T$},Q.prototype.revBin=function(E$,T$,Y){if(E$===0||E$===Y-1)return E$;for(var f=0,D$=0;D$<T$;D$++)f|=(E$&1)<<T$-D$-1,E$>>=1;return f},Q.prototype.permute=function(E$,T$,Y,f,D$,F0){for(var C$=0;C$<F0;C$++)f[C$]=T$[E$[C$]],D$[C$]=Y[E$[C$]]},Q.prototype.transform=function(E$,T$,Y,f,D$,F0){this.permute(F0,E$,T$,Y,f,D$);for(var C$=1;C$<D$;C$<<=1)for(var L$=C$<<1,R$=Math.cos(2*Math.PI/L$),P$=Math.sin(2*Math.PI/L$),z$=0;z$<D$;z$+=L$)for(var M$=R$,S$=P$,Z=0;Z<C$;Z++){var c=Y[z$+Z],v$=f[z$+Z],A0=Y[z$+Z+C$],q$=f[z$+Z+C$],j$=M$*A0-S$*q$;q$=M$*q$+S$*A0,A0=j$,Y[z$+Z]=c+A0,f[z$+Z]=v$+q$,Y[z$+Z+C$]=c-A0,f[z$+Z+C$]=v$-q$,Z!==L$&&(j$=R$*M$-P$*S$,S$=R$*S$+P$*M$,M$=j$)}},Q.prototype.guessLen13b=function(E$,T$){var Y=Math.max(T$,E$)|1,f=Y&1,D$=0;for(Y=Y/2|0;Y;Y=Y>>>1)D$++;return 1<<D$+1+f},Q.prototype.conjugate=function(E$,T$,Y){if(!(Y<=1))for(var f=0;f<Y/2;f++){var D$=E$[f];E$[f]=E$[Y-f-1],E$[Y-f-1]=D$,D$=T$[f],T$[f]=-T$[Y-f-1],T$[Y-f-1]=-D$}},Q.prototype.normalize13b=function(E$,T$){for(var Y=0,f=0;f<T$/2;f++){var D$=Math.round(E$[2*f+1]/T$)*8192+Math.round(E$[2*f]/T$)+Y;E$[f]=D$&67108863,D$<67108864?Y=0:Y=D$/67108864|0}return E$},Q.prototype.convert13b=function(E$,T$,Y,f){for(var D$=0,F0=0;F0<T$;F0++)D$=D$+(E$[F0]|0),Y[2*F0]=D$&8191,D$=D$>>>13,Y[2*F0+1]=D$&8191,D$=D$>>>13;for(F0=2*T$;F0<f;++F0)Y[F0]=0;r0(D$===0),r0((D$&-8192)===0)},Q.prototype.stub=function(E$){for(var T$=new Array(E$),Y=0;Y<E$;Y++)T$[Y]=0;return T$},Q.prototype.mulp=function(E$,T$,Y){var f=2*this.guessLen13b(E$.length,T$.length),D$=this.makeRBT(f),F0=this.stub(f),C$=new Array(f),L$=new Array(f),R$=new Array(f),P$=new Array(f),z$=new Array(f),M$=new Array(f),S$=Y.words;S$.length=f,this.convert13b(E$.words,E$.length,C$,f),this.convert13b(T$.words,T$.length,P$,f),this.transform(C$,F0,L$,R$,f,D$),this.transform(P$,F0,z$,M$,f,D$);for(var Z=0;Z<f;Z++){var c=L$[Z]*z$[Z]-R$[Z]*M$[Z];R$[Z]=L$[Z]*M$[Z]+R$[Z]*z$[Z],L$[Z]=c}return this.conjugate(L$,R$,f),this.transform(L$,R$,S$,F0,f,D$),this.conjugate(S$,F0,f),this.normalize13b(S$,f),Y.negative=E$.negative^T$.negative,Y.length=E$.length+T$.length,Y.strip()},$$.prototype.mul=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),this.mulTo(E$,T$)},$$.prototype.mulf=function(E$){var T$=new $$(null);return T$.words=new Array(this.length+E$.length),I$(this,E$,T$)},$$.prototype.imul=function(E$){return this.clone().mulTo(E$,this)},$$.prototype.imuln=function(E$){r0(typeof E$=="number"),r0(E$<67108864);for(var T$=0,Y=0;Y<this.length;Y++){var f=(this.words[Y]|0)*E$,D$=(f&67108863)+(T$&67108863);T$>>=26,T$+=f/67108864|0,T$+=D$>>>26,this.words[Y]=D$&67108863}return T$!==0&&(this.words[Y]=T$,this.length++),this},$$.prototype.muln=function(E$){return this.clone().imuln(E$)},$$.prototype.sqr=function(){return this.mul(this)},$$.prototype.isqr=function(){return this.imul(this.clone())},$$.prototype.pow=function(E$){var T$=V$(E$);if(T$.length===0)return new $$(1);for(var Y=this,f=0;f<T$.length&&T$[f]===0;f++,Y=Y.sqr());if(++f<T$.length)for(var D$=Y.sqr();f<T$.length;f++,D$=D$.sqr())T$[f]!==0&&(Y=Y.mul(D$));return Y},$$.prototype.iushln=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=67108863>>>26-T$<<26-T$,D$;if(T$!==0){var F0=0;for(D$=0;D$<this.length;D$++){var C$=this.words[D$]&f,L$=(this.words[D$]|0)-C$<<T$;this.words[D$]=L$|F0,F0=C$>>>26-T$}F0&&(this.words[D$]=F0,this.length++)}if(Y!==0){for(D$=this.length-1;D$>=0;D$--)this.words[D$+Y]=this.words[D$];for(D$=0;D$<Y;D$++)this.words[D$]=0;this.length+=Y}return this.strip()},$$.prototype.ishln=function(E$){return r0(this.negative===0),this.iushln(E$)},$$.prototype.iushrn=function(E$,T$,Y){r0(typeof E$=="number"&&E$>=0);var f;T$?f=(T$-T$%26)/26:f=0;var D$=E$%26,F0=Math.min((E$-D$)/26,this.length),C$=67108863^67108863>>>D$<<D$,L$=Y;if(f-=F0,f=Math.max(0,f),L$){for(var R$=0;R$<F0;R$++)L$.words[R$]=this.words[R$];L$.length=F0}if(F0!==0)if(this.length>F0)for(this.length-=F0,R$=0;R$<this.length;R$++)this.words[R$]=this.words[R$+F0];else this.words[0]=0,this.length=1;var P$=0;for(R$=this.length-1;R$>=0&&(P$!==0||R$>=f);R$--){var z$=this.words[R$]|0;this.words[R$]=P$<<26-D$|z$>>>D$,P$=z$&C$}return L$&&P$!==0&&(L$.words[L$.length++]=P$),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},$$.prototype.ishrn=function(E$,T$,Y){return r0(this.negative===0),this.iushrn(E$,T$,Y)},$$.prototype.shln=function(E$){return this.clone().ishln(E$)},$$.prototype.ushln=function(E$){return this.clone().iushln(E$)},$$.prototype.shrn=function(E$){return this.clone().ishrn(E$)},$$.prototype.ushrn=function(E$){return this.clone().iushrn(E$)},$$.prototype.testn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return!1;var D$=this.words[Y];return!!(D$&f)},$$.prototype.imaskn=function(E$){r0(typeof E$=="number"&&E$>=0);var T$=E$%26,Y=(E$-T$)/26;if(r0(this.negative===0,"imaskn works only with positive numbers"),this.length<=Y)return this;if(T$!==0&&Y++,this.length=Math.min(Y,this.length),T$!==0){var f=67108863^67108863>>>T$<<T$;this.words[this.length-1]&=f}return this.strip()},$$.prototype.maskn=function(E$){return this.clone().imaskn(E$)},$$.prototype.iaddn=function(E$){return r0(typeof E$=="number"),r0(E$<67108864),E$<0?this.isubn(-E$):this.negative!==0?this.length===1&&(this.words[0]|0)<E$?(this.words[0]=E$-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(E$),this.negative=1,this):this._iaddn(E$)},$$.prototype._iaddn=function(E$){this.words[0]+=E$;for(var T$=0;T$<this.length&&this.words[T$]>=67108864;T$++)this.words[T$]-=67108864,T$===this.length-1?this.words[T$+1]=1:this.words[T$+1]++;return this.length=Math.max(this.length,T$+1),this},$$.prototype.isubn=function(E$){if(r0(typeof E$=="number"),r0(E$<67108864),E$<0)return this.iaddn(-E$);if(this.negative!==0)return this.negative=0,this.iaddn(E$),this.negative=1,this;if(this.words[0]-=E$,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T$=0;T$<this.length&&this.words[T$]<0;T$++)this.words[T$]+=67108864,this.words[T$+1]-=1;return this.strip()},$$.prototype.addn=function(E$){return this.clone().iaddn(E$)},$$.prototype.subn=function(E$){return this.clone().isubn(E$)},$$.prototype.iabs=function(){return this.negative=0,this},$$.prototype.abs=function(){return this.clone().iabs()},$$.prototype._ishlnsubmul=function(E$,T$,Y){var f=E$.length+Y,D$;this._expand(f);var F0,C$=0;for(D$=0;D$<E$.length;D$++){F0=(this.words[D$+Y]|0)+C$;var L$=(E$.words[D$]|0)*T$;F0-=L$&67108863,C$=(F0>>26)-(L$/67108864|0),this.words[D$+Y]=F0&67108863}for(;D$<this.length-Y;D$++)F0=(this.words[D$+Y]|0)+C$,C$=F0>>26,this.words[D$+Y]=F0&67108863;if(C$===0)return this.strip();for(r0(C$===-1),C$=0,D$=0;D$<this.length;D$++)F0=-(this.words[D$]|0)+C$,C$=F0>>26,this.words[D$]=F0&67108863;return this.negative=1,this.strip()},$$.prototype._wordDiv=function(E$,T$){var Y=this.length-E$.length,f=this.clone(),D$=E$,F0=D$.words[D$.length-1]|0,C$=this._countBits(F0);Y=26-C$,Y!==0&&(D$=D$.ushln(Y),f.iushln(Y),F0=D$.words[D$.length-1]|0);var L$=f.length-D$.length,R$;if(T$!=="mod"){R$=new $$(null),R$.length=L$+1,R$.words=new Array(R$.length);for(var P$=0;P$<R$.length;P$++)R$.words[P$]=0}var z$=f.clone()._ishlnsubmul(D$,1,L$);z$.negative===0&&(f=z$,R$&&(R$.words[L$]=1));for(var M$=L$-1;M$>=0;M$--){var S$=(f.words[D$.length+M$]|0)*67108864+(f.words[D$.length+M$-1]|0);for(S$=Math.min(S$/F0|0,67108863),f._ishlnsubmul(D$,S$,M$);f.negative!==0;)S$--,f.negative=0,f._ishlnsubmul(D$,1,M$),f.isZero()||(f.negative^=1);R$&&(R$.words[M$]=S$)}return R$&&R$.strip(),f.strip(),T$!=="div"&&Y!==0&&f.iushrn(Y),{div:R$||null,mod:f}},$$.prototype.divmod=function(E$,T$,Y){if(r0(!E$.isZero()),this.isZero())return{div:new $$(0),mod:new $$(0)};var f,D$,F0;return this.negative!==0&&E$.negative===0?(F0=this.neg().divmod(E$,T$),T$!=="mod"&&(f=F0.div.neg()),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.iadd(E$)),{div:f,mod:D$}):this.negative===0&&E$.negative!==0?(F0=this.divmod(E$.neg(),T$),T$!=="mod"&&(f=F0.div.neg()),{div:f,mod:F0.mod}):(this.negative&E$.negative)!==0?(F0=this.neg().divmod(E$.neg(),T$),T$!=="div"&&(D$=F0.mod.neg(),Y&&D$.negative!==0&&D$.isub(E$)),{div:F0.div,mod:D$}):E$.length>this.length||this.cmp(E$)<0?{div:new $$(0),mod:this}:E$.length===1?T$==="div"?{div:this.divn(E$.words[0]),mod:null}:T$==="mod"?{div:null,mod:new $$(this.modn(E$.words[0]))}:{div:this.divn(E$.words[0]),mod:new $$(this.modn(E$.words[0]))}:this._wordDiv(E$,T$)},$$.prototype.div=function(E$){return this.divmod(E$,"div",!1).div},$$.prototype.mod=function(E$){return this.divmod(E$,"mod",!1).mod},$$.prototype.umod=function(E$){return this.divmod(E$,"mod",!0).mod},$$.prototype.divRound=function(E$){var T$=this.divmod(E$);if(T$.mod.isZero())return T$.div;var Y=T$.div.negative!==0?T$.mod.isub(E$):T$.mod,f=E$.ushrn(1),D$=E$.andln(1),F0=Y.cmp(f);return F0<0||D$===1&&F0===0?T$.div:T$.div.negative!==0?T$.div.isubn(1):T$.div.iaddn(1)},$$.prototype.modn=function(E$){r0(E$<=67108863);for(var T$=(1<<26)%E$,Y=0,f=this.length-1;f>=0;f--)Y=(T$*Y+(this.words[f]|0))%E$;return Y},$$.prototype.idivn=function(E$){r0(E$<=67108863);for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=(this.words[Y]|0)+T$*67108864;this.words[Y]=f/E$|0,T$=f%E$}return this.strip()},$$.prototype.divn=function(E$){return this.clone().idivn(E$)},$$.prototype.egcd=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=new $$(0),C$=new $$(1),L$=0;T$.isEven()&&Y.isEven();)T$.iushrn(1),Y.iushrn(1),++L$;for(var R$=Y.clone(),P$=T$.clone();!T$.isZero();){for(var z$=0,M$=1;(T$.words[0]&M$)===0&&z$<26;++z$,M$<<=1);if(z$>0)for(T$.iushrn(z$);z$-- >0;)(f.isOdd()||D$.isOdd())&&(f.iadd(R$),D$.isub(P$)),f.iushrn(1),D$.iushrn(1);for(var S$=0,Z=1;(Y.words[0]&Z)===0&&S$<26;++S$,Z<<=1);if(S$>0)for(Y.iushrn(S$);S$-- >0;)(F0.isOdd()||C$.isOdd())&&(F0.iadd(R$),C$.isub(P$)),F0.iushrn(1),C$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(F0),D$.isub(C$)):(Y.isub(T$),F0.isub(f),C$.isub(D$))}return{a:F0,b:C$,gcd:Y.iushln(L$)}},$$.prototype._invmp=function(E$){r0(E$.negative===0),r0(!E$.isZero());var T$=this,Y=E$.clone();T$.negative!==0?T$=T$.umod(E$):T$=T$.clone();for(var f=new $$(1),D$=new $$(0),F0=Y.clone();T$.cmpn(1)>0&&Y.cmpn(1)>0;){for(var C$=0,L$=1;(T$.words[0]&L$)===0&&C$<26;++C$,L$<<=1);if(C$>0)for(T$.iushrn(C$);C$-- >0;)f.isOdd()&&f.iadd(F0),f.iushrn(1);for(var R$=0,P$=1;(Y.words[0]&P$)===0&&R$<26;++R$,P$<<=1);if(R$>0)for(Y.iushrn(R$);R$-- >0;)D$.isOdd()&&D$.iadd(F0),D$.iushrn(1);T$.cmp(Y)>=0?(T$.isub(Y),f.isub(D$)):(Y.isub(T$),D$.isub(f))}var z$;return T$.cmpn(1)===0?z$=f:z$=D$,z$.cmpn(0)<0&&z$.iadd(E$),z$},$$.prototype.gcd=function(E$){if(this.isZero())return E$.abs();if(E$.isZero())return this.abs();var T$=this.clone(),Y=E$.clone();T$.negative=0,Y.negative=0;for(var f=0;T$.isEven()&&Y.isEven();f++)T$.iushrn(1),Y.iushrn(1);do{for(;T$.isEven();)T$.iushrn(1);for(;Y.isEven();)Y.iushrn(1);var D$=T$.cmp(Y);if(D$<0){var F0=T$;T$=Y,Y=F0}else if(D$===0||Y.cmpn(1)===0)break;T$.isub(Y)}while(!0);return Y.iushln(f)},$$.prototype.invm=function(E$){return this.egcd(E$).a.umod(E$)},$$.prototype.isEven=function(){return(this.words[0]&1)===0},$$.prototype.isOdd=function(){return(this.words[0]&1)===1},$$.prototype.andln=function(E$){return this.words[0]&E$},$$.prototype.bincn=function(E$){r0(typeof E$=="number");var T$=E$%26,Y=(E$-T$)/26,f=1<<T$;if(this.length<=Y)return this._expand(Y+1),this.words[Y]|=f,this;for(var D$=f,F0=Y;D$!==0&&F0<this.length;F0++){var C$=this.words[F0]|0;C$+=D$,D$=C$>>>26,C$&=67108863,this.words[F0]=C$}return D$!==0&&(this.words[F0]=D$,this.length++),this},$$.prototype.isZero=function(){return this.length===1&&this.words[0]===0},$$.prototype.cmpn=function(E$){var T$=E$<0;if(this.negative!==0&&!T$)return-1;if(this.negative===0&&T$)return 1;this.strip();var Y;if(this.length>1)Y=1;else{T$&&(E$=-E$),r0(E$<=67108863,"Number is too big");var f=this.words[0]|0;Y=f===E$?0:f<E$?-1:1}return this.negative!==0?-Y|0:Y},$$.prototype.cmp=function(E$){if(this.negative!==0&&E$.negative===0)return-1;if(this.negative===0&&E$.negative!==0)return 1;var T$=this.ucmp(E$);return this.negative!==0?-T$|0:T$},$$.prototype.ucmp=function(E$){if(this.length>E$.length)return 1;if(this.length<E$.length)return-1;for(var T$=0,Y=this.length-1;Y>=0;Y--){var f=this.words[Y]|0,D$=E$.words[Y]|0;if(f!==D$){f<D$?T$=-1:f>D$&&(T$=1);break}}return T$},$$.prototype.gtn=function(E$){return this.cmpn(E$)===1},$$.prototype.gt=function(E$){return this.cmp(E$)===1},$$.prototype.gten=function(E$){return this.cmpn(E$)>=0},$$.prototype.gte=function(E$){return this.cmp(E$)>=0},$$.prototype.ltn=function(E$){return this.cmpn(E$)===-1},$$.prototype.lt=function(E$){return this.cmp(E$)===-1},$$.prototype.lten=function(E$){return this.cmpn(E$)<=0},$$.prototype.lte=function(E$){return this.cmp(E$)<=0},$$.prototype.eqn=function(E$){return this.cmpn(E$)===0},$$.prototype.eq=function(E$){return this.cmp(E$)===0},$$.red=function(E$){return new H$(E$)},$$.prototype.toRed=function(E$){return r0(!this.red,"Already a number in reduction context"),r0(this.negative===0,"red works only with positives"),E$.convertTo(this)._forceRed(E$)},$$.prototype.fromRed=function(){return r0(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},$$.prototype._forceRed=function(E$){return this.red=E$,this},$$.prototype.forceRed=function(E$){return r0(!this.red,"Already a number in reduction context"),this._forceRed(E$)},$$.prototype.redAdd=function(E$){return r0(this.red,"redAdd works only with red numbers"),this.red.add(this,E$)},$$.prototype.redIAdd=function(E$){return r0(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,E$)},$$.prototype.redSub=function(E$){return r0(this.red,"redSub works only with red numbers"),this.red.sub(this,E$)},$$.prototype.redISub=function(E$){return r0(this.red,"redISub works only with red numbers"),this.red.isub(this,E$)},$$.prototype.redShl=function(E$){return r0(this.red,"redShl works only with red numbers"),this.red.shl(this,E$)},$$.prototype.redMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.mul(this,E$)},$$.prototype.redIMul=function(E$){return r0(this.red,"redMul works only with red numbers"),this.red._verify2(this,E$),this.red.imul(this,E$)},$$.prototype.redSqr=function(){return r0(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},$$.prototype.redISqr=function(){return r0(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},$$.prototype.redSqrt=function(){return r0(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},$$.prototype.redInvm=function(){return r0(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},$$.prototype.redNeg=function(){return r0(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},$$.prototype.redPow=function(E$){return r0(this.red&&!E$.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,E$)};var x={k256:null,p224:null,p192:null,p25519:null};function O$(E$,T$){this.name=E$,this.p=new $$(T$,16),this.n=this.p.bitLength(),this.k=new $$(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}O$.prototype._tmp=function(){var E$=new $$(null);return E$.words=new Array(Math.ceil(this.n/13)),E$},O$.prototype.ireduce=function(E$){var T$=E$,Y;do this.split(T$,this.tmp),T$=this.imulK(T$),T$=T$.iadd(this.tmp),Y=T$.bitLength();while(Y>this.n);var f=Y<this.n?-1:T$.ucmp(this.p);return f===0?(T$.words[0]=0,T$.length=1):f>0?T$.isub(this.p):T$.strip!==void 0?T$.strip():T$._strip(),T$},O$.prototype.split=function(E$,T$){E$.iushrn(this.n,0,T$)},O$.prototype.imulK=function(E$){return E$.imul(this.k)};function J0(){O$.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}i0(J0,O$),J0.prototype.split=function(E$,T$){for(var Y=4194303,f=Math.min(E$.length,9),D$=0;D$<f;D$++)T$.words[D$]=E$.words[D$];if(T$.length=f,E$.length<=9){E$.words[0]=0,E$.length=1;return}var F0=E$.words[9];for(T$.words[T$.length++]=F0&Y,D$=10;D$<E$.length;D$++){var C$=E$.words[D$]|0;E$.words[D$-10]=(C$&Y)<<4|F0>>>22,F0=C$}F0>>>=22,E$.words[D$-10]=F0,F0===0&&E$.length>10?E$.length-=10:E$.length-=9},J0.prototype.imulK=function(E$){E$.words[E$.length]=0,E$.words[E$.length+1]=0,E$.length+=2;for(var T$=0,Y=0;Y<E$.length;Y++){var f=E$.words[Y]|0;T$+=f*977,E$.words[Y]=T$&67108863,T$=f*64+(T$/67108864|0)}return E$.words[E$.length-1]===0&&(E$.length--,E$.words[E$.length-1]===0&&E$.length--),E$};function J$(){O$.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}i0(J$,O$);function F$(){O$.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}i0(F$,O$);function A$(){O$.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}i0(A$,O$),A$.prototype.imulK=function(E$){for(var T$=0,Y=0;Y<E$.length;Y++){var f=(E$.words[Y]|0)*19+T$,D$=f&67108863;f>>>=26,E$.words[Y]=D$,T$=f}return T$!==0&&(E$.words[E$.length++]=T$),E$},$$._prime=function(E$){if(x[E$])return x[E$];var T$;if(E$==="k256")T$=new J0;else if(E$==="p224")T$=new J$;else if(E$==="p192")T$=new F$;else if(E$==="p25519")T$=new A$;else throw new Error("Unknown prime "+E$);return x[E$]=T$,T$};function H$(E$){if(typeof E$=="string"){var T$=$$._prime(E$);this.m=T$.p,this.prime=T$}else r0(E$.gtn(1),"modulus must be greater than 1"),this.m=E$,this.prime=null}H$.prototype._verify1=function(E$){r0(E$.negative===0,"red works only with positives"),r0(E$.red,"red works only with red numbers")},H$.prototype._verify2=function(E$,T$){r0((E$.negative|T$.negative)===0,"red works only with positives"),r0(E$.red&&E$.red===T$.red,"red works only with red numbers")},H$.prototype.imod=function(E$){return this.prime?this.prime.ireduce(E$)._forceRed(this):E$.umod(this.m)._forceRed(this)},H$.prototype.neg=function(E$){return E$.isZero()?E$.clone():this.m.sub(E$)._forceRed(this)},H$.prototype.add=function(E$,T$){this._verify2(E$,T$);var Y=E$.add(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y._forceRed(this)},H$.prototype.iadd=function(E$,T$){this._verify2(E$,T$);var Y=E$.iadd(T$);return Y.cmp(this.m)>=0&&Y.isub(this.m),Y},H$.prototype.sub=function(E$,T$){this._verify2(E$,T$);var Y=E$.sub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y._forceRed(this)},H$.prototype.isub=function(E$,T$){this._verify2(E$,T$);var Y=E$.isub(T$);return Y.cmpn(0)<0&&Y.iadd(this.m),Y},H$.prototype.shl=function(E$,T$){return this._verify1(E$),this.imod(E$.ushln(T$))},H$.prototype.imul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.imul(T$))},H$.prototype.mul=function(E$,T$){return this._verify2(E$,T$),this.imod(E$.mul(T$))},H$.prototype.isqr=function(E$){return this.imul(E$,E$.clone())},H$.prototype.sqr=function(E$){return this.mul(E$,E$)},H$.prototype.sqrt=function(E$){if(E$.isZero())return E$.clone();var T$=this.m.andln(3);if(r0(T$%2===1),T$===3){var Y=this.m.add(new $$(1)).iushrn(2);return this.pow(E$,Y)}for(var f=this.m.subn(1),D$=0;!f.isZero()&&f.andln(1)===0;)D$++,f.iushrn(1);r0(!f.isZero());var F0=new $$(1).toRed(this),C$=F0.redNeg(),L$=this.m.subn(1).iushrn(1),R$=this.m.bitLength();for(R$=new $$(2*R$*R$).toRed(this);this.pow(R$,L$).cmp(C$)!==0;)R$.redIAdd(C$);for(var P$=this.pow(R$,f),z$=this.pow(E$,f.addn(1).iushrn(1)),M$=this.pow(E$,f),S$=D$;M$.cmp(F0)!==0;){for(var Z=M$,c=0;Z.cmp(F0)!==0;c++)Z=Z.redSqr();r0(c<S$);var v$=this.pow(P$,new $$(1).iushln(S$-c-1));z$=z$.redMul(v$),P$=v$.redSqr(),M$=M$.redMul(P$),S$=c}return z$},H$.prototype.invm=function(E$){var T$=E$._invmp(this.m);return T$.negative!==0?(T$.negative=0,this.imod(T$).redNeg()):this.imod(T$)},H$.prototype.pow=function(E$,T$){if(T$.isZero())return new $$(1).toRed(this);if(T$.cmpn(1)===0)return E$.clone();var Y=4,f=new Array(1<<Y);f[0]=new $$(1).toRed(this),f[1]=E$;for(var D$=2;D$<f.length;D$++)f[D$]=this.mul(f[D$-1],E$);var F0=f[0],C$=0,L$=0,R$=T$.bitLength()%26;for(R$===0&&(R$=26),D$=T$.length-1;D$>=0;D$--){for(var P$=T$.words[D$],z$=R$-1;z$>=0;z$--){var M$=P$>>z$&1;if(F0!==f[0]&&(F0=this.sqr(F0)),M$===0&&C$===0){L$=0;continue}C$<<=1,C$|=M$,L$++,!(L$!==Y&&(D$!==0||z$!==0))&&(F0=this.mul(F0,f[C$]),L$=0,C$=0)}R$=26}return F0},H$.prototype.convertTo=function(E$){var T$=E$.umod(this.m);return T$===E$?T$.clone():T$},H$.prototype.convertFrom=function(E$){var T$=E$.clone();return T$.red=null,T$},$$.mont=function(E$){return new W$(E$)};function W$(E$){H$.call(this,E$),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new $$(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}i0(W$,H$),W$.prototype.convertTo=function(E$){return this.imod(E$.ushln(this.shift))},W$.prototype.convertFrom=function(E$){var T$=this.imod(E$.mul(this.rinv));return T$.red=null,T$},W$.prototype.imul=function(E$,T$){if(E$.isZero()||T$.isZero())return E$.words[0]=0,E$.length=1,E$;var Y=E$.imul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.mul=function(E$,T$){if(E$.isZero()||T$.isZero())return new $$(0)._forceRed(this);var Y=E$.mul(T$),f=Y.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),D$=Y.isub(f).iushrn(this.shift),F0=D$;return D$.cmp(this.m)>=0?F0=D$.isub(this.m):D$.cmpn(0)<0&&(F0=D$.iadd(this.m)),F0._forceRed(this)},W$.prototype.invm=function(E$){var T$=this.imod(E$._invmp(this.m).mul(this.r2));return T$._forceRed(this)}})(typeof m0>"u"||m0,t0)}}),{CryptoHasher:AZ}=globalThis.Bun,b0=pQ({"node_modules/public-encrypt/withPublic.js"(t0,m0){var a0=$0(),e0=cQ().Buffer;function r0(i0,$$){return e0.from(i0.toRed(a0.mont($$.modulus)).redPow(new a0($$.publicExponent)).fromRed().toArray())}m0.exports=r0}}),HZ=pQ({"node_modules/public-encrypt/publicEncrypt.js"(t0,m0){var a0=d0(),e0=hQ(),r0=w(),i0=FZ(),$$=z(),Q$=$0(),$=b0(),N=qY(),Y$=cQ().Buffer;m0.exports=function(V$,U$,X$){var K$;V$.padding?K$=V$.padding:X$?K$=1:K$=4;var I$=a0(V$),Q;if(K$===4)Q=O0(I$,U$);else if(K$===1)Q=Z$(I$,U$,X$);else if(K$===3){if(Q=new Q$(U$),Q.cmp(I$.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return X$?N(Q,I$):$(Q,I$)};function O0(V$,U$){var X$=V$.modulus.byteLength(),K$=U$.length,I$=r0("sha1").update(Y$.alloc(0)).digest(),Q=I$.length,x=2*Q;if(K$>X$-x-2)throw new Error("message too long");var O$=Y$.alloc(X$-K$-x-2),J0=X$-Q-1,J$=e0(Q),F$=$$(Y$.concat([I$,O$,Y$.alloc(1,1),U$],J0),i0(J$,J0)),A$=$$(J$,i0(F$,Q));return new Q$(Y$.concat([Y$.alloc(1),A$,F$],X$))}function Z$(V$,U$,X$){var K$=U$.length,I$=V$.modulus.byteLength();if(K$>I$-11)throw new Error("message too long");var Q;return X$?Q=Y$.alloc(I$-K$-3,255):Q=G$(I$-K$-3),new Q$(Y$.concat([Y$.from([0,X$?1:2]),Q,Y$.alloc(1),U$],I$))}function G$(V$){for(var U$=Y$.allocUnsafe(V$),X$=0,K$=e0(V$*2),I$=0,Q;X$<V$;)I$===K$.length&&(K$=e0(V$*2),I$=0),Q=K$[I$++],Q&&(U$[X$++]=Q);return U$}}}),WZ=pQ({"node_modules/public-encrypt/privateDecrypt.js"(t0,m0){var a0=d0(),e0=FZ(),r0=z(),i0=$0(),$$=qY(),Q$=w(),$=b0(),N=cQ().Buffer;m0.exports=function(G$,V$,U$){var X$;G$.padding?X$=G$.padding:U$?X$=1:X$=4;var K$=a0(G$),I$=K$.modulus.byteLength();if(V$.length>I$||new i0(V$).cmp(K$.modulus)>=0)throw new Error("decryption error");var Q;U$?Q=$(new i0(V$),K$):Q=$$(V$,K$);var x=N.alloc(I$-Q.length);if(Q=N.concat([x,Q],I$),X$===4)return Y$(K$,Q);if(X$===1)return O0(K$,Q,U$);if(X$===3)return Q;throw new Error("unknown padding")};function Y$(G$,V$){var U$=G$.modulus.byteLength(),X$=Q$("sha1").update(N.alloc(0)).digest(),K$=X$.length;if(V$[0]!==0)throw new Error("decryption error");var I$=V$.slice(1,K$+1),Q=V$.slice(K$+1),x=r0(I$,e0(Q,K$)),O$=r0(Q,e0(x,U$-K$-1));if(Z$(X$,O$.slice(0,K$)))throw new Error("decryption error");for(var J0=K$;O$[J0]===0;)J0++;if(O$[J0++]!==1)throw new Error("decryption error");return O$.slice(J0)}function O0(G$,V$,U$){for(var X$=V$.slice(0,2),K$=2,I$=0;V$[K$++]!==0;)if(K$>=V$.length){I$++;break}var Q=V$.slice(2,K$-1);if((X$.toString("hex")!=="0002"&&!U$||X$.toString("hex")!=="0001"&&U$)&&I$++,Q.length<8&&I$++,I$)throw new Error("decryption error");return V$.slice(K$)}function Z$(G$,V$){G$=N.from(G$),V$=N.from(V$);var U$=0,X$=G$.length;G$.length!==V$.length&&(U$++,X$=Math.min(G$.length,V$.length));for(var K$=-1;++K$<X$;)U$+=G$[K$]^V$[K$];return U$}}}),EZ=pQ({"node_modules/public-encrypt/browser.js"(t0){t0.publicEncrypt=HZ(),t0.privateDecrypt=WZ(),t0.privateEncrypt=function(m0,a0){return t0.publicEncrypt(m0,a0,!0)},t0.publicDecrypt=function(m0,a0){return t0.privateDecrypt(m0,a0,!0)}}}),TZ=pQ({"node_modules/randomfill/browser.js"(t0){var m0=cQ(),a0=hQ(),e0=m0.Buffer,r0=m0.kMaxLength,i0=Math.pow(2,32)-1;function $$(O0,Z$){if(typeof O0!="number"||O0!==O0)throw new TypeError("offset must be a number");if(O0>i0||O0<0)throw new TypeError("offset must be a uint32");if(O0>r0||O0>Z$)throw new RangeError("offset out of range")}function Q$(O0,Z$,G$){if(typeof O0!="number"||O0!==O0)throw new TypeError("size must be a number");if(O0>i0||O0<0)throw new TypeError("size must be a uint32");if(O0+Z$>G$||O0>r0)throw new RangeError("buffer too small")}t0.randomFill=$,t0.randomFillSync=Y$;function $(O0,Z$,G$,V$){if(!e0.isBuffer(O0)&&!(O0 instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof Z$=="function")V$=Z$,Z$=0,G$=O0.length;else if(typeof G$=="function")V$=G$,G$=O0.length-Z$;else if(typeof V$!="function")throw new TypeError('"cb" argument must be a function');return $$(Z$,O0.length),Q$(G$,Z$,O0.length),N(O0,Z$,G$,V$)}function N(O0,Z$,G$,V$){if(V$){a0(G$,function(X$,K$){if(X$)return V$(X$);K$.copy(O0,Z$),V$(null,O0)});return}var U$=a0(G$);return U$.copy(O0,Z$),O0}function Y$(O0,Z$,G$){if(typeof Z$>"u"&&(Z$=0),!e0.isBuffer(O0)&&!(O0 instanceof global.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return $$(Z$,O0.length),G$===void 0&&(G$=O0.length-Z$),Q$(G$,Z$,O0.length),N(O0,Z$,G$)}}}),DZ=pQ({"node_modules/crypto-browserify/index.js"(t0){t0.randomBytes=t0.rng=t0.pseudoRandomBytes=t0.prng=hQ(),t0.createHash=w(),t0.Hash=t0.createHash.Hash,t0.createHmac=t0.Hmac=aQ();var m0=rQ(),a0=Object.keys(m0),e0=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(a0);t0.getHashes=function(){return e0};var r0=u();t0.pbkdf2=r0.pbkdf2,t0.pbkdf2Sync=r0.pbkdf2Sync;var i0=LY();t0.Cipher=i0.Cipher,t0.createCipher=i0.createCipher,t0.Cipheriv=i0.Cipheriv,t0.createCipheriv=i0.createCipheriv,t0.Decipher=i0.Decipher,t0.createDecipher=i0.createDecipher,t0.Decipheriv=i0.Decipheriv,t0.createDecipheriv=i0.createDecipheriv,t0.getCiphers=i0.getCiphers,t0.listCiphers=i0.listCiphers;var $$=SY();t0.DiffieHellmanGroup=$$.DiffieHellmanGroup,t0.createDiffieHellmanGroup=$$.createDiffieHellmanGroup,t0.getDiffieHellman=$$.getDiffieHellman,t0.createDiffieHellman=$$.createDiffieHellman,t0.DiffieHellman=$$.DiffieHellman;var Q$=IZ();t0.createSign=Q$.createSign,t0.Sign=Q$.Sign,t0.createVerify=Q$.createVerify,t0.Verify=Q$.Verify,t0.createECDH=JZ();var $=EZ();t0.publicEncrypt=$.publicEncrypt,t0.privateEncrypt=$.privateEncrypt,t0.publicDecrypt=$.publicDecrypt,t0.privateDecrypt=$.privateDecrypt,t0.getRandomValues=(Y$)=>qQ.getRandomValues(Y$);var N=TZ();t0.randomFill=N.randomFill,t0.randomFillSync=N.randomFillSync,t0.createCredentials=function(){throw new Error(["sorry, createCredentials is not implemented yet","we accept pull requests","https://github.com/crypto-browserify/crypto-browserify"].join(`
+`))},t0.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}}}),CZ={...DZ(),[Symbol.for("CommonJS")]:0},gQ="buffer",LZ=(t0)=>qQ.getRandomValues(t0),M=()=>qQ.randomUUID(),p=(...t0)=>qQ.randomInt(...t0),_Q="timingSafeEqual"in qQ?(t0,m0)=>{let{byteLength:a0}=t0,{byteLength:e0}=m0;if(typeof a0!="number"||typeof e0!="number")throw new TypeError("Input must be an array buffer view");if(a0!==e0)throw new RangeError("Input buffers must have the same length");return qQ.timingSafeEqual(t0,m0)}:void 0,U0="scryptSync"in qQ?(t0,m0,a0,e0)=>{let r0=qQ.scryptSync(t0,m0,a0,e0);return gQ!=="buffer"?new G0(r0).toString(gQ):new G0(r0)}:void 0,X0="scryptSync"in qQ?function(t0,m0,a0,e0,r0){if(typeof e0=="function"&&(r0=e0,e0=void 0),typeof r0!="function"){var i0=new TypeError("callback must be a function");throw i0.code="ERR_INVALID_CALLBACK",i0}try{let $$=qQ.scryptSync(t0,m0,a0,e0);process.nextTick(r0,null,gQ!=="buffer"?new G0($$).toString(gQ):new G0($$))}catch($$){throw $$}}:void 0;_Q&&(Object.defineProperty(_Q,"name",{value:"::bunternal::"}),Object.defineProperty(X0,"name",{value:"::bunternal::"}),Object.defineProperty(U0,"name",{value:"::bunternal::"}));var RZ=["p192","p224","p256","p384","p521","curve25519","ed25519","secp256k1","secp224r1","prime256v1","prime192v1","ed25519","secp384r1","secp521r1"],NQ=qQ;fQ(CZ,{DEFAULT_ENCODING:()=>gQ,getRandomValues:()=>LZ,randomUUID:()=>M,randomInt:()=>p,getCurves:()=>PZ,scrypt:()=>X0,scryptSync:()=>U0,timingSafeEqual:()=>_Q,webcrypto:()=>NQ,subtle:()=>NQ.subtle});var{randomBytes:zZ,rng:MZ,pseudoRandomBytes:SZ,prng:vZ,Hash:qZ,createHash:S,createHmac:k,Hmac:s0,getHashes:l0,pbkdf2:jZ,pbkdf2Sync:kZ,Cipher:gZ,createCipher:_Z,Cipheriv:NZ,createCipheriv:xZ,Decipher:BZ,createDecipher:v,Decipheriv:Q0,createDecipheriv:o0,getCiphers:u0,listCiphers:yZ,DiffieHellmanGroup:wZ,createDiffieHellmanGroup:pZ,getDiffieHellman:fZ,createDiffieHellman:cZ,DiffieHellman:hZ,createSign:dZ,Sign:q,createVerify:Y0,Verify:K0,createECDH:n0,publicEncrypt:bZ,privateEncrypt:lZ,publicDecrypt:oZ,privateDecrypt:uZ,randomFill:nZ,randomFillSync:sZ,createCredentials:tZ,constants:j}=CZ;var I0=CZ;/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */export{NQ as webcrypto,_Q as timingSafeEqual,U0 as scryptSync,X0 as scrypt,MZ as rng,M as randomUUID,p as randomInt,sZ as randomFillSync,nZ as randomFill,zZ as randomBytes,bZ as publicEncrypt,oZ as publicDecrypt,SZ as pseudoRandomBytes,vZ as prng,lZ as privateEncrypt,uZ as privateDecrypt,kZ as pbkdf2Sync,jZ as pbkdf2,yZ as listCiphers,LZ as getRandomValues,l0 as getHashes,fZ as getDiffieHellman,PZ as getCurves,u0 as getCiphers,I0 as default,Y0 as createVerify,dZ as createSign,k as createHmac,S as createHash,n0 as createECDH,pZ as createDiffieHellmanGroup,cZ as createDiffieHellman,o0 as createDecipheriv,v as createDecipher,tZ as createCredentials,xZ as createCipheriv,_Z as createCipher,j as constants,K0 as Verify,q as Sign,s0 as Hmac,qZ as Hash,wZ as DiffieHellmanGroup,hZ as DiffieHellman,Q0 as Decipheriv,BZ as Decipher,gQ as DEFAULT_ENCODING,NZ as Cipheriv,gZ as Cipher};
diff --git a/src/js/out/modules/node/stream.js b/src/js/out/modules/node/stream.js
index 0497ffd82..06727e66e 100644
--- a/src/js/out/modules/node/stream.js
+++ b/src/js/out/modules/node/stream.js
@@ -1,2 +1,2 @@
-import{EventEmitter as Iq} from"bun:events_native";import{StringDecoder as aq} from"node:string_decoder";var tq=function(a){return typeof a==="object"&&a!==null&&a instanceof ReadableStream},eq=function(a,j){if(typeof a!=="boolean")throw new qQ(j,"boolean",a)};var qQ=function(a,j,B){return new Error(`The argument '${a}' is invalid. Received '${B}' for type '${j}'`)},QQ=function(a,j,B){return new Error(`The value '${j}' is invalid for argument '${a}'. Reason: ${B}`)},YQ=function(a,j){var[B,G,y,A,M,R,P]=globalThis[Symbol.for("Bun.lazy")](a),g=[!1],k=function(E,I,Z,U){if(I>0){const T=Z.subarray(0,I),_=Z.subarray(I);if(T.byteLength>0)E.push(T);if(U)E.push(null);return _.byteLength>0?_:void 0}if(U)E.push(null);return Z},c=function(E,I,Z,U){if(I.byteLength>0)E.push(I);if(U)E.push(null);return Z},O=process.env.BUN_DISABLE_DYNAMIC_CHUNK_SIZE!=="1";const l=new FinalizationRegistry((E)=>E&&M(E)),D=512;var p=class E extends j{#q;#Q=1;#X=!1;#H=void 0;#J;#K=!1;#Z=!O;#B;constructor(I,Z={}){super(Z);if(typeof Z.highWaterMark==="number")this.#J=Z.highWaterMark;else this.#J=262144;this.#q=I,this.#X=!1,this.#H=void 0,this.#K=!1,this.#B={},l.register(this,this.#q,this.#B)}_read(I){if(this.#K)return;var Z=this.#q;if(Z===0){this.push(null);return}if(!this.#X)this.#$(Z);return this.#V(this.#z(I),Z)}#$(I){this.#X=!0;const Z=G(I,this.#J);if(typeof Z==="number"&&Z>1)this.#Z=!0,this.#J=Math.min(this.#J,Z);if(P){const U=P(I);if((U?.byteLength??0)>0)this.push(U)}}#z(I=this.#J){var Z=this.#H;if(Z?.byteLength??0<D){var U=I>D?I:D;this.#H=Z=new Buffer(U)}return Z}push(I,Z){return super.push(...arguments)}#Y(I,Z,U){if(typeof I==="number"){if(I>=this.#J&&!this.#Z&&!U)this.#J*=2,this.#Z=!0;return k(this,I,Z,U)}else if(typeof I==="boolean")return this.push(null),Z?.byteLength??0>0?Z:void 0;else if(ArrayBuffer.isView(I)){if(I.byteLength>=this.#J&&!this.#Z&&!U)this.#J*=2,this.#Z=!0;return c(this,I,Z,U)}else throw new Error("Invalid result from pull")}#V(I,Z){g[0]=!1;var U=B(Z,I,g);if(xq(U))return this.#K=!0,U.then((T)=>{this.#K=!1,this.#H=this.#Y(T,I,g[0])},(T)=>{errorOrDestroy(this,T)});else this.#H=this.#Y(U,I,g[0])}_destroy(I,Z){var U=this.#q;if(U===0){Z(I);return}if(l.unregister(this.#B),this.#q=0,R)R(U,!1);y(U,I),Z(I)}ref(){var I=this.#q;if(I===0)return;if(this.#Q++===0)R(I,!0)}unref(){var I=this.#q;if(I===0)return;if(this.#Q--===1)R(I,!1)}};if(!R)p.prototype.ref=void 0,p.prototype.unref=void 0;return p},lq=function(a,j){return $Q[a]||=YQ(a,j)},zQ=function(a,j,B){if(!(j&&typeof j==="object"&&j instanceof ReadableStream))return;const G=sq(j);if(!G){Gq("no native readable stream");return}const{stream:y,data:A}=G;return new(lq(A,a))(y,B)};var Gq=()=>{},{isPromise:xq,isCallable:oq,direct:sq,Object:zq}=globalThis[Symbol.for("Bun.lazy")]("primordials"),GQ=zq.create,MQ=zq.defineProperty,FQ=zq.getOwnPropertyDescriptor,rq=zq.getOwnPropertyNames,LQ=zq.getPrototypeOf,jQ=zq.prototype.hasOwnProperty,NQ=zq.setPrototypeOf,Bq=(a,j)=>function B(){return j||(0,a[rq(a)[0]])((j={exports:{}}).exports,j),j.exports};var Xq=process.nextTick;var AQ=Array.isArray,Vq=Bq({"node_modules/readable-stream/lib/ours/primordials.js"(a,j){j.exports={ArrayIsArray(B){return Array.isArray(B)},ArrayPrototypeIncludes(B,G){return B.includes(G)},ArrayPrototypeIndexOf(B,G){return B.indexOf(G)},ArrayPrototypeJoin(B,G){return B.join(G)},ArrayPrototypeMap(B,G){return B.map(G)},ArrayPrototypePop(B,G){return B.pop(G)},ArrayPrototypePush(B,G){return B.push(G)},ArrayPrototypeSlice(B,G,y){return B.slice(G,y)},Error,FunctionPrototypeCall(B,G,...y){return B.call(G,...y)},FunctionPrototypeSymbolHasInstance(B,G){return Function.prototype[Symbol.hasInstance].call(B,G)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(B,G){return zq.defineProperties(B,G)},ObjectDefineProperty(B,G,y){return zq.defineProperty(B,G,y)},ObjectGetOwnPropertyDescriptor(B,G){return zq.getOwnPropertyDescriptor(B,G)},ObjectKeys(B){return zq.keys(B)},ObjectSetPrototypeOf(B,G){return zq.setPrototypeOf(B,G)},Promise,PromisePrototypeCatch(B,G){return B.catch(G)},PromisePrototypeThen(B,G,y){return B.then(G,y)},PromiseReject(B){return Promise.reject(B)},ReflectApply:Reflect.apply,RegExpPrototypeTest(B,G){return B.test(G)},SafeSet:Set,String,StringPrototypeSlice(B,G,y){return B.slice(G,y)},StringPrototypeToLowerCase(B){return B.toLowerCase()},StringPrototypeToUpperCase(B){return B.toUpperCase()},StringPrototypeTrim(B){return B.trim()},Symbol,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet(B,G,y){return B.set(G,y)},Uint8Array}}}),Aq=Bq({"node_modules/readable-stream/lib/ours/util.js"(a,j){var B=zq.getPrototypeOf(async function(){}).constructor,G=typeof Blob!=="undefined"?function A(M){return M instanceof Blob}:function A(M){return!1},y=class extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let R=0;R<A.length;R++)M+=` ${A[R].stack}
-`;super(M);this.name="AggregateError",this.errors=A}};j.exports={AggregateError:y,once(A){let M=!1;return function(...R){if(M)return;M=!0,A.apply(this,R)}},createDeferredPromise:function(){let A,M;return{promise:new Promise((P,g)=>{A=P,M=g}),resolve:A,reject:M}},promisify(A){return new Promise((M,R)=>{A((P,...g)=>{if(P)return R(P);return M(...g)})})},debuglog(){return function(){}},format(A,...M){return A.replace(/%([sdifj])/g,function(...[R,P]){const g=M.shift();if(P==="f")return g.toFixed(6);else if(P==="j")return JSON.stringify(g);else if(P==="s"&&typeof g==="object")return`${g.constructor!==zq?g.constructor.name:""} {}`.trim();else return g.toString()})},inspect(A){switch(typeof A){case"string":if(A.includes("'")){if(!A.includes('"'))return`"${A}"`;else if(!A.includes("`")&&!A.includes("${"))return`\`${A}\``}return`'${A}'`;case"number":if(isNaN(A))return"NaN";else if(zq.is(A,-0))return String(A);return A;case"bigint":return`${String(A)}n`;case"boolean":case"undefined":return String(A);case"object":return"{}"}},types:{isAsyncFunction(A){return A instanceof B},isArrayBufferView(A){return ArrayBuffer.isView(A)}},isBlob:G},j.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}}),Wq=Bq({"node_modules/readable-stream/lib/ours/errors.js"(a,j){var{format:B,inspect:G,AggregateError:y}=Aq(),A=globalThis.AggregateError||y,M=Symbol("kIsNodeError"),R=["string","function","number","object","Function","Object","boolean","bigint","symbol"],P=/^([A-Z][a-z0-9]*)+$/,g="__node_internal_",k={};function c(Z,U){if(!Z)throw new k.ERR_INTERNAL_ASSERTION(U)}function O(Z){let U="",T=Z.length;const _=Z[0]==="-"?1:0;for(;T>=_+4;T-=3)U=`_${Z.slice(T-3,T)}${U}`;return`${Z.slice(0,T)}${U}`}function l(Z,U,T){if(typeof U==="function")return c(U.length<=T.length,`Code: ${Z}; The provided arguments length (${T.length}) does not match the required ones (${U.length}).`),U(...T);const _=(U.match(/%[dfijoOs]/g)||[]).length;if(c(_===T.length,`Code: ${Z}; The provided arguments length (${T.length}) does not match the required ones (${_}).`),T.length===0)return U;return B(U,...T)}function D(Z,U,T){if(!T)T=Error;class _ extends T{constructor(...t){super(l(Z,U,t))}toString(){return`${this.name} [${Z}]: ${this.message}`}}zq.defineProperties(_.prototype,{name:{value:T.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${Z}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),_.prototype.code=Z,_.prototype[M]=!0,k[Z]=_}function p(Z){const U=g+Z.name;return zq.defineProperty(Z,"name",{value:U}),Z}function E(Z,U){if(Z&&U&&Z!==U){if(Array.isArray(U.errors))return U.errors.push(Z),U;const T=new A([U,Z],U.message);return T.code=U.code,T}return Z||U}var I=class extends Error{constructor(Z="The operation was aborted",U=void 0){if(U!==void 0&&typeof U!=="object")throw new k.ERR_INVALID_ARG_TYPE("options","Object",U);super(Z,U);this.code="ABORT_ERR",this.name="AbortError"}};D("ERR_ASSERTION","%s",Error),D("ERR_INVALID_ARG_TYPE",(Z,U,T)=>{if(c(typeof Z==="string","'name' must be a string"),!Array.isArray(U))U=[U];let _="The ";if(Z.endsWith(" argument"))_+=`${Z} `;else _+=`"${Z}" ${Z.includes(".")?"property":"argument"} `;_+="must be ";const t=[],i=[],$=[];for(let Y of U)if(c(typeof Y==="string","All expected entries have to be of type string"),R.includes(Y))t.push(Y.toLowerCase());else if(P.test(Y))i.push(Y);else c(Y!=="object",'The value "object" should be written as "Object"'),$.push(Y);if(i.length>0){const Y=t.indexOf("object");if(Y!==-1)t.splice(t,Y,1),i.push("Object")}if(t.length>0){switch(t.length){case 1:_+=`of type ${t[0]}`;break;case 2:_+=`one of type ${t[0]} or ${t[1]}`;break;default:{const Y=t.pop();_+=`one of type ${t.join(", ")}, or ${Y}`}}if(i.length>0||$.length>0)_+=" or "}if(i.length>0){switch(i.length){case 1:_+=`an instance of ${i[0]}`;break;case 2:_+=`an instance of ${i[0]} or ${i[1]}`;break;default:{const Y=i.pop();_+=`an instance of ${i.join(", ")}, or ${Y}`}}if($.length>0)_+=" or "}switch($.length){case 0:break;case 1:if($[0].toLowerCase()!==$[0])_+="an ";_+=`${$[0]}`;break;case 2:_+=`one of ${$[0]} or ${$[1]}`;break;default:{const Y=$.pop();_+=`one of ${$.join(", ")}, or ${Y}`}}if(T==null)_+=`. Received ${T}`;else if(typeof T==="function"&&T.name)_+=`. Received function ${T.name}`;else if(typeof T==="object"){var n;if((n=T.constructor)!==null&&n!==void 0&&n.name)_+=`. Received an instance of ${T.constructor.name}`;else{const Y=G(T,{depth:-1});_+=`. Received ${Y}`}}else{let Y=G(T,{colors:!1});if(Y.length>25)Y=`${Y.slice(0,25)}...`;_+=`. Received type ${typeof T} (${Y})`}return _},TypeError),D("ERR_INVALID_ARG_VALUE",(Z,U,T="is invalid")=>{let _=G(U);if(_.length>128)_=_.slice(0,128)+"...";return`The ${Z.includes(".")?"property":"argument"} '${Z}' ${T}. Received ${_}`},TypeError),D("ERR_INVALID_RETURN_VALUE",(Z,U,T)=>{var _;const t=T!==null&&T!==void 0&&(_=T.constructor)!==null&&_!==void 0&&_.name?`instance of ${T.constructor.name}`:`type ${typeof T}`;return`Expected ${Z} to be returned from the "${U}" function but got ${t}.`},TypeError),D("ERR_MISSING_ARGS",(...Z)=>{c(Z.length>0,"At least one arg needs to be specified");let U;const T=Z.length;switch(Z=(Array.isArray(Z)?Z:[Z]).map((_)=>`"${_}"`).join(" or "),T){case 1:U+=`The ${Z[0]} argument`;break;case 2:U+=`The ${Z[0]} and ${Z[1]} arguments`;break;default:{const _=Z.pop();U+=`The ${Z.join(", ")}, and ${_} arguments`}break}return`${U} must be specified`},TypeError),D("ERR_OUT_OF_RANGE",(Z,U,T)=>{c(U,'Missing "range" argument');let _;if(Number.isInteger(T)&&Math.abs(T)>4294967296)_=O(String(T));else if(typeof T==="bigint"){if(_=String(T),T>2n**32n||T<-(2n**32n))_=O(_);_+="n"}else _=G(T);return`The value of "${Z}" is out of range. It must be ${U}. Received ${_}`},RangeError),D("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),D("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),D("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),D("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),D("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),D("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),D("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),D("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),D("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),D("ERR_STREAM_WRITE_AFTER_END","write after end",Error),D("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),j.exports={AbortError:I,aggregateTwoErrors:p(E),hideStackFrames:p,codes:k}}}),Cq=Bq({"node_modules/readable-stream/lib/internal/validators.js"(a,j){var{ArrayIsArray:B,ArrayPrototypeIncludes:G,ArrayPrototypeJoin:y,ArrayPrototypeMap:A,NumberIsInteger:M,NumberMAX_SAFE_INTEGER:R,NumberMIN_SAFE_INTEGER:P,NumberParseInt:g,RegExpPrototypeTest:k,String:c,StringPrototypeToUpperCase:O,StringPrototypeTrim:l}=Vq(),{hideStackFrames:D,codes:{ERR_SOCKET_BAD_PORT:p,ERR_INVALID_ARG_TYPE:E,ERR_INVALID_ARG_VALUE:I,ERR_OUT_OF_RANGE:Z,ERR_UNKNOWN_SIGNAL:U}}=Wq(),{normalizeEncoding:T}=Aq(),{isAsyncFunction:_,isArrayBufferView:t}=Aq().types,i={};function $(V){return V===(V|0)}function n(V){return V===V>>>0}var Y=/^[0-7]+$/,K="must be a 32-bit unsigned integer or an octal string";function F(V,h,Q){if(typeof V==="undefined")V=Q;if(typeof V==="string"){if(!k(Y,V))throw new I(h,V,K);V=g(V,8)}return u(V,h,0,4294967295),V}var m=D((V,h,Q=P,H=R)=>{if(typeof V!=="number")throw new E(h,"number",V);if(!M(V))throw new Z(h,"an integer",V);if(V<Q||V>H)throw new Z(h,`>= ${Q} && <= ${H}`,V)}),u=D((V,h,Q=-2147483648,H=2147483647)=>{if(typeof V!=="number")throw new E(h,"number",V);if(!$(V)){if(!M(V))throw new Z(h,"an integer",V);throw new Z(h,`>= ${Q} && <= ${H}`,V)}if(V<Q||V>H)throw new Z(h,`>= ${Q} && <= ${H}`,V)}),J=D((V,h,Q)=>{if(typeof V!=="number")throw new E(h,"number",V);if(!n(V)){if(!M(V))throw new Z(h,"an integer",V);throw new Z(h,`>= ${Q?1:0} && < 4294967296`,V)}if(Q&&V===0)throw new Z(h,">= 1 && < 4294967296",V)});function z(V,h){if(typeof V!=="string")throw new E(h,"string",V)}function w(V,h){if(typeof V!=="number")throw new E(h,"number",V)}var S=D((V,h,Q)=>{if(!G(Q,V)){const L="must be one of: "+y(A(Q,(d)=>typeof d==="string"?`'${d}'`:c(d)),", ");throw new I(h,V,L)}});function N(V,h){if(typeof V!=="boolean")throw new E(h,"boolean",V)}var W=D((V,h,Q)=>{const H=Q==null,L=H?!1:Q.allowArray,d=H?!1:Q.allowFunction;if(!(H?!1:Q.nullable)&&V===null||!L&&B(V)||typeof V!=="object"&&(!d||typeof V!=="function"))throw new E(h,"Object",V)}),b=D((V,h,Q=0)=>{if(!B(V))throw new E(h,"Array",V);if(V.length<Q){const H=`must be longer than ${Q}`;throw new I(h,V,H)}});function o(V,h="signal"){if(z(V,h),i[V]===void 0){if(i[O(V)]!==void 0)throw new U(V+" (signals must use all capital letters)");throw new U(V)}}var s=D((V,h="buffer")=>{if(!t(V))throw new E(h,["Buffer","TypedArray","DataView"],V)});function e(V,h){const Q=T(h),H=V.length;if(Q==="hex"&&H%2!==0)throw new I("encoding",h,`is invalid for data of length ${H}`)}function Hq(V,h="Port",Q=!0){if(typeof V!=="number"&&typeof V!=="string"||typeof V==="string"&&l(V).length===0||+V!==+V>>>0||V>65535||V===0&&!Q)throw new p(h,V,Q);return V|0}var $q=D((V,h)=>{if(V!==void 0&&(V===null||typeof V!=="object"||!("aborted"in V)))throw new E(h,"AbortSignal",V)}),qq=D((V,h)=>{if(typeof V!=="function")throw new E(h,"Function",V)}),Kq=D((V,h)=>{if(typeof V!=="function"||_(V))throw new E(h,"Function",V)}),Qq=D((V,h)=>{if(V!==void 0)throw new E(h,"undefined",V)});j.exports={isInt32:$,isUint32:n,parseFileMode:F,validateArray:b,validateBoolean:N,validateBuffer:s,validateEncoding:e,validateFunction:qq,validateInt32:u,validateInteger:m,validateNumber:w,validateObject:W,validateOneOf:S,validatePlainFunction:Kq,validatePort:Hq,validateSignalName:o,validateString:z,validateUint32:J,validateUndefined:Qq,validateAbortSignal:$q}}}),Eq=Bq({"node_modules/readable-stream/lib/internal/streams/utils.js"(a,j){var{Symbol:B,SymbolAsyncIterator:G,SymbolIterator:y}=Vq(),A=B("kDestroyed"),M=B("kIsErrored"),R=B("kIsReadable"),P=B("kIsDisturbed");function g(J,z=!1){var w;return!!(J&&typeof J.pipe==="function"&&typeof J.on==="function"&&(!z||typeof J.pause==="function"&&typeof J.resume==="function")&&(!J._writableState||((w=J._readableState)===null||w===void 0?void 0:w.readable)!==!1)&&(!J._writableState||J._readableState))}function k(J){var z;return!!(J&&typeof J.write==="function"&&typeof J.on==="function"&&(!J._readableState||((z=J._writableState)===null||z===void 0?void 0:z.writable)!==!1))}function c(J){return!!(J&&typeof J.pipe==="function"&&J._readableState&&typeof J.on==="function"&&typeof J.write==="function")}function O(J){return J&&(J._readableState||J._writableState||typeof J.write==="function"&&typeof J.on==="function"||typeof J.pipe==="function"&&typeof J.on==="function")}function l(J,z){if(J==null)return!1;if(z===!0)return typeof J[G]==="function";if(z===!1)return typeof J[y]==="function";return typeof J[G]==="function"||typeof J[y]==="function"}function D(J){if(!O(J))return null;const{_writableState:z,_readableState:w}=J,S=z||w;return!!(J.destroyed||J[A]||S!==null&&S!==void 0&&S.destroyed)}function p(J){if(!k(J))return null;if(J.writableEnded===!0)return!0;const z=J._writableState;if(z!==null&&z!==void 0&&z.errored)return!1;if(typeof(z===null||z===void 0?void 0:z.ended)!=="boolean")return null;return z.ended}function E(J,z){if(!k(J))return null;if(J.writableFinished===!0)return!0;const w=J._writableState;if(w!==null&&w!==void 0&&w.errored)return!1;if(typeof(w===null||w===void 0?void 0:w.finished)!=="boolean")return null;return!!(w.finished||z===!1&&w.ended===!0&&w.length===0)}function I(J){if(!g(J))return null;if(J.readableEnded===!0)return!0;const z=J._readableState;if(!z||z.errored)return!1;if(typeof(z===null||z===void 0?void 0:z.ended)!=="boolean")return null;return z.ended}function Z(J,z){if(!g(J))return null;const w=J._readableState;if(w!==null&&w!==void 0&&w.errored)return!1;if(typeof(w===null||w===void 0?void 0:w.endEmitted)!=="boolean")return null;return!!(w.endEmitted||z===!1&&w.ended===!0&&w.length===0)}function U(J){if(J&&J[R]!=null)return J[R];if(typeof(J===null||J===void 0?void 0:J.readable)!=="boolean")return null;if(D(J))return!1;return g(J)&&J.readable&&!Z(J)}function T(J){if(typeof(J===null||J===void 0?void 0:J.writable)!=="boolean")return null;if(D(J))return!1;return k(J)&&J.writable&&!p(J)}function _(J,z){if(!O(J))return null;if(D(J))return!0;if((z===null||z===void 0?void 0:z.readable)!==!1&&U(J))return!1;if((z===null||z===void 0?void 0:z.writable)!==!1&&T(J))return!1;return!0}function t(J){var z,w;if(!O(J))return null;if(J.writableErrored)return J.writableErrored;return(z=(w=J._writableState)===null||w===void 0?void 0:w.errored)!==null&&z!==void 0?z:null}function i(J){var z,w;if(!O(J))return null;if(J.readableErrored)return J.readableErrored;return(z=(w=J._readableState)===null||w===void 0?void 0:w.errored)!==null&&z!==void 0?z:null}function $(J){if(!O(J))return null;if(typeof J.closed==="boolean")return J.closed;const{_writableState:z,_readableState:w}=J;if(typeof(z===null||z===void 0?void 0:z.closed)==="boolean"||typeof(w===null||w===void 0?void 0:w.closed)==="boolean")return(z===null||z===void 0?void 0:z.closed)||(w===null||w===void 0?void 0:w.closed);if(typeof J._closed==="boolean"&&n(J))return J._closed;return null}function n(J){return typeof J._closed==="boolean"&&typeof J._defaultKeepAlive==="boolean"&&typeof J._removedConnection==="boolean"&&typeof J._removedContLen==="boolean"}function Y(J){return typeof J._sent100==="boolean"&&n(J)}function K(J){var z;return typeof J._consuming==="boolean"&&typeof J._dumped==="boolean"&&((z=J.req)===null||z===void 0?void 0:z.upgradeOrConnect)===void 0}function F(J){if(!O(J))return null;const{_writableState:z,_readableState:w}=J,S=z||w;return!S&&Y(J)||!!(S&&S.autoDestroy&&S.emitClose&&S.closed===!1)}function m(J){var z;return!!(J&&((z=J[P])!==null&&z!==void 0?z:J.readableDidRead||J.readableAborted))}function u(J){var z,w,S,N,W,b,o,s,e,Hq;return!!(J&&((z=(w=(S=(N=(W=(b=J[M])!==null&&b!==void 0?b:J.readableErrored)!==null&&W!==void 0?W:J.writableErrored)!==null&&N!==void 0?N:(o=J._readableState)===null||o===void 0?void 0:o.errorEmitted)!==null&&S!==void 0?S:(s=J._writableState)===null||s===void 0?void 0:s.errorEmitted)!==null&&w!==void 0?w:(e=J._readableState)===null||e===void 0?void 0:e.errored)!==null&&z!==void 0?z:(Hq=J._writableState)===null||Hq===void 0?void 0:Hq.errored))}j.exports={kDestroyed:A,isDisturbed:m,kIsDisturbed:P,isErrored:u,kIsErrored:M,isReadable:U,kIsReadable:R,isClosed:$,isDestroyed:D,isDuplexNodeStream:c,isFinished:_,isIterable:l,isReadableNodeStream:g,isReadableEnded:I,isReadableFinished:Z,isReadableErrored:i,isNodeStream:O,isWritable:T,isWritableNodeStream:k,isWritableEnded:p,isWritableFinished:E,isWritableErrored:t,isServerRequest:K,isServerResponse:Y,willEmitClose:F}}}),Fq=Bq({"node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(a,j){var{AbortError:B,codes:G}=Wq(),{ERR_INVALID_ARG_TYPE:y,ERR_STREAM_PREMATURE_CLOSE:A}=G,{once:M}=Aq(),{validateAbortSignal:R,validateFunction:P,validateObject:g}=Cq(),{Promise:k}=Vq(),{isClosed:c,isReadable:O,isReadableNodeStream:l,isReadableFinished:D,isReadableErrored:p,isWritable:E,isWritableNodeStream:I,isWritableFinished:Z,isWritableErrored:U,isNodeStream:T,willEmitClose:_}=Eq();function t(Y){return Y.setHeader&&typeof Y.abort==="function"}var i=()=>{};function $(Y,K,F){var m,u;if(arguments.length===2)F=K,K={};else if(K==null)K={};else g(K,"options");P(F,"callback"),R(K.signal,"options.signal"),F=M(F);const J=(m=K.readable)!==null&&m!==void 0?m:l(Y),z=(u=K.writable)!==null&&u!==void 0?u:I(Y);if(!T(Y))throw new y("stream","Stream",Y);const{_writableState:w,_readableState:S}=Y,N=()=>{if(!Y.writable)o()};let W=_(Y)&&l(Y)===J&&I(Y)===z,b=Z(Y,!1);const o=()=>{if(b=!0,Y.destroyed)W=!1;if(W&&(!Y.readable||J))return;if(!J||s)F.call(Y)};let s=D(Y,!1);const e=()=>{if(s=!0,Y.destroyed)W=!1;if(W&&(!Y.writable||z))return;if(!z||b)F.call(Y)},Hq=(V)=>{F.call(Y,V)};let $q=c(Y);const qq=()=>{$q=!0;const V=U(Y)||p(Y);if(V&&typeof V!=="boolean")return F.call(Y,V);if(J&&!s&&l(Y,!0)){if(!D(Y,!1))return F.call(Y,new A)}if(z&&!b){if(!Z(Y,!1))return F.call(Y,new A)}F.call(Y)},Kq=()=>{Y.req.on("finish",o)};if(t(Y)){if(Y.on("complete",o),!W)Y.on("abort",qq);if(Y.req)Kq();else Y.on("request",Kq)}else if(z&&!w)Y.on("end",N),Y.on("close",N);if(!W&&typeof Y.aborted==="boolean")Y.on("aborted",qq);if(Y.on("end",e),Y.on("finish",o),K.error!==!1)Y.on("error",Hq);if(Y.on("close",qq),$q)Xq(qq);else if(w!==null&&w!==void 0&&w.errorEmitted||S!==null&&S!==void 0&&S.errorEmitted){if(!W)Xq(qq)}else if(!J&&(!W||O(Y))&&(b||E(Y)===!1))Xq(qq);else if(!z&&(!W||E(Y))&&(s||O(Y)===!1))Xq(qq);else if(S&&Y.req&&Y.aborted)Xq(qq);const Qq=()=>{if(F=i,Y.removeListener("aborted",qq),Y.removeListener("complete",o),Y.removeListener("abort",qq),Y.removeListener("request",Kq),Y.req)Y.req.removeListener("finish",o);Y.removeListener("end",N),Y.removeListener("close",N),Y.removeListener("finish",o),Y.removeListener("end",e),Y.removeListener("error",Hq),Y.removeListener("close",qq)};if(K.signal&&!$q){const V=()=>{const h=F;Qq(),h.call(Y,new B(void 0,{cause:K.signal.reason}))};if(K.signal.aborted)Xq(V);else{const h=F;F=M((...Q)=>{K.signal.removeEventListener("abort",V),h.apply(Y,Q)}),K.signal.addEventListener("abort",V)}}return Qq}function n(Y,K){return new k((F,m)=>{$(Y,K,(u)=>{if(u)m(u);else F()})})}j.exports=$,j.exports.finished=n}}),XQ=Bq({"node_modules/readable-stream/lib/internal/streams/operators.js"(a,j){var{codes:{ERR_INVALID_ARG_TYPE:B,ERR_MISSING_ARGS:G,ERR_OUT_OF_RANGE:y},AbortError:A}=Wq(),{validateAbortSignal:M,validateInteger:R,validateObject:P}=Cq(),g=Vq().Symbol("kWeak"),{finished:k}=Fq(),{ArrayPrototypePush:c,MathFloor:O,Number:l,NumberIsNaN:D,Promise:p,PromiseReject:E,PromisePrototypeCatch:I,Symbol:Z}=Vq(),U=Z("kEmpty"),T=Z("kEof");function _(N,W){if(typeof N!=="function")throw new B("fn",["Function","AsyncFunction"],N);if(W!=null)P(W,"options");if((W===null||W===void 0?void 0:W.signal)!=null)M(W.signal,"options.signal");let b=1;if((W===null||W===void 0?void 0:W.concurrency)!=null)b=O(W.concurrency);return R(b,"concurrency",1),async function*o(){var s,e;const Hq=new AbortController,$q=this,qq=[],Kq=Hq.signal,Qq={signal:Kq},V=()=>Hq.abort();if(W!==null&&W!==void 0&&(s=W.signal)!==null&&s!==void 0&&s.aborted)V();W===null||W===void 0||(e=W.signal)===null||e===void 0||e.addEventListener("abort",V);let h,Q,H=!1;function L(){H=!0}async function d(){try{for await(let q of $q){var f;if(H)return;if(Kq.aborted)throw new A;try{q=N(q,Qq)}catch(X){q=E(X)}if(q===U)continue;if(typeof((f=q)===null||f===void 0?void 0:f.catch)==="function")q.catch(L);if(qq.push(q),h)h(),h=null;if(!H&&qq.length&&qq.length>=b)await new p((X)=>{Q=X})}qq.push(T)}catch(q){const X=E(q);I(X,L),qq.push(X)}finally{var r;if(H=!0,h)h(),h=null;W===null||W===void 0||(r=W.signal)===null||r===void 0||r.removeEventListener("abort",V)}}d();try{while(!0){while(qq.length>0){const f=await qq[0];if(f===T)return;if(Kq.aborted)throw new A;if(f!==U)yield f;if(qq.shift(),Q)Q(),Q=null}await new p((f)=>{h=f})}}finally{if(Hq.abort(),H=!0,Q)Q(),Q=null}}.call(this)}function t(N=void 0){if(N!=null)P(N,"options");if((N===null||N===void 0?void 0:N.signal)!=null)M(N.signal,"options.signal");return async function*W(){let b=0;for await(let s of this){var o;if(N!==null&&N!==void 0&&(o=N.signal)!==null&&o!==void 0&&o.aborted)throw new A({cause:N.signal.reason});yield[b++,s]}}.call(this)}async function i(N,W=void 0){for await(let b of K.call(this,N,W))return!0;return!1}async function $(N,W=void 0){if(typeof N!=="function")throw new B("fn",["Function","AsyncFunction"],N);return!await i.call(this,async(...b)=>{return!await N(...b)},W)}async function n(N,W){for await(let b of K.call(this,N,W))return b;return}async function Y(N,W){if(typeof N!=="function")throw new B("fn",["Function","AsyncFunction"],N);async function b(o,s){return await N(o,s),U}for await(let o of _.call(this,b,W));}function K(N,W){if(typeof N!=="function")throw new B("fn",["Function","AsyncFunction"],N);async function b(o,s){if(await N(o,s))return o;return U}return _.call(this,b,W)}var F=class extends G{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}};async function m(N,W,b){var o;if(typeof N!=="function")throw new B("reducer",["Function","AsyncFunction"],N);if(b!=null)P(b,"options");if((b===null||b===void 0?void 0:b.signal)!=null)M(b.signal,"options.signal");let s=arguments.length>1;if(b!==null&&b!==void 0&&(o=b.signal)!==null&&o!==void 0&&o.aborted){const Kq=new A(void 0,{cause:b.signal.reason});throw this.once("error",()=>{}),await k(this.destroy(Kq)),Kq}const e=new AbortController,Hq=e.signal;if(b!==null&&b!==void 0&&b.signal){const Kq={once:!0,[g]:this};b.signal.addEventListener("abort",()=>e.abort(),Kq)}let $q=!1;try{for await(let Kq of this){var qq;if($q=!0,b!==null&&b!==void 0&&(qq=b.signal)!==null&&qq!==void 0&&qq.aborted)throw new A;if(!s)W=Kq,s=!0;else W=await N(W,Kq,{signal:Hq})}if(!$q&&!s)throw new F}finally{e.abort()}return W}async function u(N){if(N!=null)P(N,"options");if((N===null||N===void 0?void 0:N.signal)!=null)M(N.signal,"options.signal");const W=[];for await(let o of this){var b;if(N!==null&&N!==void 0&&(b=N.signal)!==null&&b!==void 0&&b.aborted)throw new A(void 0,{cause:N.signal.reason});c(W,o)}return W}function J(N,W){const b=_.call(this,N,W);return async function*o(){for await(let s of b)yield*s}.call(this)}function z(N){if(N=l(N),D(N))return 0;if(N<0)throw new y("number",">= 0",N);return N}function w(N,W=void 0){if(W!=null)P(W,"options");if((W===null||W===void 0?void 0:W.signal)!=null)M(W.signal,"options.signal");return N=z(N),async function*b(){var o;if(W!==null&&W!==void 0&&(o=W.signal)!==null&&o!==void 0&&o.aborted)throw new A;for await(let e of this){var s;if(W!==null&&W!==void 0&&(s=W.signal)!==null&&s!==void 0&&s.aborted)throw new A;if(N--<=0)yield e}}.call(this)}function S(N,W=void 0){if(W!=null)P(W,"options");if((W===null||W===void 0?void 0:W.signal)!=null)M(W.signal,"options.signal");return N=z(N),async function*b(){var o;if(W!==null&&W!==void 0&&(o=W.signal)!==null&&o!==void 0&&o.aborted)throw new A;for await(let e of this){var s;if(W!==null&&W!==void 0&&(s=W.signal)!==null&&s!==void 0&&s.aborted)throw new A;if(N-- >0)yield e;else return}}.call(this)}j.exports.streamReturningOperators={asIndexedPairs:t,drop:w,filter:K,flatMap:J,map:_,take:S},j.exports.promiseReturningOperators={every:$,forEach:Y,reduce:m,toArray:u,some:i,find:n}}}),Tq=Bq({"node_modules/readable-stream/lib/internal/streams/destroy.js"(a,j){var{aggregateTwoErrors:B,codes:{ERR_MULTIPLE_CALLBACK:G},AbortError:y}=Wq(),{Symbol:A}=Vq(),{kDestroyed:M,isDestroyed:R,isFinished:P,isServerRequest:g}=Eq(),k="#kDestroy",c="#kConstruct";function O(K,F,m){if(K){if(K.stack,F&&!F.errored)F.errored=K;if(m&&!m.errored)m.errored=K}}function l(K,F){const m=this._readableState,u=this._writableState,J=u||m;if(u&&u.destroyed||m&&m.destroyed){if(typeof F==="function")F();return this}if(O(K,u,m),u)u.destroyed=!0;if(m)m.destroyed=!0;if(!J.constructed)this.once(k,(z)=>{D(this,B(z,K),F)});else D(this,K,F);return this}function D(K,F,m){let u=!1;function J(z){if(u)return;u=!0;const{_readableState:w,_writableState:S}=K;if(O(z,S,w),S)S.closed=!0;if(w)w.closed=!0;if(typeof m==="function")m(z);if(z)Xq(p,K,z);else Xq(E,K)}try{K._destroy(F||null,J)}catch(z){J(z)}}function p(K,F){I(K,F),E(K)}function E(K){const{_readableState:F,_writableState:m}=K;if(m)m.closeEmitted=!0;if(F)F.closeEmitted=!0;if(m&&m.emitClose||F&&F.emitClose)K.emit("close")}function I(K,F){const m=K?._readableState,u=K?._writableState;if(u?.errorEmitted||m?.errorEmitted)return;if(u)u.errorEmitted=!0;if(m)m.errorEmitted=!0;K?.emit?.("error",F)}function Z(){const K=this._readableState,F=this._writableState;if(K)K.constructed=!0,K.closed=!1,K.closeEmitted=!1,K.destroyed=!1,K.errored=null,K.errorEmitted=!1,K.reading=!1,K.ended=K.readable===!1,K.endEmitted=K.readable===!1;if(F)F.constructed=!0,F.destroyed=!1,F.closed=!1,F.closeEmitted=!1,F.errored=null,F.errorEmitted=!1,F.finalCalled=!1,F.prefinished=!1,F.ended=F.writable===!1,F.ending=F.writable===!1,F.finished=F.writable===!1}function U(K,F,m){const u=K?._readableState,J=K?._writableState;if(J&&J.destroyed||u&&u.destroyed)return this;if(u&&u.autoDestroy||J&&J.autoDestroy)K.destroy(F);else if(F){if(Error.captureStackTrace(F),J&&!J.errored)J.errored=F;if(u&&!u.errored)u.errored=F;if(m)Xq(I,K,F);else I(K,F)}}function T(K,F){if(typeof K._construct!=="function")return;const{_readableState:m,_writableState:u}=K;if(m)m.constructed=!1;if(u)u.constructed=!1;if(K.once(c,F),K.listenerCount(c)>1)return;Xq(_,K)}function _(K){let F=!1;function m(u){if(F){U(K,u!==null&&u!==void 0?u:new G);return}F=!0;const{_readableState:J,_writableState:z}=K,w=z||J;if(J)J.constructed=!0;if(z)z.constructed=!0;if(w.destroyed)K.emit(k,u);else if(u)U(K,u,!0);else Xq(t,K)}try{K._construct(m)}catch(u){m(u)}}function t(K){K.emit(c)}function i(K){return K&&K.setHeader&&typeof K.abort==="function"}function $(K){K.emit("close")}function n(K,F){K.emit("error",F),Xq($,K)}function Y(K,F){if(!K||R(K))return;if(!F&&!P(K))F=new y;if(g(K))K.socket=null,K.destroy(F);else if(i(K))K.abort();else if(i(K.req))K.req.abort();else if(typeof K.destroy==="function")K.destroy(F);else if(typeof K.close==="function")K.close();else if(F)Xq(n,K);else Xq($,K);if(!K.destroyed)K[M]=!0}j.exports={construct:T,destroyer:Y,destroy:l,undestroy:Z,errorOrDestroy:U}}}),Rq=Bq({"node_modules/readable-stream/lib/internal/streams/legacy.js"(a,j){var{ArrayIsArray:B,ObjectSetPrototypeOf:G}=Vq();function y(M){if(!(this instanceof y))return new y(M);Iq.call(this,M)}G(y.prototype,Iq.prototype),G(y,Iq),y.prototype.pipe=function(M,R){const P=this;function g(E){if(M.writable&&M.write(E)===!1&&P.pause)P.pause()}P.on("data",g);function k(){if(P.readable&&P.resume)P.resume()}if(M.on("drain",k),!M._isStdio&&(!R||R.end!==!1))P.on("end",O),P.on("close",l);let c=!1;function O(){if(c)return;c=!0,M.end()}function l(){if(c)return;if(c=!0,typeof M.destroy==="function")M.destroy()}function D(E){if(p(),Iq.listenerCount(this,"error")===0)this.emit("error",E)}A(P,"error",D),A(M,"error",D);function p(){P.removeListener("data",g),M.removeListener("drain",k),P.removeListener("end",O),P.removeListener("close",l),P.removeListener("error",D),M.removeListener("error",D),P.removeListener("end",p),P.removeListener("close",p),M.removeListener("close",p)}return P.on("end",p),P.on("close",p),M.on("close",p),M.emit("pipe",P),M};function A(M,R,P){if(typeof M.prependListener==="function")return M.prependListener(R,P);if(!M._events||!M._events[R])M.on(R,P);else if(B(M._events[R]))M._events[R].unshift(P);else M._events[R]=[P,M._events[R]]}j.exports={Stream:y,prependListener:A}}}),Sq=Bq({"node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"(a,j){var{AbortError:B,codes:G}=Wq(),y=Fq(),{ERR_INVALID_ARG_TYPE:A}=G,M=(P,g)=>{if(typeof P!=="object"||!("aborted"in P))throw new A(g,"AbortSignal",P)};function R(P){return!!(P&&typeof P.pipe==="function")}j.exports.addAbortSignal=function P(g,k){if(M(g,"signal"),!R(k))throw new A("stream","stream.Stream",k);return j.exports.addAbortSignalNoValidate(g,k)},j.exports.addAbortSignalNoValidate=function(P,g){if(typeof P!=="object"||!("aborted"in P))return g;const k=()=>{g.destroy(new B(void 0,{cause:P.reason}))};if(P.aborted)k();else P.addEventListener("abort",k),y(g,()=>P.removeEventListener("abort",k));return g}}}),JQ=Bq({"node_modules/readable-stream/lib/internal/streams/state.js"(a,j){var{MathFloor:B,NumberIsInteger:G}=Vq(),{ERR_INVALID_ARG_VALUE:y}=Wq().codes;function A(P,g,k){return P.highWaterMark!=null?P.highWaterMark:g?P[k]:null}function M(P){return P?16:16384}function R(P,g,k,c){const O=A(g,c,k);if(O!=null){if(!G(O)||O<0){const l=c?`options.${k}`:"options.highWaterMark";throw new y(l,O)}return B(O)}return M(P.objectMode)}j.exports={getHighWaterMark:R,getDefaultHighWaterMark:M}}}),hq=Bq({"node_modules/readable-stream/lib/internal/streams/from.js"(a,j){var{PromisePrototypeThen:B,SymbolAsyncIterator:G,SymbolIterator:y}=Vq(),{ERR_INVALID_ARG_TYPE:A,ERR_STREAM_NULL_VALUES:M}=Wq().codes;function R(P,g,k){let c;if(typeof g==="string"||g instanceof Buffer)return new P({objectMode:!0,...k,read(){this.push(g),this.push(null)}});let O;if(g&&g[G])O=!0,c=g[G]();else if(g&&g[y])O=!1,c=g[y]();else throw new A("iterable",["Iterable"],g);const l=new P({objectMode:!0,highWaterMark:1,...k});let D=!1;l._read=function(){if(!D)D=!0,E()},l._destroy=function(I,Z){B(p(I),()=>Xq(Z,I),(U)=>Xq(Z,U||I))};async function p(I){const Z=I!==void 0&&I!==null,U=typeof c.throw==="function";if(Z&&U){const{value:T,done:_}=await c.throw(I);if(await T,_)return}if(typeof c.return==="function"){const{value:T}=await c.return();await T}}async function E(){for(;;){try{const{value:I,done:Z}=O?await c.next():c.next();if(Z)l.push(null);else{const U=I&&typeof I.then==="function"?await I:I;if(U===null)throw D=!1,new M;else if(l.push(U))continue;else D=!1}}catch(I){l.destroy(I)}break}}return l}j.exports=R}}),pq,uq,_q=Bq({"node_modules/readable-stream/lib/internal/streams/readable.js"(a,j){var{ArrayPrototypeIndexOf:B,NumberIsInteger:G,NumberIsNaN:y,NumberParseInt:A,ObjectDefineProperties:M,ObjectKeys:R,ObjectSetPrototypeOf:P,Promise:g,SafeSet:k,SymbolAsyncIterator:c,Symbol:O}=Vq(),l=globalThis[Symbol.for("Bun.lazy")]("bun:stream").ReadableState,{Stream:D,prependListener:p}=Rq();function E(q){if(!(this instanceof E))return new E(q);const X=this instanceof Mq();if(this._readableState=new l(q,this,X),q){const{read:C,destroy:x,construct:v,signal:Jq}=q;if(typeof C==="function")this._read=C;if(typeof x==="function")this._destroy=x;if(typeof v==="function")this._construct=v;if(Jq&&!X)U(Jq,this)}D.call(this,q),K.construct(this,()=>{if(this._readableState.needReadable)n(this,this._readableState)})}P(E.prototype,D.prototype),P(E,D),E.prototype.on=function(q,X){const C=D.prototype.on.call(this,q,X),x=this._readableState;if(q==="data"){if(x.readableListening=this.listenerCount("readable")>0,x.flowing!==!1)this.resume()}else if(q==="readable"){if(!x.endEmitted&&!x.readableListening){if(x.readableListening=x.needReadable=!0,x.flowing=!1,x.emittedReadable=!1,x.length)Y(this,x);else if(!x.reading)Xq(Qq,this)}else if(x.endEmitted);}return C};class I extends E{#q;#Q;#X;#H;constructor(q,X){const{objectMode:C,highWaterMark:x,encoding:v,signal:Jq}=q;super({objectMode:C,highWaterMark:x,encoding:v,signal:Jq});this.#X=[],this.#q=void 0,this.#H=X,this.#Q=!1}#J(){var q=this.#X,X=0,C=q.length;for(;X<C;X++){const x=q[X];if(q[X]=void 0,!this.push(x,void 0))return this.#X=q.slice(X+1),!0}if(C>0)this.#X=[];return!1}#K(q){q.releaseLock(),this.#q=void 0,this.#Q=!0,this.push(null);return}async _read(){var q=this.#H,X=this.#q;if(q)X=this.#q=q.getReader(),this.#H=void 0;else if(this.#J())return;var C;try{do{var x=!1,v;const Jq=X.readMany();if(xq(Jq)){if({done:x,value:v}=await Jq,this.#Q){this.#X.push(...v);return}}else({done:x,value:v}=Jq);if(x){this.#K(X);return}if(!this.push(v[0])){this.#X=v.slice(1);return}for(let Zq=1,Oq=v.length;Zq<Oq;Zq++)if(!this.push(v[Zq])){this.#X=v.slice(Zq+1);return}}while(!this.#Q)}catch(Jq){C=Jq}finally{if(C)throw C}}_destroy(q,X){if(!this.#Q){var C=this.#q;if(C)this.#q=void 0,C.cancel(q).finally(()=>{this.#Q=!0,X(q)});return}try{X(q)}catch(x){globalThis.reportError(x)}}}uq=I;function Z(q,X={}){if(!tq(q))throw new m("readableStream","ReadableStream",q);S(X,"options");const{highWaterMark:C,encoding:x,objectMode:v=!1,signal:Jq}=X;if(x!==void 0&&!Buffer.isEncoding(x))throw new QQ(x,"options.encoding");return eq(v,"options.objectMode"),zQ(E,q,X)||new I({highWaterMark:C,encoding:x,objectMode:v,signal:Jq},q)}j.exports=E,pq=Z;var{addAbortSignal:U}=Sq(),T=Fq();const{maybeReadMore:_,resume:t,emitReadable:i,onEofChunk:$}=globalThis[Symbol.for("Bun.lazy")]("bun:stream");function n(q,X){process.nextTick(_,q,X)}function Y(q,X){i(q,X)}var K=Tq(),{aggregateTwoErrors:F,codes:{ERR_INVALID_ARG_TYPE:m,ERR_METHOD_NOT_IMPLEMENTED:u,ERR_OUT_OF_RANGE:J,ERR_STREAM_PUSH_AFTER_EOF:z,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:w}}=Wq(),{validateObject:S}=Cq(),N=hq(),W=()=>{},{errorOrDestroy:b}=K;E.prototype.destroy=K.destroy,E.prototype._undestroy=K.undestroy,E.prototype._destroy=function(q,X){X(q)},E.prototype[Iq.captureRejectionSymbol]=function(q){this.destroy(q)},E.prototype.push=function(q,X){return o(this,q,X,!1)},E.prototype.unshift=function(q,X){return o(this,q,X,!0)};function o(q,X,C,x){const v=q._readableState;let Jq;if(!v.objectMode){if(typeof X==="string"){if(C=C||v.defaultEncoding,v.encoding!==C)if(x&&v.encoding)X=Buffer.from(X,C).toString(v.encoding);else X=Buffer.from(X,C),C=""}else if(X instanceof Buffer)C="";else if(D._isUint8Array(X)){if(x||!v.decoder)X=D._uint8ArrayToBuffer(X);C=""}else if(X!=null)Jq=new m("chunk",["string","Buffer","Uint8Array"],X)}if(Jq)b(q,Jq);else if(X===null)v.reading=!1,$(q,v);else if(v.objectMode||X&&X.length>0)if(x)if(v.endEmitted)b(q,new w);else if(v.destroyed||v.errored)return!1;else s(q,v,X,!0);else if(v.ended)b(q,new z);else if(v.destroyed||v.errored)return!1;else if(v.reading=!1,v.decoder&&!C)if(X=v.decoder.write(X),v.objectMode||X.length!==0)s(q,v,X,!1);else n(q,v);else s(q,v,X,!1);else if(!x)v.reading=!1,n(q,v);return!v.ended&&(v.length<v.highWaterMark||v.length===0)}function s(q,X,C,x){if(X.flowing&&X.length===0&&!X.sync&&q.listenerCount("data")>0){if(X.multiAwaitDrain)X.awaitDrainWriters.clear();else X.awaitDrainWriters=null;X.dataEmitted=!0,q.emit("data",C)}else{if(X.length+=X.objectMode?1:C.length,x)X.buffer.unshift(C);else X.buffer.push(C);if(X.needReadable)Y(q,X)}n(q,X)}E.prototype.isPaused=function(){const q=this._readableState;return q.paused===!0||q.flowing===!1},E.prototype.setEncoding=function(q){const X=new aq(q);this._readableState.decoder=X,this._readableState.encoding=this._readableState.decoder.encoding;const C=this._readableState.buffer;let x="";for(let v=C.length;v>0;v--)x+=X.write(C.shift());if(x!=="")C.push(x);return this._readableState.length=x.length,this};var e=1073741824;function Hq(q){if(q>e)throw new J("size","<= 1GiB",q);else q--,q|=q>>>1,q|=q>>>2,q|=q>>>4,q|=q>>>8,q|=q>>>16,q++;return q}function $q(q,X){if(q<=0||X.length===0&&X.ended)return 0;if(X.objectMode)return 1;if(y(q)){if(X.flowing&&X.length)return X.buffer.first().length;return X.length}if(q<=X.length)return q;return X.ended?X.length:0}E.prototype.read=function(q){if(!G(q))q=A(q,10);const X=this._readableState,C=q;if(q>X.highWaterMark)X.highWaterMark=Hq(q);if(q!==0)X.emittedReadable=!1;if(q===0&&X.needReadable&&((X.highWaterMark!==0?X.length>=X.highWaterMark:X.length>0)||X.ended)){if(X.length===0&&X.ended)H(this);else Y(this,X);return null}if(q=$q(q,X),q===0&&X.ended){if(X.length===0)H(this);return null}let x=X.needReadable;if(X.length===0||X.length-q<X.highWaterMark)x=!0;if(X.ended||X.reading||X.destroyed||X.errored||!X.constructed)x=!1;else if(x){if(X.reading=!0,X.sync=!0,X.length===0)X.needReadable=!0;try{var v=this._read(X.highWaterMark);if(xq(v)){const Zq=Bun.peek(v);if(Zq!==v)v=Zq}if(xq(v)&&v?.then&&oq(v.then))v.then(W,function(Zq){b(this,Zq)})}catch(Zq){b(this,Zq)}if(X.sync=!1,!X.reading)q=$q(C,X)}let Jq;if(q>0)Jq=Q(q,X);else Jq=null;if(Jq===null)X.needReadable=X.length<=X.highWaterMark,q=0;else if(X.length-=q,X.multiAwaitDrain)X.awaitDrainWriters.clear();else X.awaitDrainWriters=null;if(X.length===0){if(!X.ended)X.needReadable=!0;if(C!==q&&X.ended)H(this)}if(Jq!==null&&!X.errorEmitted&&!X.closeEmitted)X.dataEmitted=!0,this.emit("data",Jq);return Jq},E.prototype._read=function(q){throw new u("_read()")},E.prototype.pipe=function(q,X){const C=this,x=this._readableState;if(x.pipes.length===1){if(!x.multiAwaitDrain)x.multiAwaitDrain=!0,x.awaitDrainWriters=new k(x.awaitDrainWriters?[x.awaitDrainWriters]:[])}x.pipes.push(q);const Jq=(!X||X.end!==!1)&&q!==process.stdout&&q!==process.stderr?Oq:Pq;if(x.endEmitted)Xq(Jq);else C.once("end",Jq);q.on("unpipe",Zq);function Zq(jq,Nq){if(jq===C){if(Nq&&Nq.hasUnpiped===!1)Nq.hasUnpiped=!0,nq()}}function Oq(){q.end()}let Lq,kq=!1;function nq(){if(q.removeListener("close",wq),q.removeListener("finish",vq),Lq)q.removeListener("drain",Lq);if(q.removeListener("error",Dq),q.removeListener("unpipe",Zq),C.removeListener("end",Oq),C.removeListener("end",Pq),C.removeListener("data",yq),kq=!0,Lq&&x.awaitDrainWriters&&(!q._writableState||q._writableState.needDrain))Lq()}function fq(){if(!kq){if(x.pipes.length===1&&x.pipes[0]===q)x.awaitDrainWriters=q,x.multiAwaitDrain=!1;else if(x.pipes.length>1&&x.pipes.includes(q))x.awaitDrainWriters.add(q);C.pause()}if(!Lq)Lq=qq(C,q),q.on("drain",Lq)}C.on("data",yq);function yq(jq){if(q.write(jq)===!1)fq()}function Dq(jq){if(Gq("onerror",jq),Pq(),q.removeListener("error",Dq),q.listenerCount("error")===0){const Nq=q._writableState||q._readableState;if(Nq&&!Nq.errorEmitted)b(q,jq);else q.emit("error",jq)}}p(q,"error",Dq);function wq(){q.removeListener("finish",vq),Pq()}q.once("close",wq);function vq(){Gq("onfinish"),q.removeListener("close",wq),Pq()}q.once("finish",vq);function Pq(){Gq("unpipe"),C.unpipe(q)}if(q.emit("pipe",C),q.writableNeedDrain===!0){if(x.flowing)fq()}else if(!x.flowing)Gq("pipe resume"),C.resume();return q};function qq(q,X){return function C(){const x=q._readableState;if(x.awaitDrainWriters===X)Gq("pipeOnDrain",1),x.awaitDrainWriters=null;else if(x.multiAwaitDrain)Gq("pipeOnDrain",x.awaitDrainWriters.size),x.awaitDrainWriters.delete(X);if((!x.awaitDrainWriters||x.awaitDrainWriters.size===0)&&q.listenerCount("data"))q.resume()}}E.prototype.unpipe=function(q){const X=this._readableState,C={hasUnpiped:!1};if(X.pipes.length===0)return this;if(!q){const v=X.pipes;X.pipes=[],this.pause();for(let Jq=0;Jq<v.length;Jq++)v[Jq].emit("unpipe",this,{hasUnpiped:!1});return this}const x=B(X.pipes,q);if(x===-1)return this;if(X.pipes.splice(x,1),X.pipes.length===0)this.pause();return q.emit("unpipe",this,C),this},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(q,X){const C=D.prototype.removeListener.call(this,q,X);if(q==="readable")Xq(Kq,this);return C},E.prototype.off=E.prototype.removeListener,E.prototype.removeAllListeners=function(q){const X=D.prototype.removeAllListeners.apply(this,arguments);if(q==="readable"||q===void 0)Xq(Kq,this);return X};function Kq(q){const X=q._readableState;if(X.readableListening=q.listenerCount("readable")>0,X.resumeScheduled&&X.paused===!1)X.flowing=!0;else if(q.listenerCount("data")>0)q.resume();else if(!X.readableListening)X.flowing=null}function Qq(q){q.read(0)}E.prototype.resume=function(){const q=this._readableState;if(!q.flowing)q.flowing=!q.readableListening,t(this,q);return q.paused=!1,this},E.prototype.pause=function(){if(this._readableState.flowing!==!1)this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this},E.prototype.wrap=function(q){let X=!1;q.on("data",(x)=>{if(!this.push(x)&&q.pause)X=!0,q.pause()}),q.on("end",()=>{this.push(null)}),q.on("error",(x)=>{b(this,x)}),q.on("close",()=>{this.destroy()}),q.on("destroy",()=>{this.destroy()}),this._read=()=>{if(X&&q.resume)X=!1,q.resume()};const C=R(q);for(let x=1;x<C.length;x++){const v=C[x];if(this[v]===void 0&&typeof q[v]==="function")this[v]=q[v].bind(q)}return this},E.prototype[c]=function(){return V(this)},E.prototype.iterator=function(q){if(q!==void 0)S(q,"options");return V(this,q)};function V(q,X){if(typeof q.read!=="function")q=E.wrap(q,{objectMode:!0});const C=h(q,X);return C.stream=q,C}async function*h(q,X){let C=W;function x(Zq){if(this===q)C(),C=W;else C=Zq}q.on("readable",x);let v;const Jq=T(q,{writable:!1},(Zq)=>{v=Zq?F(v,Zq):null,C(),C=W});try{while(!0){const Zq=q.destroyed?null:q.read();if(Zq!==null)yield Zq;else if(v)throw v;else if(v===null)return;else await new g(x)}}catch(Zq){throw v=F(v,Zq),v}finally{if((v||(X===null||X===void 0?void 0:X.destroyOnReturn)!==!1)&&(v===void 0||q._readableState.autoDestroy))K.destroyer(q,null);else q.off("readable",x),Jq()}}M(E.prototype,{readable:{get(){const q=this._readableState;return!!q&&q.readable!==!1&&!q.destroyed&&!q.errorEmitted&&!q.endEmitted},set(q){if(this._readableState)this._readableState.readable=!!q}},readableDidRead:{enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{enumerable:!1,get:function(){return this._readableState.flowing},set:function(q){if(this._readableState)this._readableState.flowing=q}},readableLength:{enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{get(){return this._readableState?this._readableState.closed:!1}},destroyed:{enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(q){if(!this._readableState)return;this._readableState.destroyed=q}},readableEnded:{enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),E._fromList=Q;function Q(q,X){if(X.length===0)return null;let C;if(X.objectMode)C=X.buffer.shift();else if(!q||q>=X.length){if(X.decoder)C=X.buffer.join("");else if(X.buffer.length===1)C=X.buffer.first();else C=X.buffer.concat(X.length);X.buffer.clear()}else C=X.buffer.consume(q,X.decoder);return C}function H(q){const X=q._readableState;if(!X.endEmitted)X.ended=!0,Xq(L,X,q)}function L(q,X){if(!q.errored&&!q.closeEmitted&&!q.endEmitted&&q.length===0){if(q.endEmitted=!0,X.emit("end"),X.writable&&X.allowHalfOpen===!1)Xq(d,X);else if(q.autoDestroy){const C=X._writableState;if(!C||C.autoDestroy&&(C.finished||C.writable===!1))X.destroy()}}}function d(q){if(q.writable&&!q.writableEnded&&!q.destroyed)q.end()}E.from=function(q,X){return N(E,q,X)};var f={newStreamReadableFromReadableStream:Z};function r(){if(f===void 0)f={};return f}E.fromWeb=function(q,X){return r().newStreamReadableFromReadableStream(q,X)},E.toWeb=function(q){return r().newReadableStreamFromStreamReadable(q)},E.wrap=function(q,X){var C,x;return new E({objectMode:(C=(x=q.readableObjectMode)!==null&&x!==void 0?x:q.objectMode)!==null&&C!==void 0?C:!0,...X,destroy(v,Jq){K.destroyer(q,v),Jq(v)}}).wrap(q)}}}),bq=Bq({"node_modules/readable-stream/lib/internal/streams/writable.js"(a,j){var{ArrayPrototypeSlice:B,Error:G,FunctionPrototypeSymbolHasInstance:y,ObjectDefineProperty:A,ObjectDefineProperties:M,ObjectSetPrototypeOf:R,StringPrototypeToLowerCase:P,Symbol:g,SymbolHasInstance:k}=Vq(),c=Rq().Stream,O=Tq(),{addAbortSignal:l}=Sq(),{getHighWaterMark:D,getDefaultHighWaterMark:p}=JQ(),{ERR_INVALID_ARG_TYPE:E,ERR_METHOD_NOT_IMPLEMENTED:I,ERR_MULTIPLE_CALLBACK:Z,ERR_STREAM_CANNOT_PIPE:U,ERR_STREAM_DESTROYED:T,ERR_STREAM_ALREADY_FINISHED:_,ERR_STREAM_NULL_VALUES:t,ERR_STREAM_WRITE_AFTER_END:i,ERR_UNKNOWN_ENCODING:$}=Wq().codes,{errorOrDestroy:n}=O;function Y(Q={}){const H=this instanceof Mq();if(!H&&!y(Y,this))return new Y(Q);if(this._writableState=new m(Q,this,H),Q){if(typeof Q.write==="function")this._write=Q.write;if(typeof Q.writev==="function")this._writev=Q.writev;if(typeof Q.destroy==="function")this._destroy=Q.destroy;if(typeof Q.final==="function")this._final=Q.final;if(typeof Q.construct==="function")this._construct=Q.construct;if(Q.signal)l(Q.signal,this)}c.call(this,Q),O.construct(this,()=>{const L=this._writableState;if(!L.writing)s(this,L);qq(this,L)})}R(Y.prototype,c.prototype),R(Y,c),j.exports=Y;function K(){}var F=g("kOnFinished");function m(Q,H,L){if(typeof L!=="boolean")L=H instanceof Mq();if(this.objectMode=!!(Q&&Q.objectMode),L)this.objectMode=this.objectMode||!!(Q&&Q.writableObjectMode);this.highWaterMark=Q?D(this,Q,"writableHighWaterMark",L):p(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const d=!!(Q&&Q.decodeStrings===!1);this.decodeStrings=!d,this.defaultEncoding=Q&&Q.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=N.bind(void 0,H),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,u(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!Q||Q.emitClose!==!1,this.autoDestroy=!Q||Q.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[F]=[]}function u(Q){Q.buffered=[],Q.bufferedIndex=0,Q.allBuffers=!0,Q.allNoop=!0}m.prototype.getBuffer=function Q(){return B(this.buffered,this.bufferedIndex)},A(m.prototype,"bufferedRequestCount",{get(){return this.buffered.length-this.bufferedIndex}}),A(Y,k,{value:function(Q){if(y(this,Q))return!0;if(this!==Y)return!1;return Q&&Q._writableState instanceof m}}),Y.prototype.pipe=function(){n(this,new U)};function J(Q,H,L,d){const f=Q._writableState;if(typeof L==="function")d=L,L=f.defaultEncoding;else{if(!L)L=f.defaultEncoding;else if(L!=="buffer"&&!Buffer.isEncoding(L))throw new $(L);if(typeof d!=="function")d=K}if(H===null)throw new t;else if(!f.objectMode)if(typeof H==="string"){if(f.decodeStrings!==!1)H=Buffer.from(H,L),L="buffer"}else if(H instanceof Buffer)L="buffer";else if(c._isUint8Array(H))H=c._uint8ArrayToBuffer(H),L="buffer";else throw new E("chunk",["string","Buffer","Uint8Array"],H);let r;if(f.ending)r=new i;else if(f.destroyed)r=new T("write");if(r)return Xq(d,r),n(Q,r,!0),r;return f.pendingcb++,z(Q,f,H,L,d)}Y.prototype.write=function(Q,H,L){return J(this,Q,H,L)===!0},Y.prototype.cork=function(){this._writableState.corked++},Y.prototype.uncork=function(){const Q=this._writableState;if(Q.corked){if(Q.corked--,!Q.writing)s(this,Q)}},Y.prototype.setDefaultEncoding=function Q(H){if(typeof H==="string")H=P(H);if(!Buffer.isEncoding(H))throw new $(H);return this._writableState.defaultEncoding=H,this};function z(Q,H,L,d,f){const r=H.objectMode?1:L.length;H.length+=r;const q=H.length<H.highWaterMark;if(!q)H.needDrain=!0;if(H.writing||H.corked||H.errored||!H.constructed){if(H.buffered.push({chunk:L,encoding:d,callback:f}),H.allBuffers&&d!=="buffer")H.allBuffers=!1;if(H.allNoop&&f!==K)H.allNoop=!1}else H.writelen=r,H.writecb=f,H.writing=!0,H.sync=!0,Q._write(L,d,H.onwrite),H.sync=!1;return q&&!H.errored&&!H.destroyed}function w(Q,H,L,d,f,r,q){if(H.writelen=d,H.writecb=q,H.writing=!0,H.sync=!0,H.destroyed)H.onwrite(new T("write"));else if(L)Q._writev(f,H.onwrite);else Q._write(f,r,H.onwrite);H.sync=!1}function S(Q,H,L,d){--H.pendingcb,d(L),o(H),n(Q,L)}function N(Q,H){const L=Q._writableState,d=L.sync,f=L.writecb;if(typeof f!=="function"){n(Q,new Z);return}if(L.writing=!1,L.writecb=null,L.length-=L.writelen,L.writelen=0,H){if(Error.captureStackTrace(H),!L.errored)L.errored=H;if(Q._readableState&&!Q._readableState.errored)Q._readableState.errored=H;if(d)Xq(S,Q,L,H,f);else S(Q,L,H,f)}else{if(L.buffered.length>L.bufferedIndex)s(Q,L);if(d)if(L.afterWriteTickInfo!==null&&L.afterWriteTickInfo.cb===f)L.afterWriteTickInfo.count++;else L.afterWriteTickInfo={count:1,cb:f,stream:Q,state:L},Xq(W,L.afterWriteTickInfo);else b(Q,L,1,f)}}function W({stream:Q,state:H,count:L,cb:d}){return H.afterWriteTickInfo=null,b(Q,H,L,d)}function b(Q,H,L,d){if(!H.ending&&!Q.destroyed&&H.length===0&&H.needDrain)H.needDrain=!1,Q.emit("drain");while(L-- >0)H.pendingcb--,d();if(H.destroyed)o(H);qq(Q,H)}function o(Q){if(Q.writing)return;for(let f=Q.bufferedIndex;f<Q.buffered.length;++f){var H;const{chunk:r,callback:q}=Q.buffered[f],X=Q.objectMode?1:r.length;Q.length-=X,q((H=Q.errored)!==null&&H!==void 0?H:new T("write"))}const L=Q[F].splice(0);for(let f=0;f<L.length;f++){var d;L[f]((d=Q.errored)!==null&&d!==void 0?d:new T("end"))}u(Q)}function s(Q,H){if(H.corked||H.bufferProcessing||H.destroyed||!H.constructed)return;const{buffered:L,bufferedIndex:d,objectMode:f}=H,r=L.length-d;if(!r)return;let q=d;if(H.bufferProcessing=!0,r>1&&Q._writev){H.pendingcb-=r-1;const X=H.allNoop?K:(x)=>{for(let v=q;v<L.length;++v)L[v].callback(x)},C=H.allNoop&&q===0?L:B(L,q);C.allBuffers=H.allBuffers,w(Q,H,!0,H.length,C,"",X),u(H)}else{do{const{chunk:X,encoding:C,callback:x}=L[q];L[q++]=null;const v=f?1:X.length;w(Q,H,!1,v,X,C,x)}while(q<L.length&&!H.writing);if(q===L.length)u(H);else if(q>256)L.splice(0,q),H.bufferedIndex=0;else H.bufferedIndex=q}H.bufferProcessing=!1}Y.prototype._write=function(Q,H,L){if(this._writev)this._writev([{chunk:Q,encoding:H}],L);else throw new I("_write()")},Y.prototype._writev=null,Y.prototype.end=function(Q,H,L,d=!1){const f=this._writableState;if(typeof Q==="function")L=Q,Q=null,H=null;else if(typeof H==="function")L=H,H=null;let r;if(Q!==null&&Q!==void 0){let q;if(!d)q=J(this,Q,H);else q=this.write(Q,H);if(q instanceof G)r=q}if(f.corked)f.corked=1,this.uncork();if(r)this.emit("error",r);else if(!f.errored&&!f.ending)f.ending=!0,qq(this,f,!0),f.ended=!0;else if(f.finished)r=new _("end");else if(f.destroyed)r=new T("end");if(typeof L==="function")if(r||f.finished)Xq(L,r);else f[F].push(L);return this};function e(Q,H){var L=Q.ending&&!Q.destroyed&&Q.constructed&&Q.length===0&&!Q.errored&&Q.buffered.length===0&&!Q.finished&&!Q.writing&&!Q.errorEmitted&&!Q.closeEmitted;return Gq("needFinish",L,H),L}function Hq(Q,H){let L=!1;function d(f){if(L){n(Q,f!==null&&f!==void 0?f:Z());return}if(L=!0,H.pendingcb--,f){const r=H[F].splice(0);for(let q=0;q<r.length;q++)r[q](f);n(Q,f,H.sync)}else if(e(H))H.prefinished=!0,Q.emit("prefinish"),H.pendingcb++,Xq(Kq,Q,H)}H.sync=!0,H.pendingcb++;try{Q._final(d)}catch(f){d(f)}H.sync=!1}function $q(Q,H){if(!H.prefinished&&!H.finalCalled)if(typeof Q._final==="function"&&!H.destroyed)H.finalCalled=!0,Hq(Q,H);else H.prefinished=!0,Q.emit("prefinish")}function qq(Q,H,L){if(!e(H,Q.__id))return;if($q(Q,H),H.pendingcb===0){if(L)H.pendingcb++,Xq((d,f)=>{if(e(f))Kq(d,f);else f.pendingcb--},Q,H);else if(e(H))H.pendingcb++,Kq(Q,H)}}function Kq(Q,H){H.pendingcb--,H.finished=!0;const L=H[F].splice(0);for(let d=0;d<L.length;d++)L[d]();if(Q.emit("finish"),H.autoDestroy){const d=Q._readableState;if(!d||d.autoDestroy&&(d.endEmitted||d.readable===!1))Q.destroy()}}M(Y.prototype,{closed:{get(){return this._writableState?this._writableState.closed:!1}},destroyed:{get(){return this._writableState?this._writableState.destroyed:!1},set(Q){if(this._writableState)this._writableState.destroyed=Q}},writable:{get(){const Q=this._writableState;return!!Q&&Q.writable!==!1&&!Q.destroyed&&!Q.errored&&!Q.ending&&!Q.ended},set(Q){if(this._writableState)this._writableState.writable=!!Q}},writableFinished:{get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{get(){const Q=this._writableState;if(!Q)return!1;return!Q.destroyed&&!Q.ending&&Q.needDrain}},writableHighWaterMark:{get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{get(){return this._writableState?this._writableState.corked:0}},writableLength:{get(){return this._writableState&&this._writableState.length}},errored:{enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});var Qq=O.destroy;Y.prototype.destroy=function(Q,H){const L=this._writableState;if(!L.destroyed&&(L.bufferedIndex<L.buffered.length||L[F].length))Xq(o,L);return Qq.call(this,Q,H),this},Y.prototype._undestroy=O.undestroy,Y.prototype._destroy=function(Q,H){H(Q)},Y.prototype[Iq.captureRejectionSymbol]=function(Q){this.destroy(Q)};var V;function h(){if(V===void 0)V={};return V}Y.fromWeb=function(Q,H){return h().newStreamWritableFromWritableStream(Q,H)},Y.toWeb=function(Q){return h().newWritableStreamFromStreamWritable(Q)}}}),HQ=Bq({"node_modules/readable-stream/lib/internal/streams/duplexify.js"(a,j){var{isReadable:B,isWritable:G,isIterable:y,isNodeStream:A,isReadableNodeStream:M,isWritableNodeStream:R,isDuplexNodeStream:P}=Eq(),g=Fq(),{AbortError:k,codes:{ERR_INVALID_ARG_TYPE:c,ERR_INVALID_RETURN_VALUE:O}}=Wq(),{destroyer:l}=Tq(),D=Mq(),p=_q(),{createDeferredPromise:E}=Aq(),I=hq(),Z=typeof Blob!=="undefined"?function i($){return $ instanceof Blob}:function i($){return!1},{FunctionPrototypeCall:U}=Vq();class T extends D{constructor(i){super(i);if((i===null||i===void 0?void 0:i.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if((i===null||i===void 0?void 0:i.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}j.exports=function i($,n){if(P($))return $;if(M($))return t({readable:$});if(R($))return t({writable:$});if(A($))return t({writable:!1,readable:!1});if(typeof $==="function"){const{value:K,write:F,final:m,destroy:u}=_($);if(y(K))return I(T,K,{objectMode:!0,write:F,final:m,destroy:u});const J=K===null||K===void 0?void 0:K.then;if(typeof J==="function"){let z;const w=U(J,K,(S)=>{if(S!=null)throw new O("nully","body",S)},(S)=>{l(z,S)});return z=new T({objectMode:!0,readable:!1,write:F,final(S){m(async()=>{try{await w,Xq(S,null)}catch(N){Xq(S,N)}})},destroy:u})}throw new O("Iterable, AsyncIterable or AsyncFunction",n,K)}if(Z($))return i($.arrayBuffer());if(y($))return I(T,$,{objectMode:!0,writable:!1});if(typeof($===null||$===void 0?void 0:$.writable)==="object"||typeof($===null||$===void 0?void 0:$.readable)==="object"){const K=$!==null&&$!==void 0&&$.readable?M($===null||$===void 0?void 0:$.readable)?$===null||$===void 0?void 0:$.readable:i($.readable):void 0,F=$!==null&&$!==void 0&&$.writable?R($===null||$===void 0?void 0:$.writable)?$===null||$===void 0?void 0:$.writable:i($.writable):void 0;return t({readable:K,writable:F})}const Y=$===null||$===void 0?void 0:$.then;if(typeof Y==="function"){let K;return U(Y,$,(F)=>{if(F!=null)K.push(F);K.push(null)},(F)=>{l(K,F)}),K=new T({objectMode:!0,writable:!1,read(){}})}throw new c(n,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],$)};function _(i){let{promise:$,resolve:n}=E();const Y=new AbortController,K=Y.signal;return{value:i(async function*(){while(!0){const m=$;$=null;const{chunk:u,done:J,cb:z}=await m;if(Xq(z),J)return;if(K.aborted)throw new k(void 0,{cause:K.reason});({promise:$,resolve:n}=E()),yield u}}(),{signal:K}),write(m,u,J){const z=n;n=null,z({chunk:m,done:!1,cb:J})},final(m){const u=n;n=null,u({done:!0,cb:m})},destroy(m,u){Y.abort(),u(m)}}}function t(i){const $=i.readable&&typeof i.readable.read!=="function"?p.wrap(i.readable):i.readable,n=i.writable;let Y=!!B($),K=!!G(n),F,m,u,J,z;function w(S){const N=J;if(J=null,N)N(S);else if(S)z.destroy(S);else if(!Y&&!K)z.destroy()}if(z=new T({readableObjectMode:!!($!==null&&$!==void 0&&$.readableObjectMode),writableObjectMode:!!(n!==null&&n!==void 0&&n.writableObjectMode),readable:Y,writable:K}),K)g(n,(S)=>{if(K=!1,S)l($,S);w(S)}),z._write=function(S,N,W){if(n.write(S,N))W();else F=W},z._final=function(S){n.end(),m=S},n.on("drain",function(){if(F){const S=F;F=null,S()}}),n.on("finish",function(){if(m){const S=m;m=null,S()}});if(Y)g($,(S)=>{if(Y=!1,S)l($,S);w(S)}),$.on("readable",function(){if(u){const S=u;u=null,S()}}),$.on("end",function(){z.push(null)}),z._read=function(){while(!0){const S=$.read();if(S===null){u=z._read;return}if(!z.push(S))return}};return z._destroy=function(S,N){if(!S&&J!==null)S=new k;if(u=null,F=null,m=null,J===null)N(S);else J=N,l(n,S),l($,S)},z}}}),Mq=Bq({"node_modules/readable-stream/lib/internal/streams/duplex.js"(a,j){var{ObjectDefineProperties:B,ObjectGetOwnPropertyDescriptor:G,ObjectKeys:y,ObjectSetPrototypeOf:A}=Vq(),M=_q();function R(O){if(!(this instanceof R))return new R(O);if(M.call(this,O),Uq.call(this,O),O){if(this.allowHalfOpen=O.allowHalfOpen!==!1,O.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(O.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}j.exports=R,A(R.prototype,M.prototype),A(R,M);for(var P in Uq.prototype)if(!R.prototype[P])R.prototype[P]=Uq.prototype[P];B(R.prototype,{writable:G(Uq.prototype,"writable"),writableHighWaterMark:G(Uq.prototype,"writableHighWaterMark"),writableObjectMode:G(Uq.prototype,"writableObjectMode"),writableBuffer:G(Uq.prototype,"writableBuffer"),writableLength:G(Uq.prototype,"writableLength"),writableFinished:G(Uq.prototype,"writableFinished"),writableCorked:G(Uq.prototype,"writableCorked"),writableEnded:G(Uq.prototype,"writableEnded"),writableNeedDrain:G(Uq.prototype,"writableNeedDrain"),destroyed:{get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set(O){if(this._readableState&&this._writableState)this._readableState.destroyed=O,this._writableState.destroyed=O}}});var g;function k(){if(g===void 0)g={};return g}R.fromWeb=function(O,l){return k().newStreamDuplexFromReadableWritablePair(O,l)},R.toWeb=function(O){return k().newReadableWritablePairFromDuplex(O)};var c;R.from=function(O){if(!c)c=HQ();return c(O,"body")}}}),mq=Bq({"node_modules/readable-stream/lib/internal/streams/transform.js"(a,j){var{ObjectSetPrototypeOf:B,Symbol:G}=Vq(),{ERR_METHOD_NOT_IMPLEMENTED:y}=Wq().codes,A=Mq();function M(k){if(!(this instanceof M))return new M(k);if(A.call(this,k),this._readableState.sync=!1,this[R]=null,k){if(typeof k.transform==="function")this._transform=k.transform;if(typeof k.flush==="function")this._flush=k.flush}this.on("prefinish",g.bind(this))}B(M.prototype,A.prototype),B(M,A),j.exports=M;var R=G("kCallback");function P(k){if(typeof this._flush==="function"&&!this.destroyed)this._flush((c,O)=>{if(c){if(k)k(c);else this.destroy(c);return}if(O!=null)this.push(O);if(this.push(null),k)k()});else if(this.push(null),k)k()}function g(){if(this._final!==P)P.call(this)}M.prototype._final=P,M.prototype._transform=function(k,c,O){throw new y("_transform()")},M.prototype._write=function(k,c,O){const l=this._readableState,D=this._writableState,p=l.length;this._transform(k,c,(E,I)=>{if(E){O(E);return}if(I!=null)this.push(I);if(D.ended||p===l.length||l.length<l.highWaterMark||l.highWaterMark===0||l.length===0)O();else this[R]=O})},M.prototype._read=function(){if(this[R]){const k=this[R];this[R]=null,k()}}}}),cq=Bq({"node_modules/readable-stream/lib/internal/streams/passthrough.js"(a,j){var{ObjectSetPrototypeOf:B}=Vq(),G=mq();function y(A){if(!(this instanceof y))return new y(A);G.call(this,A)}B(y.prototype,G.prototype),B(y,G),y.prototype._transform=function(A,M,R){R(null,A)},j.exports=y}}),gq=Bq({"node_modules/readable-stream/lib/internal/streams/pipeline.js"(a,j){var{ArrayIsArray:B,Promise:G,SymbolAsyncIterator:y}=Vq(),A=Fq(),{once:M}=Aq(),R=Tq(),P=Mq(),{aggregateTwoErrors:g,codes:{ERR_INVALID_ARG_TYPE:k,ERR_INVALID_RETURN_VALUE:c,ERR_MISSING_ARGS:O,ERR_STREAM_DESTROYED:l},AbortError:D}=Wq(),{validateFunction:p,validateAbortSignal:E}=Cq(),{isIterable:I,isReadable:Z,isReadableNodeStream:U,isNodeStream:T}=Eq(),_,t;function i(J,z,w){let S=!1;J.on("close",()=>{S=!0});const N=A(J,{readable:z,writable:w},(W)=>{S=!W});return{destroy:(W)=>{if(S)return;S=!0,R.destroyer(J,W||new l("pipe"))},cleanup:N}}function $(J){return p(J[J.length-1],"streams[stream.length - 1]"),J.pop()}function n(J){if(I(J))return J;else if(U(J))return Y(J);throw new k("val",["Readable","Iterable","AsyncIterable"],J)}async function*Y(J){if(!t)t=_q();yield*t.prototype[y].call(J)}async function K(J,z,w,{end:S}){let N,W=null;const b=(e)=>{if(e)N=e;if(W){const Hq=W;W=null,Hq()}},o=()=>new G((e,Hq)=>{if(N)Hq(N);else W=()=>{if(N)Hq(N);else e()}});z.on("drain",b);const s=A(z,{readable:!1},b);try{if(z.writableNeedDrain)await o();for await(let e of J)if(!z.write(e))await o();if(S)z.end();await o(),w()}catch(e){w(N!==e?g(N,e):e)}finally{s(),z.off("drain",b)}}function F(...J){return m(J,M($(J)))}function m(J,z,w){if(J.length===1&&B(J[0]))J=J[0];if(J.length<2)throw new O("streams");const S=new AbortController,N=S.signal,W=w===null||w===void 0?void 0:w.signal,b=[];E(W,"options.signal");function o(){Kq(new D)}W===null||W===void 0||W.addEventListener("abort",o);let s,e;const Hq=[];let $q=0;function qq(h){Kq(h,--$q===0)}function Kq(h,Q){if(h&&(!s||s.code==="ERR_STREAM_PREMATURE_CLOSE"))s=h;if(!s&&!Q)return;while(Hq.length)Hq.shift()(s);if(W===null||W===void 0||W.removeEventListener("abort",o),S.abort(),Q){if(!s)b.forEach((H)=>H());Xq(z,s,e)}}let Qq;for(let h=0;h<J.length;h++){const Q=J[h],H=h<J.length-1,L=h>0,d=H||(w===null||w===void 0?void 0:w.end)!==!1,f=h===J.length-1;if(T(Q)){let r=function(q){if(q&&q.name!=="AbortError"&&q.code!=="ERR_STREAM_PREMATURE_CLOSE")qq(q)};if(d){const{destroy:q,cleanup:X}=i(Q,H,L);if(Hq.push(q),Z(Q)&&f)b.push(X)}if(Q.on("error",r),Z(Q)&&f)b.push(()=>{Q.removeListener("error",r)})}if(h===0)if(typeof Q==="function"){if(Qq=Q({signal:N}),!I(Qq))throw new c("Iterable, AsyncIterable or Stream","source",Qq)}else if(I(Q)||U(Q))Qq=Q;else Qq=P.from(Q);else if(typeof Q==="function")if(Qq=n(Qq),Qq=Q(Qq,{signal:N}),H){if(!I(Qq,!0))throw new c("AsyncIterable",`transform[${h-1}]`,Qq)}else{var V;if(!_)_=cq();const r=new _({objectMode:!0}),q=(V=Qq)===null||V===void 0?void 0:V.then;if(typeof q==="function")$q++,q.call(Qq,(x)=>{if(e=x,x!=null)r.write(x);if(d)r.end();Xq(qq)},(x)=>{r.destroy(x),Xq(qq,x)});else if(I(Qq,!0))$q++,K(Qq,r,qq,{end:d});else throw new c("AsyncIterable or Promise","destination",Qq);Qq=r;const{destroy:X,cleanup:C}=i(Qq,!1,!0);if(Hq.push(X),f)b.push(C)}else if(T(Q)){if(U(Qq)){$q+=2;const r=u(Qq,Q,qq,{end:d});if(Z(Q)&&f)b.push(r)}else if(I(Qq))$q++,K(Qq,Q,qq,{end:d});else throw new k("val",["Readable","Iterable","AsyncIterable"],Qq);Qq=Q}else Qq=P.from(Q)}if(N!==null&&N!==void 0&&N.aborted||W!==null&&W!==void 0&&W.aborted)Xq(o);return Qq}function u(J,z,w,{end:S}){if(J.pipe(z,{end:S}),S)J.once("end",()=>z.end());else w();return A(J,{readable:!0,writable:!1},(N)=>{const W=J._readableState;if(N&&N.code==="ERR_STREAM_PREMATURE_CLOSE"&&W&&W.ended&&!W.errored&&!W.errorEmitted)J.once("end",w).once("error",w);else w(N)}),A(z,{readable:!1,writable:!0},w)}j.exports={pipelineImpl:m,pipeline:F}}}),KQ=Bq({"node_modules/readable-stream/lib/internal/streams/compose.js"(a,j){var{pipeline:B}=gq(),G=Mq(),{destroyer:y}=Tq(),{isNodeStream:A,isReadable:M,isWritable:R}=Eq(),{AbortError:P,codes:{ERR_INVALID_ARG_VALUE:g,ERR_MISSING_ARGS:k}}=Wq();j.exports=function c(...O){if(O.length===0)throw new k("streams");if(O.length===1)return G.from(O[0]);const l=[...O];if(typeof O[0]==="function")O[0]=G.from(O[0]);if(typeof O[O.length-1]==="function"){const $=O.length-1;O[$]=G.from(O[$])}for(let $=0;$<O.length;++$){if(!A(O[$]))continue;if($<O.length-1&&!M(O[$]))throw new g(`streams[${$}]`,l[$],"must be readable");if($>0&&!R(O[$]))throw new g(`streams[${$}]`,l[$],"must be writable")}let D,p,E,I,Z;function U($){const n=I;if(I=null,n)n($);else if($)Z.destroy($);else if(!i&&!t)Z.destroy()}const T=O[0],_=B(O,U),t=!!R(T),i=!!M(_);if(Z=new G({writableObjectMode:!!(T!==null&&T!==void 0&&T.writableObjectMode),readableObjectMode:!!(_!==null&&_!==void 0&&_.writableObjectMode),writable:t,readable:i}),t)Z._write=function($,n,Y){if(T.write($,n))Y();else D=Y},Z._final=function($){T.end(),p=$},T.on("drain",function(){if(D){const $=D;D=null,$()}}),_.on("finish",function(){if(p){const $=p;p=null,$()}});if(i)_.on("readable",function(){if(E){const $=E;E=null,$()}}),_.on("end",function(){Z.push(null)}),Z._read=function(){while(!0){const $=_.read();if($===null){E=Z._read;return}if(!Z.push($))return}};return Z._destroy=function($,n){if(!$&&I!==null)$=new P;if(E=null,D=null,p=null,I===null)n($);else I=n,y(_,$)},Z}}}),dq=Bq({"node_modules/readable-stream/lib/stream/promises.js"(a,j){var{ArrayPrototypePop:B,Promise:G}=Vq(),{isIterable:y,isNodeStream:A}=Eq(),{pipelineImpl:M}=gq(),{finished:R}=Fq();function P(...g){return new G((k,c)=>{let O,l;const D=g[g.length-1];if(D&&typeof D==="object"&&!A(D)&&!y(D)){const p=B(g);O=p.signal,l=p.end}M(g,(p,E)=>{if(p)c(p);else k(E)},{signal:O,end:l})})}j.exports={finished:R,pipeline:P}}}),ZQ=Bq({"node_modules/readable-stream/lib/stream.js"(a,j){var{ObjectDefineProperty:B,ObjectKeys:G,ReflectApply:y}=Vq(),{promisify:{custom:A}}=Aq(),{streamReturningOperators:M,promiseReturningOperators:R}=XQ(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:P}}=Wq(),g=KQ(),{pipeline:k}=gq(),{destroyer:c}=Tq(),O=Fq(),l=dq(),D=Eq(),p=j.exports=Rq().Stream;p.isDisturbed=D.isDisturbed,p.isErrored=D.isErrored,p.isWritable=D.isWritable,p.isReadable=D.isReadable,p.Readable=_q();for(let I of G(M)){let Z=function(...T){if(new.target)throw P();return p.Readable.from(y(U,this,T))};const U=M[I];B(Z,"name",{value:U.name}),B(Z,"length",{value:U.length}),B(p.Readable.prototype,I,{value:Z,enumerable:!1,configurable:!0,writable:!0})}for(let I of G(R)){let Z=function(...T){if(new.target)throw P();return y(U,this,T)};const U=R[I];B(Z,"name",{value:U.name}),B(Z,"length",{value:U.length}),B(p.Readable.prototype,I,{value:Z,enumerable:!1,configurable:!0,writable:!0})}p.Writable=bq(),p.Duplex=Mq(),p.Transform=mq(),p.PassThrough=cq(),p.pipeline=k;var{addAbortSignal:E}=Sq();p.addAbortSignal=E,p.finished=O,p.destroy=c,p.compose=g,B(p,"promises",{configurable:!0,enumerable:!0,get(){return l}}),B(k,A,{enumerable:!0,get(){return l.pipeline}}),B(O,A,{enumerable:!0,get(){return l.finished}}),p.Stream=p,p._isUint8Array=function I(Z){return Z instanceof Uint8Array},p._uint8ArrayToBuffer=function I(Z){return new Buffer(Z.buffer,Z.byteOffset,Z.byteLength)}}}),BQ=Bq({"node_modules/readable-stream/lib/ours/index.js"(a,j){const B=ZQ(),G=dq(),y=B.Readable.destroy;j.exports=B,j.exports._uint8ArrayToBuffer=B._uint8ArrayToBuffer,j.exports._isUint8Array=B._isUint8Array,j.exports.isDisturbed=B.isDisturbed,j.exports.isErrored=B.isErrored,j.exports.isWritable=B.isWritable,j.exports.isReadable=B.isReadable,j.exports.Readable=B.Readable,j.exports.Writable=B.Writable,j.exports.Duplex=B.Duplex,j.exports.Transform=B.Transform,j.exports.PassThrough=B.PassThrough,j.exports.addAbortSignal=B.addAbortSignal,j.exports.finished=B.finished,j.exports.destroy=B.destroy,j.exports.destroy=y,j.exports.pipeline=B.pipeline,j.exports.compose=B.compose,j.exports._getNativeReadableStreamPrototype=lq,j.exports.NativeWritable=iq,zq.defineProperty(B,"promises",{configurable:!0,enumerable:!0,get(){return G}}),j.exports.Stream=B.Stream,j.exports.default=j.exports}}),$Q={0:void 0,1:void 0,2:void 0,3:void 0,4:void 0,5:void 0},Uq=bq(),iq=class a extends Uq{#q;#Q;#X=!0;_construct;_destroy;_final;constructor(j,B={}){super(B);this._construct=this.#H,this._destroy=this.#K,this._final=this.#Z,this.#q=j}#H(j){this._writableState.constructed=!0,this.constructed=!0,j()}#J(){if(typeof this.#q==="object")if(typeof this.#q.write==="function")this.#Q=this.#q;else throw new Error("Invalid FileSink");else this.#Q=Bun.file(this.#q).writer()}write(j,B,G,y=this.#X){if(!y)return this.#X=!1,super.write(j,B,G);if(!this.#Q)this.#J();var A=this.#Q,M=A.write(j);if(xq(M))return M.then(()=>{this.emit("drain"),A.flush(!0)}),!1;if(A.flush(!0),G)G(null,j.byteLength);return!0}end(j,B,G,y=this.#X){return super.end(j,B,G,y)}#K(j,B){if(this._writableState.destroyed=!0,B)B(j)}#Z(j){if(this.#Q)this.#Q.end();if(j)j()}ref(){if(!this.#Q)this.#J();this.#Q.ref()}unref(){if(!this.#Q)return;this.#Q.unref()}},Yq=BQ();Yq[Symbol.for("CommonJS")]=0;Yq[Symbol.for("::bunternal::")]={_ReadableFromWeb:pq,_ReadableFromWebForUndici:uq};var cQ=Yq,EQ=Yq._uint8ArrayToBuffer,IQ=Yq._isUint8Array,TQ=Yq.isDisturbed,PQ=Yq.isErrored,xQ=Yq.isWritable,OQ=Yq.isReadable,CQ=Yq.Readable,Uq=Yq.Writable,_Q=Yq.Duplex,DQ=Yq.Transform,wQ=Yq.PassThrough,vQ=Yq.addAbortSignal,RQ=Yq.finished,SQ=Yq.destroy,gQ=Yq.pipeline,kQ=Yq.compose,VQ=Yq.Stream,fQ=Yq.eos=Fq,yQ=Yq._getNativeReadableStreamPrototype,iq=Yq.NativeWritable,hQ=VQ.promises;export{hQ as promises,gQ as pipeline,xQ as isWritable,OQ as isReadable,PQ as isErrored,TQ as isDisturbed,RQ as finished,fQ as eos,SQ as destroy,cQ as default,kQ as compose,vQ as addAbortSignal,EQ as _uint8ArrayToBuffer,IQ as _isUint8Array,yQ as _getNativeReadableStreamPrototype,Uq as Writable,DQ as Transform,VQ as Stream,CQ as Readable,wQ as PassThrough,iq as NativeWritable,_Q as Duplex};
+import{EventEmitter as Iq} from"bun:events_native";import{StringDecoder as aq} from"node:string_decoder";var tq=function(a){return typeof a==="object"&&a!==null&&a instanceof ReadableStream},eq=function(a,j){if(typeof a!=="boolean")throw new qQ(j,"boolean",a)};var qQ=function(a,j,B){return new Error(`The argument '${a}' is invalid. Received '${B}' for type '${j}'`)},QQ=function(a,j,B){return new Error(`The value '${j}' is invalid for argument '${a}'. Reason: ${B}`)},YQ=function(a,j){var[B,G,y,A,M,R,T]=globalThis[Symbol.for("Bun.lazy")](a),g=[!1],k=function(E,P,Z,U){if(P>0){const I=Z.subarray(0,P),_=Z.subarray(P);if(I.byteLength>0)E.push(I);if(U)E.push(null);return _.byteLength>0?_:void 0}if(U)E.push(null);return Z},c=function(E,P,Z,U){if(P.byteLength>0)E.push(P);if(U)E.push(null);return Z},O=process.env.BUN_DISABLE_DYNAMIC_CHUNK_SIZE!=="1";const l=new FinalizationRegistry((E)=>E&&M(E)),D=512;var p=class E extends j{#q;#Q=1;#X=!1;#H=void 0;#J;#K=!1;#Z=!O;#B;constructor(P,Z={}){super(Z);if(typeof Z.highWaterMark==="number")this.#J=Z.highWaterMark;else this.#J=262144;this.#q=P,this.#X=!1,this.#H=void 0,this.#K=!1,this.#B={},l.register(this,this.#q,this.#B)}_read(P){if(this.#K)return;var Z=this.#q;if(Z===0){this.push(null);return}if(!this.#X)this.#$(Z);return this.#V(this.#z(P),Z)}#$(P){this.#X=!0;const Z=G(P,this.#J);if(typeof Z==="number"&&Z>1)this.#Z=!0,this.#J=Math.min(this.#J,Z);if(T){const U=T(P);if((U?.byteLength??0)>0)this.push(U)}}#z(P=this.#J){var Z=this.#H;if(Z?.byteLength??0<D){var U=P>D?P:D;this.#H=Z=new Buffer(U)}return Z}#Y(P,Z,U){if(typeof P==="number"){if(P>=this.#J&&!this.#Z&&!U)this.#J*=2,this.#Z=!0;return k(this,P,Z,U)}else if(typeof P==="boolean")return process.nextTick(()=>{this.push(null)}),Z?.byteLength??0>0?Z:void 0;else if(ArrayBuffer.isView(P)){if(P.byteLength>=this.#J&&!this.#Z&&!U)this.#J*=2,this.#Z=!0;return c(this,P,Z,U)}else throw new Error("Invalid result from pull")}#V(P,Z){g[0]=!1;var U=B(Z,P,g);if(xq(U))return this.#K=!0,U.then((I)=>{this.#K=!1,this.#H=this.#Y(I,P,g[0])},(I)=>{errorOrDestroy(this,I)});else this.#H=this.#Y(U,P,g[0])}_destroy(P,Z){var U=this.#q;if(U===0){Z(P);return}if(l.unregister(this.#B),this.#q=0,R)R(U,!1);y(U,P),Z(P)}ref(){var P=this.#q;if(P===0)return;if(this.#Q++===0)R(P,!0)}unref(){var P=this.#q;if(P===0)return;if(this.#Q--===1)R(P,!1)}};if(!R)p.prototype.ref=void 0,p.prototype.unref=void 0;return p},lq=function(a,j){return $Q[a]||=YQ(a,j)},zQ=function(a,j,B){if(!(j&&typeof j==="object"&&j instanceof ReadableStream))return;const G=sq(j);if(!G){Gq("no native readable stream");return}const{stream:y,data:A}=G;return new(lq(A,a))(y,B)};var Gq=()=>{},{isPromise:xq,isCallable:oq,direct:sq,Object:zq}=globalThis[Symbol.for("Bun.lazy")]("primordials"),GQ=zq.create,MQ=zq.defineProperty,FQ=zq.getOwnPropertyDescriptor,rq=zq.getOwnPropertyNames,LQ=zq.getPrototypeOf,jQ=zq.prototype.hasOwnProperty,NQ=zq.setPrototypeOf,Bq=(a,j)=>function B(){return j||(0,a[rq(a)[0]])((j={exports:{}}).exports,j),j.exports};var Xq=process.nextTick;var AQ=Array.isArray,Vq=Bq({"node_modules/readable-stream/lib/ours/primordials.js"(a,j){j.exports={ArrayIsArray(B){return Array.isArray(B)},ArrayPrototypeIncludes(B,G){return B.includes(G)},ArrayPrototypeIndexOf(B,G){return B.indexOf(G)},ArrayPrototypeJoin(B,G){return B.join(G)},ArrayPrototypeMap(B,G){return B.map(G)},ArrayPrototypePop(B,G){return B.pop(G)},ArrayPrototypePush(B,G){return B.push(G)},ArrayPrototypeSlice(B,G,y){return B.slice(G,y)},Error,FunctionPrototypeCall(B,G,...y){return B.call(G,...y)},FunctionPrototypeSymbolHasInstance(B,G){return Function.prototype[Symbol.hasInstance].call(B,G)},MathFloor:Math.floor,Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(B,G){return zq.defineProperties(B,G)},ObjectDefineProperty(B,G,y){return zq.defineProperty(B,G,y)},ObjectGetOwnPropertyDescriptor(B,G){return zq.getOwnPropertyDescriptor(B,G)},ObjectKeys(B){return zq.keys(B)},ObjectSetPrototypeOf(B,G){return zq.setPrototypeOf(B,G)},Promise,PromisePrototypeCatch(B,G){return B.catch(G)},PromisePrototypeThen(B,G,y){return B.then(G,y)},PromiseReject(B){return Promise.reject(B)},ReflectApply:Reflect.apply,RegExpPrototypeTest(B,G){return B.test(G)},SafeSet:Set,String,StringPrototypeSlice(B,G,y){return B.slice(G,y)},StringPrototypeToLowerCase(B){return B.toLowerCase()},StringPrototypeToUpperCase(B){return B.toUpperCase()},StringPrototypeTrim(B){return B.trim()},Symbol,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,TypedArrayPrototypeSet(B,G,y){return B.set(G,y)},Uint8Array}}}),Aq=Bq({"node_modules/readable-stream/lib/ours/util.js"(a,j){var B=zq.getPrototypeOf(async function(){}).constructor,G=typeof Blob!=="undefined"?function A(M){return M instanceof Blob}:function A(M){return!1},y=class extends Error{constructor(A){if(!Array.isArray(A))throw new TypeError(`Expected input to be an Array, got ${typeof A}`);let M="";for(let R=0;R<A.length;R++)M+=` ${A[R].stack}
+`;super(M);this.name="AggregateError",this.errors=A}};j.exports={AggregateError:y,once(A){let M=!1;return function(...R){if(M)return;M=!0,A.apply(this,R)}},createDeferredPromise:function(){let A,M;return{promise:new Promise((T,g)=>{A=T,M=g}),resolve:A,reject:M}},promisify(A){return new Promise((M,R)=>{A((T,...g)=>{if(T)return R(T);return M(...g)})})},debuglog(){return function(){}},format(A,...M){return A.replace(/%([sdifj])/g,function(...[R,T]){const g=M.shift();if(T==="f")return g.toFixed(6);else if(T==="j")return JSON.stringify(g);else if(T==="s"&&typeof g==="object")return`${g.constructor!==zq?g.constructor.name:""} {}`.trim();else return g.toString()})},inspect(A){switch(typeof A){case"string":if(A.includes("'")){if(!A.includes('"'))return`"${A}"`;else if(!A.includes("`")&&!A.includes("${"))return`\`${A}\``}return`'${A}'`;case"number":if(isNaN(A))return"NaN";else if(zq.is(A,-0))return String(A);return A;case"bigint":return`${String(A)}n`;case"boolean":case"undefined":return String(A);case"object":return"{}"}},types:{isAsyncFunction(A){return A instanceof B},isArrayBufferView(A){return ArrayBuffer.isView(A)}},isBlob:G},j.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")}}),Wq=Bq({"node_modules/readable-stream/lib/ours/errors.js"(a,j){var{format:B,inspect:G,AggregateError:y}=Aq(),A=globalThis.AggregateError||y,M=Symbol("kIsNodeError"),R=["string","function","number","object","Function","Object","boolean","bigint","symbol"],T=/^([A-Z][a-z0-9]*)+$/,g="__node_internal_",k={};function c(Z,U){if(!Z)throw new k.ERR_INTERNAL_ASSERTION(U)}function O(Z){let U="",I=Z.length;const _=Z[0]==="-"?1:0;for(;I>=_+4;I-=3)U=`_${Z.slice(I-3,I)}${U}`;return`${Z.slice(0,I)}${U}`}function l(Z,U,I){if(typeof U==="function")return c(U.length<=I.length,`Code: ${Z}; The provided arguments length (${I.length}) does not match the required ones (${U.length}).`),U(...I);const _=(U.match(/%[dfijoOs]/g)||[]).length;if(c(_===I.length,`Code: ${Z}; The provided arguments length (${I.length}) does not match the required ones (${_}).`),I.length===0)return U;return B(U,...I)}function D(Z,U,I){if(!I)I=Error;class _ extends I{constructor(...t){super(l(Z,U,t))}toString(){return`${this.name} [${Z}]: ${this.message}`}}zq.defineProperties(_.prototype,{name:{value:I.name,writable:!0,enumerable:!1,configurable:!0},toString:{value(){return`${this.name} [${Z}]: ${this.message}`},writable:!0,enumerable:!1,configurable:!0}}),_.prototype.code=Z,_.prototype[M]=!0,k[Z]=_}function p(Z){const U=g+Z.name;return zq.defineProperty(Z,"name",{value:U}),Z}function E(Z,U){if(Z&&U&&Z!==U){if(Array.isArray(U.errors))return U.errors.push(Z),U;const I=new A([U,Z],U.message);return I.code=U.code,I}return Z||U}var P=class extends Error{constructor(Z="The operation was aborted",U=void 0){if(U!==void 0&&typeof U!=="object")throw new k.ERR_INVALID_ARG_TYPE("options","Object",U);super(Z,U);this.code="ABORT_ERR",this.name="AbortError"}};D("ERR_ASSERTION","%s",Error),D("ERR_INVALID_ARG_TYPE",(Z,U,I)=>{if(c(typeof Z==="string","'name' must be a string"),!Array.isArray(U))U=[U];let _="The ";if(Z.endsWith(" argument"))_+=`${Z} `;else _+=`"${Z}" ${Z.includes(".")?"property":"argument"} `;_+="must be ";const t=[],i=[],$=[];for(let Y of U)if(c(typeof Y==="string","All expected entries have to be of type string"),R.includes(Y))t.push(Y.toLowerCase());else if(T.test(Y))i.push(Y);else c(Y!=="object",'The value "object" should be written as "Object"'),$.push(Y);if(i.length>0){const Y=t.indexOf("object");if(Y!==-1)t.splice(t,Y,1),i.push("Object")}if(t.length>0){switch(t.length){case 1:_+=`of type ${t[0]}`;break;case 2:_+=`one of type ${t[0]} or ${t[1]}`;break;default:{const Y=t.pop();_+=`one of type ${t.join(", ")}, or ${Y}`}}if(i.length>0||$.length>0)_+=" or "}if(i.length>0){switch(i.length){case 1:_+=`an instance of ${i[0]}`;break;case 2:_+=`an instance of ${i[0]} or ${i[1]}`;break;default:{const Y=i.pop();_+=`an instance of ${i.join(", ")}, or ${Y}`}}if($.length>0)_+=" or "}switch($.length){case 0:break;case 1:if($[0].toLowerCase()!==$[0])_+="an ";_+=`${$[0]}`;break;case 2:_+=`one of ${$[0]} or ${$[1]}`;break;default:{const Y=$.pop();_+=`one of ${$.join(", ")}, or ${Y}`}}if(I==null)_+=`. Received ${I}`;else if(typeof I==="function"&&I.name)_+=`. Received function ${I.name}`;else if(typeof I==="object"){var n;if((n=I.constructor)!==null&&n!==void 0&&n.name)_+=`. Received an instance of ${I.constructor.name}`;else{const Y=G(I,{depth:-1});_+=`. Received ${Y}`}}else{let Y=G(I,{colors:!1});if(Y.length>25)Y=`${Y.slice(0,25)}...`;_+=`. Received type ${typeof I} (${Y})`}return _},TypeError),D("ERR_INVALID_ARG_VALUE",(Z,U,I="is invalid")=>{let _=G(U);if(_.length>128)_=_.slice(0,128)+"...";return`The ${Z.includes(".")?"property":"argument"} '${Z}' ${I}. Received ${_}`},TypeError),D("ERR_INVALID_RETURN_VALUE",(Z,U,I)=>{var _;const t=I!==null&&I!==void 0&&(_=I.constructor)!==null&&_!==void 0&&_.name?`instance of ${I.constructor.name}`:`type ${typeof I}`;return`Expected ${Z} to be returned from the "${U}" function but got ${t}.`},TypeError),D("ERR_MISSING_ARGS",(...Z)=>{c(Z.length>0,"At least one arg needs to be specified");let U;const I=Z.length;switch(Z=(Array.isArray(Z)?Z:[Z]).map((_)=>`"${_}"`).join(" or "),I){case 1:U+=`The ${Z[0]} argument`;break;case 2:U+=`The ${Z[0]} and ${Z[1]} arguments`;break;default:{const _=Z.pop();U+=`The ${Z.join(", ")}, and ${_} arguments`}break}return`${U} must be specified`},TypeError),D("ERR_OUT_OF_RANGE",(Z,U,I)=>{c(U,'Missing "range" argument');let _;if(Number.isInteger(I)&&Math.abs(I)>4294967296)_=O(String(I));else if(typeof I==="bigint"){if(_=String(I),I>2n**32n||I<-(2n**32n))_=O(_);_+="n"}else _=G(I);return`The value of "${Z}" is out of range. It must be ${U}. Received ${_}`},RangeError),D("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error),D("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error),D("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error),D("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error),D("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error),D("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),D("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error),D("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error),D("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error),D("ERR_STREAM_WRITE_AFTER_END","write after end",Error),D("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError),j.exports={AbortError:P,aggregateTwoErrors:p(E),hideStackFrames:p,codes:k}}}),Cq=Bq({"node_modules/readable-stream/lib/internal/validators.js"(a,j){var{ArrayIsArray:B,ArrayPrototypeIncludes:G,ArrayPrototypeJoin:y,ArrayPrototypeMap:A,NumberIsInteger:M,NumberMAX_SAFE_INTEGER:R,NumberMIN_SAFE_INTEGER:T,NumberParseInt:g,RegExpPrototypeTest:k,String:c,StringPrototypeToUpperCase:O,StringPrototypeTrim:l}=Vq(),{hideStackFrames:D,codes:{ERR_SOCKET_BAD_PORT:p,ERR_INVALID_ARG_TYPE:E,ERR_INVALID_ARG_VALUE:P,ERR_OUT_OF_RANGE:Z,ERR_UNKNOWN_SIGNAL:U}}=Wq(),{normalizeEncoding:I}=Aq(),{isAsyncFunction:_,isArrayBufferView:t}=Aq().types,i={};function $(V){return V===(V|0)}function n(V){return V===V>>>0}var Y=/^[0-7]+$/,K="must be a 32-bit unsigned integer or an octal string";function F(V,h,Q){if(typeof V==="undefined")V=Q;if(typeof V==="string"){if(!k(Y,V))throw new P(h,V,K);V=g(V,8)}return u(V,h,0,4294967295),V}var m=D((V,h,Q=T,H=R)=>{if(typeof V!=="number")throw new E(h,"number",V);if(!M(V))throw new Z(h,"an integer",V);if(V<Q||V>H)throw new Z(h,`>= ${Q} && <= ${H}`,V)}),u=D((V,h,Q=-2147483648,H=2147483647)=>{if(typeof V!=="number")throw new E(h,"number",V);if(!$(V)){if(!M(V))throw new Z(h,"an integer",V);throw new Z(h,`>= ${Q} && <= ${H}`,V)}if(V<Q||V>H)throw new Z(h,`>= ${Q} && <= ${H}`,V)}),J=D((V,h,Q)=>{if(typeof V!=="number")throw new E(h,"number",V);if(!n(V)){if(!M(V))throw new Z(h,"an integer",V);throw new Z(h,`>= ${Q?1:0} && < 4294967296`,V)}if(Q&&V===0)throw new Z(h,">= 1 && < 4294967296",V)});function z(V,h){if(typeof V!=="string")throw new E(h,"string",V)}function w(V,h){if(typeof V!=="number")throw new E(h,"number",V)}var S=D((V,h,Q)=>{if(!G(Q,V)){const L="must be one of: "+y(A(Q,(d)=>typeof d==="string"?`'${d}'`:c(d)),", ");throw new P(h,V,L)}});function N(V,h){if(typeof V!=="boolean")throw new E(h,"boolean",V)}var W=D((V,h,Q)=>{const H=Q==null,L=H?!1:Q.allowArray,d=H?!1:Q.allowFunction;if(!(H?!1:Q.nullable)&&V===null||!L&&B(V)||typeof V!=="object"&&(!d||typeof V!=="function"))throw new E(h,"Object",V)}),b=D((V,h,Q=0)=>{if(!B(V))throw new E(h,"Array",V);if(V.length<Q){const H=`must be longer than ${Q}`;throw new P(h,V,H)}});function o(V,h="signal"){if(z(V,h),i[V]===void 0){if(i[O(V)]!==void 0)throw new U(V+" (signals must use all capital letters)");throw new U(V)}}var s=D((V,h="buffer")=>{if(!t(V))throw new E(h,["Buffer","TypedArray","DataView"],V)});function e(V,h){const Q=I(h),H=V.length;if(Q==="hex"&&H%2!==0)throw new P("encoding",h,`is invalid for data of length ${H}`)}function Hq(V,h="Port",Q=!0){if(typeof V!=="number"&&typeof V!=="string"||typeof V==="string"&&l(V).length===0||+V!==+V>>>0||V>65535||V===0&&!Q)throw new p(h,V,Q);return V|0}var $q=D((V,h)=>{if(V!==void 0&&(V===null||typeof V!=="object"||!("aborted"in V)))throw new E(h,"AbortSignal",V)}),qq=D((V,h)=>{if(typeof V!=="function")throw new E(h,"Function",V)}),Kq=D((V,h)=>{if(typeof V!=="function"||_(V))throw new E(h,"Function",V)}),Qq=D((V,h)=>{if(V!==void 0)throw new E(h,"undefined",V)});j.exports={isInt32:$,isUint32:n,parseFileMode:F,validateArray:b,validateBoolean:N,validateBuffer:s,validateEncoding:e,validateFunction:qq,validateInt32:u,validateInteger:m,validateNumber:w,validateObject:W,validateOneOf:S,validatePlainFunction:Kq,validatePort:Hq,validateSignalName:o,validateString:z,validateUint32:J,validateUndefined:Qq,validateAbortSignal:$q}}}),Eq=Bq({"node_modules/readable-stream/lib/internal/streams/utils.js"(a,j){var{Symbol:B,SymbolAsyncIterator:G,SymbolIterator:y}=Vq(),A=B("kDestroyed"),M=B("kIsErrored"),R=B("kIsReadable"),T=B("kIsDisturbed");function g(J,z=!1){var w;return!!(J&&typeof J.pipe==="function"&&typeof J.on==="function"&&(!z||typeof J.pause==="function"&&typeof J.resume==="function")&&(!J._writableState||((w=J._readableState)===null||w===void 0?void 0:w.readable)!==!1)&&(!J._writableState||J._readableState))}function k(J){var z;return!!(J&&typeof J.write==="function"&&typeof J.on==="function"&&(!J._readableState||((z=J._writableState)===null||z===void 0?void 0:z.writable)!==!1))}function c(J){return!!(J&&typeof J.pipe==="function"&&J._readableState&&typeof J.on==="function"&&typeof J.write==="function")}function O(J){return J&&(J._readableState||J._writableState||typeof J.write==="function"&&typeof J.on==="function"||typeof J.pipe==="function"&&typeof J.on==="function")}function l(J,z){if(J==null)return!1;if(z===!0)return typeof J[G]==="function";if(z===!1)return typeof J[y]==="function";return typeof J[G]==="function"||typeof J[y]==="function"}function D(J){if(!O(J))return null;const{_writableState:z,_readableState:w}=J,S=z||w;return!!(J.destroyed||J[A]||S!==null&&S!==void 0&&S.destroyed)}function p(J){if(!k(J))return null;if(J.writableEnded===!0)return!0;const z=J._writableState;if(z!==null&&z!==void 0&&z.errored)return!1;if(typeof(z===null||z===void 0?void 0:z.ended)!=="boolean")return null;return z.ended}function E(J,z){if(!k(J))return null;if(J.writableFinished===!0)return!0;const w=J._writableState;if(w!==null&&w!==void 0&&w.errored)return!1;if(typeof(w===null||w===void 0?void 0:w.finished)!=="boolean")return null;return!!(w.finished||z===!1&&w.ended===!0&&w.length===0)}function P(J){if(!g(J))return null;if(J.readableEnded===!0)return!0;const z=J._readableState;if(!z||z.errored)return!1;if(typeof(z===null||z===void 0?void 0:z.ended)!=="boolean")return null;return z.ended}function Z(J,z){if(!g(J))return null;const w=J._readableState;if(w!==null&&w!==void 0&&w.errored)return!1;if(typeof(w===null||w===void 0?void 0:w.endEmitted)!=="boolean")return null;return!!(w.endEmitted||z===!1&&w.ended===!0&&w.length===0)}function U(J){if(J&&J[R]!=null)return J[R];if(typeof(J===null||J===void 0?void 0:J.readable)!=="boolean")return null;if(D(J))return!1;return g(J)&&J.readable&&!Z(J)}function I(J){if(typeof(J===null||J===void 0?void 0:J.writable)!=="boolean")return null;if(D(J))return!1;return k(J)&&J.writable&&!p(J)}function _(J,z){if(!O(J))return null;if(D(J))return!0;if((z===null||z===void 0?void 0:z.readable)!==!1&&U(J))return!1;if((z===null||z===void 0?void 0:z.writable)!==!1&&I(J))return!1;return!0}function t(J){var z,w;if(!O(J))return null;if(J.writableErrored)return J.writableErrored;return(z=(w=J._writableState)===null||w===void 0?void 0:w.errored)!==null&&z!==void 0?z:null}function i(J){var z,w;if(!O(J))return null;if(J.readableErrored)return J.readableErrored;return(z=(w=J._readableState)===null||w===void 0?void 0:w.errored)!==null&&z!==void 0?z:null}function $(J){if(!O(J))return null;if(typeof J.closed==="boolean")return J.closed;const{_writableState:z,_readableState:w}=J;if(typeof(z===null||z===void 0?void 0:z.closed)==="boolean"||typeof(w===null||w===void 0?void 0:w.closed)==="boolean")return(z===null||z===void 0?void 0:z.closed)||(w===null||w===void 0?void 0:w.closed);if(typeof J._closed==="boolean"&&n(J))return J._closed;return null}function n(J){return typeof J._closed==="boolean"&&typeof J._defaultKeepAlive==="boolean"&&typeof J._removedConnection==="boolean"&&typeof J._removedContLen==="boolean"}function Y(J){return typeof J._sent100==="boolean"&&n(J)}function K(J){var z;return typeof J._consuming==="boolean"&&typeof J._dumped==="boolean"&&((z=J.req)===null||z===void 0?void 0:z.upgradeOrConnect)===void 0}function F(J){if(!O(J))return null;const{_writableState:z,_readableState:w}=J,S=z||w;return!S&&Y(J)||!!(S&&S.autoDestroy&&S.emitClose&&S.closed===!1)}function m(J){var z;return!!(J&&((z=J[T])!==null&&z!==void 0?z:J.readableDidRead||J.readableAborted))}function u(J){var z,w,S,N,W,b,o,s,e,Hq;return!!(J&&((z=(w=(S=(N=(W=(b=J[M])!==null&&b!==void 0?b:J.readableErrored)!==null&&W!==void 0?W:J.writableErrored)!==null&&N!==void 0?N:(o=J._readableState)===null||o===void 0?void 0:o.errorEmitted)!==null&&S!==void 0?S:(s=J._writableState)===null||s===void 0?void 0:s.errorEmitted)!==null&&w!==void 0?w:(e=J._readableState)===null||e===void 0?void 0:e.errored)!==null&&z!==void 0?z:(Hq=J._writableState)===null||Hq===void 0?void 0:Hq.errored))}j.exports={kDestroyed:A,isDisturbed:m,kIsDisturbed:T,isErrored:u,kIsErrored:M,isReadable:U,kIsReadable:R,isClosed:$,isDestroyed:D,isDuplexNodeStream:c,isFinished:_,isIterable:l,isReadableNodeStream:g,isReadableEnded:P,isReadableFinished:Z,isReadableErrored:i,isNodeStream:O,isWritable:I,isWritableNodeStream:k,isWritableEnded:p,isWritableFinished:E,isWritableErrored:t,isServerRequest:K,isServerResponse:Y,willEmitClose:F}}}),Fq=Bq({"node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(a,j){var{AbortError:B,codes:G}=Wq(),{ERR_INVALID_ARG_TYPE:y,ERR_STREAM_PREMATURE_CLOSE:A}=G,{once:M}=Aq(),{validateAbortSignal:R,validateFunction:T,validateObject:g}=Cq(),{Promise:k}=Vq(),{isClosed:c,isReadable:O,isReadableNodeStream:l,isReadableFinished:D,isReadableErrored:p,isWritable:E,isWritableNodeStream:P,isWritableFinished:Z,isWritableErrored:U,isNodeStream:I,willEmitClose:_}=Eq();function t(Y){return Y.setHeader&&typeof Y.abort==="function"}var i=()=>{};function $(Y,K,F){var m,u;if(arguments.length===2)F=K,K={};else if(K==null)K={};else g(K,"options");T(F,"callback"),R(K.signal,"options.signal"),F=M(F);const J=(m=K.readable)!==null&&m!==void 0?m:l(Y),z=(u=K.writable)!==null&&u!==void 0?u:P(Y);if(!I(Y))throw new y("stream","Stream",Y);const{_writableState:w,_readableState:S}=Y,N=()=>{if(!Y.writable)o()};let W=_(Y)&&l(Y)===J&&P(Y)===z,b=Z(Y,!1);const o=()=>{if(b=!0,Y.destroyed)W=!1;if(W&&(!Y.readable||J))return;if(!J||s)F.call(Y)};let s=D(Y,!1);const e=()=>{if(s=!0,Y.destroyed)W=!1;if(W&&(!Y.writable||z))return;if(!z||b)F.call(Y)},Hq=(V)=>{F.call(Y,V)};let $q=c(Y);const qq=()=>{$q=!0;const V=U(Y)||p(Y);if(V&&typeof V!=="boolean")return F.call(Y,V);if(J&&!s&&l(Y,!0)){if(!D(Y,!1))return F.call(Y,new A)}if(z&&!b){if(!Z(Y,!1))return F.call(Y,new A)}F.call(Y)},Kq=()=>{Y.req.on("finish",o)};if(t(Y)){if(Y.on("complete",o),!W)Y.on("abort",qq);if(Y.req)Kq();else Y.on("request",Kq)}else if(z&&!w)Y.on("end",N),Y.on("close",N);if(!W&&typeof Y.aborted==="boolean")Y.on("aborted",qq);if(Y.on("end",e),Y.on("finish",o),K.error!==!1)Y.on("error",Hq);if(Y.on("close",qq),$q)Xq(qq);else if(w!==null&&w!==void 0&&w.errorEmitted||S!==null&&S!==void 0&&S.errorEmitted){if(!W)Xq(qq)}else if(!J&&(!W||O(Y))&&(b||E(Y)===!1))Xq(qq);else if(!z&&(!W||E(Y))&&(s||O(Y)===!1))Xq(qq);else if(S&&Y.req&&Y.aborted)Xq(qq);const Qq=()=>{if(F=i,Y.removeListener("aborted",qq),Y.removeListener("complete",o),Y.removeListener("abort",qq),Y.removeListener("request",Kq),Y.req)Y.req.removeListener("finish",o);Y.removeListener("end",N),Y.removeListener("close",N),Y.removeListener("finish",o),Y.removeListener("end",e),Y.removeListener("error",Hq),Y.removeListener("close",qq)};if(K.signal&&!$q){const V=()=>{const h=F;Qq(),h.call(Y,new B(void 0,{cause:K.signal.reason}))};if(K.signal.aborted)Xq(V);else{const h=F;F=M((...Q)=>{K.signal.removeEventListener("abort",V),h.apply(Y,Q)}),K.signal.addEventListener("abort",V)}}return Qq}function n(Y,K){return new k((F,m)=>{$(Y,K,(u)=>{if(u)m(u);else F()})})}j.exports=$,j.exports.finished=n}}),XQ=Bq({"node_modules/readable-stream/lib/internal/streams/operators.js"(a,j){var{codes:{ERR_INVALID_ARG_TYPE:B,ERR_MISSING_ARGS:G,ERR_OUT_OF_RANGE:y},AbortError:A}=Wq(),{validateAbortSignal:M,validateInteger:R,validateObject:T}=Cq(),g=Vq().Symbol("kWeak"),{finished:k}=Fq(),{ArrayPrototypePush:c,MathFloor:O,Number:l,NumberIsNaN:D,Promise:p,PromiseReject:E,PromisePrototypeCatch:P,Symbol:Z}=Vq(),U=Z("kEmpty"),I=Z("kEof");function _(N,W){if(typeof N!=="function")throw new B("fn",["Function","AsyncFunction"],N);if(W!=null)T(W,"options");if((W===null||W===void 0?void 0:W.signal)!=null)M(W.signal,"options.signal");let b=1;if((W===null||W===void 0?void 0:W.concurrency)!=null)b=O(W.concurrency);return R(b,"concurrency",1),async function*o(){var s,e;const Hq=new AbortController,$q=this,qq=[],Kq=Hq.signal,Qq={signal:Kq},V=()=>Hq.abort();if(W!==null&&W!==void 0&&(s=W.signal)!==null&&s!==void 0&&s.aborted)V();W===null||W===void 0||(e=W.signal)===null||e===void 0||e.addEventListener("abort",V);let h,Q,H=!1;function L(){H=!0}async function d(){try{for await(let q of $q){var f;if(H)return;if(Kq.aborted)throw new A;try{q=N(q,Qq)}catch(X){q=E(X)}if(q===U)continue;if(typeof((f=q)===null||f===void 0?void 0:f.catch)==="function")q.catch(L);if(qq.push(q),h)h(),h=null;if(!H&&qq.length&&qq.length>=b)await new p((X)=>{Q=X})}qq.push(I)}catch(q){const X=E(q);P(X,L),qq.push(X)}finally{var r;if(H=!0,h)h(),h=null;W===null||W===void 0||(r=W.signal)===null||r===void 0||r.removeEventListener("abort",V)}}d();try{while(!0){while(qq.length>0){const f=await qq[0];if(f===I)return;if(Kq.aborted)throw new A;if(f!==U)yield f;if(qq.shift(),Q)Q(),Q=null}await new p((f)=>{h=f})}}finally{if(Hq.abort(),H=!0,Q)Q(),Q=null}}.call(this)}function t(N=void 0){if(N!=null)T(N,"options");if((N===null||N===void 0?void 0:N.signal)!=null)M(N.signal,"options.signal");return async function*W(){let b=0;for await(let s of this){var o;if(N!==null&&N!==void 0&&(o=N.signal)!==null&&o!==void 0&&o.aborted)throw new A({cause:N.signal.reason});yield[b++,s]}}.call(this)}async function i(N,W=void 0){for await(let b of K.call(this,N,W))return!0;return!1}async function $(N,W=void 0){if(typeof N!=="function")throw new B("fn",["Function","AsyncFunction"],N);return!await i.call(this,async(...b)=>{return!await N(...b)},W)}async function n(N,W){for await(let b of K.call(this,N,W))return b;return}async function Y(N,W){if(typeof N!=="function")throw new B("fn",["Function","AsyncFunction"],N);async function b(o,s){return await N(o,s),U}for await(let o of _.call(this,b,W));}function K(N,W){if(typeof N!=="function")throw new B("fn",["Function","AsyncFunction"],N);async function b(o,s){if(await N(o,s))return o;return U}return _.call(this,b,W)}var F=class extends G{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}};async function m(N,W,b){var o;if(typeof N!=="function")throw new B("reducer",["Function","AsyncFunction"],N);if(b!=null)T(b,"options");if((b===null||b===void 0?void 0:b.signal)!=null)M(b.signal,"options.signal");let s=arguments.length>1;if(b!==null&&b!==void 0&&(o=b.signal)!==null&&o!==void 0&&o.aborted){const Kq=new A(void 0,{cause:b.signal.reason});throw this.once("error",()=>{}),await k(this.destroy(Kq)),Kq}const e=new AbortController,Hq=e.signal;if(b!==null&&b!==void 0&&b.signal){const Kq={once:!0,[g]:this};b.signal.addEventListener("abort",()=>e.abort(),Kq)}let $q=!1;try{for await(let Kq of this){var qq;if($q=!0,b!==null&&b!==void 0&&(qq=b.signal)!==null&&qq!==void 0&&qq.aborted)throw new A;if(!s)W=Kq,s=!0;else W=await N(W,Kq,{signal:Hq})}if(!$q&&!s)throw new F}finally{e.abort()}return W}async function u(N){if(N!=null)T(N,"options");if((N===null||N===void 0?void 0:N.signal)!=null)M(N.signal,"options.signal");const W=[];for await(let o of this){var b;if(N!==null&&N!==void 0&&(b=N.signal)!==null&&b!==void 0&&b.aborted)throw new A(void 0,{cause:N.signal.reason});c(W,o)}return W}function J(N,W){const b=_.call(this,N,W);return async function*o(){for await(let s of b)yield*s}.call(this)}function z(N){if(N=l(N),D(N))return 0;if(N<0)throw new y("number",">= 0",N);return N}function w(N,W=void 0){if(W!=null)T(W,"options");if((W===null||W===void 0?void 0:W.signal)!=null)M(W.signal,"options.signal");return N=z(N),async function*b(){var o;if(W!==null&&W!==void 0&&(o=W.signal)!==null&&o!==void 0&&o.aborted)throw new A;for await(let e of this){var s;if(W!==null&&W!==void 0&&(s=W.signal)!==null&&s!==void 0&&s.aborted)throw new A;if(N--<=0)yield e}}.call(this)}function S(N,W=void 0){if(W!=null)T(W,"options");if((W===null||W===void 0?void 0:W.signal)!=null)M(W.signal,"options.signal");return N=z(N),async function*b(){var o;if(W!==null&&W!==void 0&&(o=W.signal)!==null&&o!==void 0&&o.aborted)throw new A;for await(let e of this){var s;if(W!==null&&W!==void 0&&(s=W.signal)!==null&&s!==void 0&&s.aborted)throw new A;if(N-- >0)yield e;else return}}.call(this)}j.exports.streamReturningOperators={asIndexedPairs:t,drop:w,filter:K,flatMap:J,map:_,take:S},j.exports.promiseReturningOperators={every:$,forEach:Y,reduce:m,toArray:u,some:i,find:n}}}),Tq=Bq({"node_modules/readable-stream/lib/internal/streams/destroy.js"(a,j){var{aggregateTwoErrors:B,codes:{ERR_MULTIPLE_CALLBACK:G},AbortError:y}=Wq(),{Symbol:A}=Vq(),{kDestroyed:M,isDestroyed:R,isFinished:T,isServerRequest:g}=Eq(),k="#kDestroy",c="#kConstruct";function O(K,F,m){if(K){if(K.stack,F&&!F.errored)F.errored=K;if(m&&!m.errored)m.errored=K}}function l(K,F){const m=this._readableState,u=this._writableState,J=u||m;if(u&&u.destroyed||m&&m.destroyed){if(typeof F==="function")F();return this}if(O(K,u,m),u)u.destroyed=!0;if(m)m.destroyed=!0;if(!J.constructed)this.once(k,(z)=>{D(this,B(z,K),F)});else D(this,K,F);return this}function D(K,F,m){let u=!1;function J(z){if(u)return;u=!0;const{_readableState:w,_writableState:S}=K;if(O(z,S,w),S)S.closed=!0;if(w)w.closed=!0;if(typeof m==="function")m(z);if(z)Xq(p,K,z);else Xq(E,K)}try{K._destroy(F||null,J)}catch(z){J(z)}}function p(K,F){P(K,F),E(K)}function E(K){const{_readableState:F,_writableState:m}=K;if(m)m.closeEmitted=!0;if(F)F.closeEmitted=!0;if(m&&m.emitClose||F&&F.emitClose)K.emit("close")}function P(K,F){const m=K?._readableState,u=K?._writableState;if(u?.errorEmitted||m?.errorEmitted)return;if(u)u.errorEmitted=!0;if(m)m.errorEmitted=!0;K?.emit?.("error",F)}function Z(){const K=this._readableState,F=this._writableState;if(K)K.constructed=!0,K.closed=!1,K.closeEmitted=!1,K.destroyed=!1,K.errored=null,K.errorEmitted=!1,K.reading=!1,K.ended=K.readable===!1,K.endEmitted=K.readable===!1;if(F)F.constructed=!0,F.destroyed=!1,F.closed=!1,F.closeEmitted=!1,F.errored=null,F.errorEmitted=!1,F.finalCalled=!1,F.prefinished=!1,F.ended=F.writable===!1,F.ending=F.writable===!1,F.finished=F.writable===!1}function U(K,F,m){const u=K?._readableState,J=K?._writableState;if(J&&J.destroyed||u&&u.destroyed)return this;if(u&&u.autoDestroy||J&&J.autoDestroy)K.destroy(F);else if(F){if(Error.captureStackTrace(F),J&&!J.errored)J.errored=F;if(u&&!u.errored)u.errored=F;if(m)Xq(P,K,F);else P(K,F)}}function I(K,F){if(typeof K._construct!=="function")return;const{_readableState:m,_writableState:u}=K;if(m)m.constructed=!1;if(u)u.constructed=!1;if(K.once(c,F),K.listenerCount(c)>1)return;Xq(_,K)}function _(K){let F=!1;function m(u){if(F){U(K,u!==null&&u!==void 0?u:new G);return}F=!0;const{_readableState:J,_writableState:z}=K,w=z||J;if(J)J.constructed=!0;if(z)z.constructed=!0;if(w.destroyed)K.emit(k,u);else if(u)U(K,u,!0);else Xq(t,K)}try{K._construct(m)}catch(u){m(u)}}function t(K){K.emit(c)}function i(K){return K&&K.setHeader&&typeof K.abort==="function"}function $(K){K.emit("close")}function n(K,F){K.emit("error",F),Xq($,K)}function Y(K,F){if(!K||R(K))return;if(!F&&!T(K))F=new y;if(g(K))K.socket=null,K.destroy(F);else if(i(K))K.abort();else if(i(K.req))K.req.abort();else if(typeof K.destroy==="function")K.destroy(F);else if(typeof K.close==="function")K.close();else if(F)Xq(n,K);else Xq($,K);if(!K.destroyed)K[M]=!0}j.exports={construct:I,destroyer:Y,destroy:l,undestroy:Z,errorOrDestroy:U}}}),Rq=Bq({"node_modules/readable-stream/lib/internal/streams/legacy.js"(a,j){var{ArrayIsArray:B,ObjectSetPrototypeOf:G}=Vq();function y(M){if(!(this instanceof y))return new y(M);Iq.call(this,M)}G(y.prototype,Iq.prototype),G(y,Iq),y.prototype.pipe=function(M,R){const T=this;function g(E){if(M.writable&&M.write(E)===!1&&T.pause)T.pause()}T.on("data",g);function k(){if(T.readable&&T.resume)T.resume()}if(M.on("drain",k),!M._isStdio&&(!R||R.end!==!1))T.on("end",O),T.on("close",l);let c=!1;function O(){if(c)return;c=!0,M.end()}function l(){if(c)return;if(c=!0,typeof M.destroy==="function")M.destroy()}function D(E){if(p(),Iq.listenerCount(this,"error")===0)this.emit("error",E)}A(T,"error",D),A(M,"error",D);function p(){T.removeListener("data",g),M.removeListener("drain",k),T.removeListener("end",O),T.removeListener("close",l),T.removeListener("error",D),M.removeListener("error",D),T.removeListener("end",p),T.removeListener("close",p),M.removeListener("close",p)}return T.on("end",p),T.on("close",p),M.on("close",p),M.emit("pipe",T),M};function A(M,R,T){if(typeof M.prependListener==="function")return M.prependListener(R,T);if(!M._events||!M._events[R])M.on(R,T);else if(B(M._events[R]))M._events[R].unshift(T);else M._events[R]=[T,M._events[R]]}j.exports={Stream:y,prependListener:A}}}),Sq=Bq({"node_modules/readable-stream/lib/internal/streams/add-abort-signal.js"(a,j){var{AbortError:B,codes:G}=Wq(),y=Fq(),{ERR_INVALID_ARG_TYPE:A}=G,M=(T,g)=>{if(typeof T!=="object"||!("aborted"in T))throw new A(g,"AbortSignal",T)};function R(T){return!!(T&&typeof T.pipe==="function")}j.exports.addAbortSignal=function T(g,k){if(M(g,"signal"),!R(k))throw new A("stream","stream.Stream",k);return j.exports.addAbortSignalNoValidate(g,k)},j.exports.addAbortSignalNoValidate=function(T,g){if(typeof T!=="object"||!("aborted"in T))return g;const k=()=>{g.destroy(new B(void 0,{cause:T.reason}))};if(T.aborted)k();else T.addEventListener("abort",k),y(g,()=>T.removeEventListener("abort",k));return g}}}),JQ=Bq({"node_modules/readable-stream/lib/internal/streams/state.js"(a,j){var{MathFloor:B,NumberIsInteger:G}=Vq(),{ERR_INVALID_ARG_VALUE:y}=Wq().codes;function A(T,g,k){return T.highWaterMark!=null?T.highWaterMark:g?T[k]:null}function M(T){return T?16:16384}function R(T,g,k,c){const O=A(g,c,k);if(O!=null){if(!G(O)||O<0){const l=c?`options.${k}`:"options.highWaterMark";throw new y(l,O)}return B(O)}return M(T.objectMode)}j.exports={getHighWaterMark:R,getDefaultHighWaterMark:M}}}),hq=Bq({"node_modules/readable-stream/lib/internal/streams/from.js"(a,j){var{PromisePrototypeThen:B,SymbolAsyncIterator:G,SymbolIterator:y}=Vq(),{ERR_INVALID_ARG_TYPE:A,ERR_STREAM_NULL_VALUES:M}=Wq().codes;function R(T,g,k){let c;if(typeof g==="string"||g instanceof Buffer)return new T({objectMode:!0,...k,read(){this.push(g),this.push(null)}});let O;if(g&&g[G])O=!0,c=g[G]();else if(g&&g[y])O=!1,c=g[y]();else throw new A("iterable",["Iterable"],g);const l=new T({objectMode:!0,highWaterMark:1,...k});let D=!1;l._read=function(){if(!D)D=!0,E()},l._destroy=function(P,Z){B(p(P),()=>Xq(Z,P),(U)=>Xq(Z,U||P))};async function p(P){const Z=P!==void 0&&P!==null,U=typeof c.throw==="function";if(Z&&U){const{value:I,done:_}=await c.throw(P);if(await I,_)return}if(typeof c.return==="function"){const{value:I}=await c.return();await I}}async function E(){for(;;){try{const{value:P,done:Z}=O?await c.next():c.next();if(Z)l.push(null);else{const U=P&&typeof P.then==="function"?await P:P;if(U===null)throw D=!1,new M;else if(l.push(U))continue;else D=!1}}catch(P){l.destroy(P)}break}}return l}j.exports=R}}),pq,uq,_q=Bq({"node_modules/readable-stream/lib/internal/streams/readable.js"(a,j){var{ArrayPrototypeIndexOf:B,NumberIsInteger:G,NumberIsNaN:y,NumberParseInt:A,ObjectDefineProperties:M,ObjectKeys:R,ObjectSetPrototypeOf:T,Promise:g,SafeSet:k,SymbolAsyncIterator:c,Symbol:O}=Vq(),l=globalThis[Symbol.for("Bun.lazy")]("bun:stream").ReadableState,{Stream:D,prependListener:p}=Rq();function E(q){if(!(this instanceof E))return new E(q);const X=this instanceof Mq();if(this._readableState=new l(q,this,X),q){const{read:C,destroy:x,construct:v,signal:Jq}=q;if(typeof C==="function")this._read=C;if(typeof x==="function")this._destroy=x;if(typeof v==="function")this._construct=v;if(Jq&&!X)U(Jq,this)}D.call(this,q),K.construct(this,()=>{if(this._readableState.needReadable)n(this,this._readableState)})}T(E.prototype,D.prototype),T(E,D),E.prototype.on=function(q,X){const C=D.prototype.on.call(this,q,X),x=this._readableState;if(q==="data"){if(x.readableListening=this.listenerCount("readable")>0,x.flowing!==!1)this.resume()}else if(q==="readable"){if(!x.endEmitted&&!x.readableListening){if(x.readableListening=x.needReadable=!0,x.flowing=!1,x.emittedReadable=!1,x.length)Y(this,x);else if(!x.reading)Xq(Qq,this)}else if(x.endEmitted);}return C};class P extends E{#q;#Q;#X;#H;constructor(q,X){const{objectMode:C,highWaterMark:x,encoding:v,signal:Jq}=q;super({objectMode:C,highWaterMark:x,encoding:v,signal:Jq});this.#X=[],this.#q=void 0,this.#H=X,this.#Q=!1}#J(){var q=this.#X,X=0,C=q.length;for(;X<C;X++){const x=q[X];if(q[X]=void 0,!this.push(x,void 0))return this.#X=q.slice(X+1),!0}if(C>0)this.#X=[];return!1}#K(q){q.releaseLock(),this.#q=void 0,this.#Q=!0,this.push(null);return}async _read(){var q=this.#H,X=this.#q;if(q)X=this.#q=q.getReader(),this.#H=void 0;else if(this.#J())return;var C;try{do{var x=!1,v;const Jq=X.readMany();if(xq(Jq)){if({done:x,value:v}=await Jq,this.#Q){this.#X.push(...v);return}}else({done:x,value:v}=Jq);if(x){this.#K(X);return}if(!this.push(v[0])){this.#X=v.slice(1);return}for(let Zq=1,Oq=v.length;Zq<Oq;Zq++)if(!this.push(v[Zq])){this.#X=v.slice(Zq+1);return}}while(!this.#Q)}catch(Jq){C=Jq}finally{if(C)throw C}}_destroy(q,X){if(!this.#Q){var C=this.#q;if(C)this.#q=void 0,C.cancel(q).finally(()=>{this.#Q=!0,X(q)});return}try{X(q)}catch(x){globalThis.reportError(x)}}}uq=P;function Z(q,X={}){if(!tq(q))throw new m("readableStream","ReadableStream",q);S(X,"options");const{highWaterMark:C,encoding:x,objectMode:v=!1,signal:Jq}=X;if(x!==void 0&&!Buffer.isEncoding(x))throw new QQ(x,"options.encoding");return eq(v,"options.objectMode"),zQ(E,q,X)||new P({highWaterMark:C,encoding:x,objectMode:v,signal:Jq},q)}j.exports=E,pq=Z;var{addAbortSignal:U}=Sq(),I=Fq();const{maybeReadMore:_,resume:t,emitReadable:i,onEofChunk:$}=globalThis[Symbol.for("Bun.lazy")]("bun:stream");function n(q,X){process.nextTick(_,q,X)}function Y(q,X){i(q,X)}var K=Tq(),{aggregateTwoErrors:F,codes:{ERR_INVALID_ARG_TYPE:m,ERR_METHOD_NOT_IMPLEMENTED:u,ERR_OUT_OF_RANGE:J,ERR_STREAM_PUSH_AFTER_EOF:z,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:w}}=Wq(),{validateObject:S}=Cq(),N=hq(),W=()=>{},{errorOrDestroy:b}=K;E.prototype.destroy=K.destroy,E.prototype._undestroy=K.undestroy,E.prototype._destroy=function(q,X){X(q)},E.prototype[Iq.captureRejectionSymbol]=function(q){this.destroy(q)},E.prototype.push=function(q,X){return o(this,q,X,!1)},E.prototype.unshift=function(q,X){return o(this,q,X,!0)};function o(q,X,C,x){const v=q._readableState;let Jq;if(!v.objectMode){if(typeof X==="string"){if(C=C||v.defaultEncoding,v.encoding!==C)if(x&&v.encoding)X=Buffer.from(X,C).toString(v.encoding);else X=Buffer.from(X,C),C=""}else if(X instanceof Buffer)C="";else if(D._isUint8Array(X)){if(x||!v.decoder)X=D._uint8ArrayToBuffer(X);C=""}else if(X!=null)Jq=new m("chunk",["string","Buffer","Uint8Array"],X)}if(Jq)b(q,Jq);else if(X===null)v.reading=!1,$(q,v);else if(v.objectMode||X&&X.length>0)if(x)if(v.endEmitted)b(q,new w);else if(v.destroyed||v.errored)return!1;else s(q,v,X,!0);else if(v.ended)b(q,new z);else if(v.destroyed||v.errored)return!1;else if(v.reading=!1,v.decoder&&!C)if(X=v.decoder.write(X),v.objectMode||X.length!==0)s(q,v,X,!1);else n(q,v);else s(q,v,X,!1);else if(!x)v.reading=!1,n(q,v);return!v.ended&&(v.length<v.highWaterMark||v.length===0)}function s(q,X,C,x){if(X.flowing&&X.length===0&&!X.sync&&q.listenerCount("data")>0){if(X.multiAwaitDrain)X.awaitDrainWriters.clear();else X.awaitDrainWriters=null;X.dataEmitted=!0,q.emit("data",C)}else{if(X.length+=X.objectMode?1:C.length,x)X.buffer.unshift(C);else X.buffer.push(C);if(X.needReadable)Y(q,X)}n(q,X)}E.prototype.isPaused=function(){const q=this._readableState;return q.paused===!0||q.flowing===!1},E.prototype.setEncoding=function(q){const X=new aq(q);this._readableState.decoder=X,this._readableState.encoding=this._readableState.decoder.encoding;const C=this._readableState.buffer;let x="";for(let v=C.length;v>0;v--)x+=X.write(C.shift());if(x!=="")C.push(x);return this._readableState.length=x.length,this};var e=1073741824;function Hq(q){if(q>e)throw new J("size","<= 1GiB",q);else q--,q|=q>>>1,q|=q>>>2,q|=q>>>4,q|=q>>>8,q|=q>>>16,q++;return q}function $q(q,X){if(q<=0||X.length===0&&X.ended)return 0;if(X.objectMode)return 1;if(y(q)){if(X.flowing&&X.length)return X.buffer.first().length;return X.length}if(q<=X.length)return q;return X.ended?X.length:0}E.prototype.read=function(q){if(!G(q))q=A(q,10);const X=this._readableState,C=q;if(q>X.highWaterMark)X.highWaterMark=Hq(q);if(q!==0)X.emittedReadable=!1;if(q===0&&X.needReadable&&((X.highWaterMark!==0?X.length>=X.highWaterMark:X.length>0)||X.ended)){if(X.length===0&&X.ended)H(this);else Y(this,X);return null}if(q=$q(q,X),q===0&&X.ended){if(X.length===0)H(this);return null}let x=X.needReadable;if(X.length===0||X.length-q<X.highWaterMark)x=!0;if(X.ended||X.reading||X.destroyed||X.errored||!X.constructed)x=!1;else if(x){if(X.reading=!0,X.sync=!0,X.length===0)X.needReadable=!0;try{var v=this._read(X.highWaterMark);if(xq(v)){const Zq=Bun.peek(v);if(Zq!==v)v=Zq}if(xq(v)&&v?.then&&oq(v.then))v.then(W,function(Zq){b(this,Zq)})}catch(Zq){b(this,Zq)}if(X.sync=!1,!X.reading)q=$q(C,X)}let Jq;if(q>0)Jq=Q(q,X);else Jq=null;if(Jq===null)X.needReadable=X.length<=X.highWaterMark,q=0;else if(X.length-=q,X.multiAwaitDrain)X.awaitDrainWriters.clear();else X.awaitDrainWriters=null;if(X.length===0){if(!X.ended)X.needReadable=!0;if(C!==q&&X.ended)H(this)}if(Jq!==null&&!X.errorEmitted&&!X.closeEmitted)X.dataEmitted=!0,this.emit("data",Jq);return Jq},E.prototype._read=function(q){throw new u("_read()")},E.prototype.pipe=function(q,X){const C=this,x=this._readableState;if(x.pipes.length===1){if(!x.multiAwaitDrain)x.multiAwaitDrain=!0,x.awaitDrainWriters=new k(x.awaitDrainWriters?[x.awaitDrainWriters]:[])}x.pipes.push(q);const Jq=(!X||X.end!==!1)&&q!==process.stdout&&q!==process.stderr?Oq:Pq;if(x.endEmitted)Xq(Jq);else C.once("end",Jq);q.on("unpipe",Zq);function Zq(jq,Nq){if(jq===C){if(Nq&&Nq.hasUnpiped===!1)Nq.hasUnpiped=!0,nq()}}function Oq(){q.end()}let Lq,kq=!1;function nq(){if(q.removeListener("close",wq),q.removeListener("finish",vq),Lq)q.removeListener("drain",Lq);if(q.removeListener("error",Dq),q.removeListener("unpipe",Zq),C.removeListener("end",Oq),C.removeListener("end",Pq),C.removeListener("data",yq),kq=!0,Lq&&x.awaitDrainWriters&&(!q._writableState||q._writableState.needDrain))Lq()}function fq(){if(!kq){if(x.pipes.length===1&&x.pipes[0]===q)x.awaitDrainWriters=q,x.multiAwaitDrain=!1;else if(x.pipes.length>1&&x.pipes.includes(q))x.awaitDrainWriters.add(q);C.pause()}if(!Lq)Lq=qq(C,q),q.on("drain",Lq)}C.on("data",yq);function yq(jq){if(q.write(jq)===!1)fq()}function Dq(jq){if(Gq("onerror",jq),Pq(),q.removeListener("error",Dq),q.listenerCount("error")===0){const Nq=q._writableState||q._readableState;if(Nq&&!Nq.errorEmitted)b(q,jq);else q.emit("error",jq)}}p(q,"error",Dq);function wq(){q.removeListener("finish",vq),Pq()}q.once("close",wq);function vq(){Gq("onfinish"),q.removeListener("close",wq),Pq()}q.once("finish",vq);function Pq(){Gq("unpipe"),C.unpipe(q)}if(q.emit("pipe",C),q.writableNeedDrain===!0){if(x.flowing)fq()}else if(!x.flowing)Gq("pipe resume"),C.resume();return q};function qq(q,X){return function C(){const x=q._readableState;if(x.awaitDrainWriters===X)Gq("pipeOnDrain",1),x.awaitDrainWriters=null;else if(x.multiAwaitDrain)Gq("pipeOnDrain",x.awaitDrainWriters.size),x.awaitDrainWriters.delete(X);if((!x.awaitDrainWriters||x.awaitDrainWriters.size===0)&&q.listenerCount("data"))q.resume()}}E.prototype.unpipe=function(q){const X=this._readableState,C={hasUnpiped:!1};if(X.pipes.length===0)return this;if(!q){const v=X.pipes;X.pipes=[],this.pause();for(let Jq=0;Jq<v.length;Jq++)v[Jq].emit("unpipe",this,{hasUnpiped:!1});return this}const x=B(X.pipes,q);if(x===-1)return this;if(X.pipes.splice(x,1),X.pipes.length===0)this.pause();return q.emit("unpipe",this,C),this},E.prototype.addListener=E.prototype.on,E.prototype.removeListener=function(q,X){const C=D.prototype.removeListener.call(this,q,X);if(q==="readable")Xq(Kq,this);return C},E.prototype.off=E.prototype.removeListener,E.prototype.removeAllListeners=function(q){const X=D.prototype.removeAllListeners.apply(this,arguments);if(q==="readable"||q===void 0)Xq(Kq,this);return X};function Kq(q){const X=q._readableState;if(X.readableListening=q.listenerCount("readable")>0,X.resumeScheduled&&X.paused===!1)X.flowing=!0;else if(q.listenerCount("data")>0)q.resume();else if(!X.readableListening)X.flowing=null}function Qq(q){q.read(0)}E.prototype.resume=function(){const q=this._readableState;if(!q.flowing)q.flowing=!q.readableListening,t(this,q);return q.paused=!1,this},E.prototype.pause=function(){if(this._readableState.flowing!==!1)this._readableState.flowing=!1,this.emit("pause");return this._readableState.paused=!0,this},E.prototype.wrap=function(q){let X=!1;q.on("data",(x)=>{if(!this.push(x)&&q.pause)X=!0,q.pause()}),q.on("end",()=>{this.push(null)}),q.on("error",(x)=>{b(this,x)}),q.on("close",()=>{this.destroy()}),q.on("destroy",()=>{this.destroy()}),this._read=()=>{if(X&&q.resume)X=!1,q.resume()};const C=R(q);for(let x=1;x<C.length;x++){const v=C[x];if(this[v]===void 0&&typeof q[v]==="function")this[v]=q[v].bind(q)}return this},E.prototype[c]=function(){return V(this)},E.prototype.iterator=function(q){if(q!==void 0)S(q,"options");return V(this,q)};function V(q,X){if(typeof q.read!=="function")q=E.wrap(q,{objectMode:!0});const C=h(q,X);return C.stream=q,C}async function*h(q,X){let C=W;function x(Zq){if(this===q)C(),C=W;else C=Zq}q.on("readable",x);let v;const Jq=I(q,{writable:!1},(Zq)=>{v=Zq?F(v,Zq):null,C(),C=W});try{while(!0){const Zq=q.destroyed?null:q.read();if(Zq!==null)yield Zq;else if(v)throw v;else if(v===null)return;else await new g(x)}}catch(Zq){throw v=F(v,Zq),v}finally{if((v||(X===null||X===void 0?void 0:X.destroyOnReturn)!==!1)&&(v===void 0||q._readableState.autoDestroy))K.destroyer(q,null);else q.off("readable",x),Jq()}}M(E.prototype,{readable:{get(){const q=this._readableState;return!!q&&q.readable!==!1&&!q.destroyed&&!q.errorEmitted&&!q.endEmitted},set(q){if(this._readableState)this._readableState.readable=!!q}},readableDidRead:{enumerable:!1,get:function(){return this._readableState.dataEmitted}},readableAborted:{enumerable:!1,get:function(){return!!(this._readableState.readable!==!1&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{enumerable:!1,get:function(){return this._readableState.highWaterMark}},readableBuffer:{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{enumerable:!1,get:function(){return this._readableState.flowing},set:function(q){if(this._readableState)this._readableState.flowing=q}},readableLength:{enumerable:!1,get(){return this._readableState.length}},readableObjectMode:{enumerable:!1,get(){return this._readableState?this._readableState.objectMode:!1}},readableEncoding:{enumerable:!1,get(){return this._readableState?this._readableState.encoding:null}},errored:{enumerable:!1,get(){return this._readableState?this._readableState.errored:null}},closed:{get(){return this._readableState?this._readableState.closed:!1}},destroyed:{enumerable:!1,get(){return this._readableState?this._readableState.destroyed:!1},set(q){if(!this._readableState)return;this._readableState.destroyed=q}},readableEnded:{enumerable:!1,get(){return this._readableState?this._readableState.endEmitted:!1}}}),E._fromList=Q;function Q(q,X){if(X.length===0)return null;let C;if(X.objectMode)C=X.buffer.shift();else if(!q||q>=X.length){if(X.decoder)C=X.buffer.join("");else if(X.buffer.length===1)C=X.buffer.first();else C=X.buffer.concat(X.length);X.buffer.clear()}else C=X.buffer.consume(q,X.decoder);return C}function H(q){const X=q._readableState;if(!X.endEmitted)X.ended=!0,Xq(L,X,q)}function L(q,X){if(!q.errored&&!q.closeEmitted&&!q.endEmitted&&q.length===0){if(q.endEmitted=!0,X.emit("end"),X.writable&&X.allowHalfOpen===!1)Xq(d,X);else if(q.autoDestroy){const C=X._writableState;if(!C||C.autoDestroy&&(C.finished||C.writable===!1))X.destroy()}}}function d(q){if(q.writable&&!q.writableEnded&&!q.destroyed)q.end()}E.from=function(q,X){return N(E,q,X)};var f={newStreamReadableFromReadableStream:Z};function r(){if(f===void 0)f={};return f}E.fromWeb=function(q,X){return r().newStreamReadableFromReadableStream(q,X)},E.toWeb=function(q){return r().newReadableStreamFromStreamReadable(q)},E.wrap=function(q,X){var C,x;return new E({objectMode:(C=(x=q.readableObjectMode)!==null&&x!==void 0?x:q.objectMode)!==null&&C!==void 0?C:!0,...X,destroy(v,Jq){K.destroyer(q,v),Jq(v)}}).wrap(q)}}}),bq=Bq({"node_modules/readable-stream/lib/internal/streams/writable.js"(a,j){var{ArrayPrototypeSlice:B,Error:G,FunctionPrototypeSymbolHasInstance:y,ObjectDefineProperty:A,ObjectDefineProperties:M,ObjectSetPrototypeOf:R,StringPrototypeToLowerCase:T,Symbol:g,SymbolHasInstance:k}=Vq(),c=Rq().Stream,O=Tq(),{addAbortSignal:l}=Sq(),{getHighWaterMark:D,getDefaultHighWaterMark:p}=JQ(),{ERR_INVALID_ARG_TYPE:E,ERR_METHOD_NOT_IMPLEMENTED:P,ERR_MULTIPLE_CALLBACK:Z,ERR_STREAM_CANNOT_PIPE:U,ERR_STREAM_DESTROYED:I,ERR_STREAM_ALREADY_FINISHED:_,ERR_STREAM_NULL_VALUES:t,ERR_STREAM_WRITE_AFTER_END:i,ERR_UNKNOWN_ENCODING:$}=Wq().codes,{errorOrDestroy:n}=O;function Y(Q={}){const H=this instanceof Mq();if(!H&&!y(Y,this))return new Y(Q);if(this._writableState=new m(Q,this,H),Q){if(typeof Q.write==="function")this._write=Q.write;if(typeof Q.writev==="function")this._writev=Q.writev;if(typeof Q.destroy==="function")this._destroy=Q.destroy;if(typeof Q.final==="function")this._final=Q.final;if(typeof Q.construct==="function")this._construct=Q.construct;if(Q.signal)l(Q.signal,this)}c.call(this,Q),O.construct(this,()=>{const L=this._writableState;if(!L.writing)s(this,L);qq(this,L)})}R(Y.prototype,c.prototype),R(Y,c),j.exports=Y;function K(){}var F=g("kOnFinished");function m(Q,H,L){if(typeof L!=="boolean")L=H instanceof Mq();if(this.objectMode=!!(Q&&Q.objectMode),L)this.objectMode=this.objectMode||!!(Q&&Q.writableObjectMode);this.highWaterMark=Q?D(this,Q,"writableHighWaterMark",L):p(!1),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;const d=!!(Q&&Q.decodeStrings===!1);this.decodeStrings=!d,this.defaultEncoding=Q&&Q.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=N.bind(void 0,H),this.writecb=null,this.writelen=0,this.afterWriteTickInfo=null,u(this),this.pendingcb=0,this.constructed=!0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!Q||Q.emitClose!==!1,this.autoDestroy=!Q||Q.autoDestroy!==!1,this.errored=null,this.closed=!1,this.closeEmitted=!1,this[F]=[]}function u(Q){Q.buffered=[],Q.bufferedIndex=0,Q.allBuffers=!0,Q.allNoop=!0}m.prototype.getBuffer=function Q(){return B(this.buffered,this.bufferedIndex)},A(m.prototype,"bufferedRequestCount",{get(){return this.buffered.length-this.bufferedIndex}}),A(Y,k,{value:function(Q){if(y(this,Q))return!0;if(this!==Y)return!1;return Q&&Q._writableState instanceof m}}),Y.prototype.pipe=function(){n(this,new U)};function J(Q,H,L,d){const f=Q._writableState;if(typeof L==="function")d=L,L=f.defaultEncoding;else{if(!L)L=f.defaultEncoding;else if(L!=="buffer"&&!Buffer.isEncoding(L))throw new $(L);if(typeof d!=="function")d=K}if(H===null)throw new t;else if(!f.objectMode)if(typeof H==="string"){if(f.decodeStrings!==!1)H=Buffer.from(H,L),L="buffer"}else if(H instanceof Buffer)L="buffer";else if(c._isUint8Array(H))H=c._uint8ArrayToBuffer(H),L="buffer";else throw new E("chunk",["string","Buffer","Uint8Array"],H);let r;if(f.ending)r=new i;else if(f.destroyed)r=new I("write");if(r)return Xq(d,r),n(Q,r,!0),r;return f.pendingcb++,z(Q,f,H,L,d)}Y.prototype.write=function(Q,H,L){return J(this,Q,H,L)===!0},Y.prototype.cork=function(){this._writableState.corked++},Y.prototype.uncork=function(){const Q=this._writableState;if(Q.corked){if(Q.corked--,!Q.writing)s(this,Q)}},Y.prototype.setDefaultEncoding=function Q(H){if(typeof H==="string")H=T(H);if(!Buffer.isEncoding(H))throw new $(H);return this._writableState.defaultEncoding=H,this};function z(Q,H,L,d,f){const r=H.objectMode?1:L.length;H.length+=r;const q=H.length<H.highWaterMark;if(!q)H.needDrain=!0;if(H.writing||H.corked||H.errored||!H.constructed){if(H.buffered.push({chunk:L,encoding:d,callback:f}),H.allBuffers&&d!=="buffer")H.allBuffers=!1;if(H.allNoop&&f!==K)H.allNoop=!1}else H.writelen=r,H.writecb=f,H.writing=!0,H.sync=!0,Q._write(L,d,H.onwrite),H.sync=!1;return q&&!H.errored&&!H.destroyed}function w(Q,H,L,d,f,r,q){if(H.writelen=d,H.writecb=q,H.writing=!0,H.sync=!0,H.destroyed)H.onwrite(new I("write"));else if(L)Q._writev(f,H.onwrite);else Q._write(f,r,H.onwrite);H.sync=!1}function S(Q,H,L,d){--H.pendingcb,d(L),o(H),n(Q,L)}function N(Q,H){const L=Q._writableState,d=L.sync,f=L.writecb;if(typeof f!=="function"){n(Q,new Z);return}if(L.writing=!1,L.writecb=null,L.length-=L.writelen,L.writelen=0,H){if(Error.captureStackTrace(H),!L.errored)L.errored=H;if(Q._readableState&&!Q._readableState.errored)Q._readableState.errored=H;if(d)Xq(S,Q,L,H,f);else S(Q,L,H,f)}else{if(L.buffered.length>L.bufferedIndex)s(Q,L);if(d)if(L.afterWriteTickInfo!==null&&L.afterWriteTickInfo.cb===f)L.afterWriteTickInfo.count++;else L.afterWriteTickInfo={count:1,cb:f,stream:Q,state:L},Xq(W,L.afterWriteTickInfo);else b(Q,L,1,f)}}function W({stream:Q,state:H,count:L,cb:d}){return H.afterWriteTickInfo=null,b(Q,H,L,d)}function b(Q,H,L,d){if(!H.ending&&!Q.destroyed&&H.length===0&&H.needDrain)H.needDrain=!1,Q.emit("drain");while(L-- >0)H.pendingcb--,d();if(H.destroyed)o(H);qq(Q,H)}function o(Q){if(Q.writing)return;for(let f=Q.bufferedIndex;f<Q.buffered.length;++f){var H;const{chunk:r,callback:q}=Q.buffered[f],X=Q.objectMode?1:r.length;Q.length-=X,q((H=Q.errored)!==null&&H!==void 0?H:new I("write"))}const L=Q[F].splice(0);for(let f=0;f<L.length;f++){var d;L[f]((d=Q.errored)!==null&&d!==void 0?d:new I("end"))}u(Q)}function s(Q,H){if(H.corked||H.bufferProcessing||H.destroyed||!H.constructed)return;const{buffered:L,bufferedIndex:d,objectMode:f}=H,r=L.length-d;if(!r)return;let q=d;if(H.bufferProcessing=!0,r>1&&Q._writev){H.pendingcb-=r-1;const X=H.allNoop?K:(x)=>{for(let v=q;v<L.length;++v)L[v].callback(x)},C=H.allNoop&&q===0?L:B(L,q);C.allBuffers=H.allBuffers,w(Q,H,!0,H.length,C,"",X),u(H)}else{do{const{chunk:X,encoding:C,callback:x}=L[q];L[q++]=null;const v=f?1:X.length;w(Q,H,!1,v,X,C,x)}while(q<L.length&&!H.writing);if(q===L.length)u(H);else if(q>256)L.splice(0,q),H.bufferedIndex=0;else H.bufferedIndex=q}H.bufferProcessing=!1}Y.prototype._write=function(Q,H,L){if(this._writev)this._writev([{chunk:Q,encoding:H}],L);else throw new P("_write()")},Y.prototype._writev=null,Y.prototype.end=function(Q,H,L,d=!1){const f=this._writableState;if(typeof Q==="function")L=Q,Q=null,H=null;else if(typeof H==="function")L=H,H=null;let r;if(Q!==null&&Q!==void 0){let q;if(!d)q=J(this,Q,H);else q=this.write(Q,H);if(q instanceof G)r=q}if(f.corked)f.corked=1,this.uncork();if(r)this.emit("error",r);else if(!f.errored&&!f.ending)f.ending=!0,qq(this,f,!0),f.ended=!0;else if(f.finished)r=new _("end");else if(f.destroyed)r=new I("end");if(typeof L==="function")if(r||f.finished)Xq(L,r);else f[F].push(L);return this};function e(Q,H){var L=Q.ending&&!Q.destroyed&&Q.constructed&&Q.length===0&&!Q.errored&&Q.buffered.length===0&&!Q.finished&&!Q.writing&&!Q.errorEmitted&&!Q.closeEmitted;return Gq("needFinish",L,H),L}function Hq(Q,H){let L=!1;function d(f){if(L){n(Q,f!==null&&f!==void 0?f:Z());return}if(L=!0,H.pendingcb--,f){const r=H[F].splice(0);for(let q=0;q<r.length;q++)r[q](f);n(Q,f,H.sync)}else if(e(H))H.prefinished=!0,Q.emit("prefinish"),H.pendingcb++,Xq(Kq,Q,H)}H.sync=!0,H.pendingcb++;try{Q._final(d)}catch(f){d(f)}H.sync=!1}function $q(Q,H){if(!H.prefinished&&!H.finalCalled)if(typeof Q._final==="function"&&!H.destroyed)H.finalCalled=!0,Hq(Q,H);else H.prefinished=!0,Q.emit("prefinish")}function qq(Q,H,L){if(!e(H,Q.__id))return;if($q(Q,H),H.pendingcb===0){if(L)H.pendingcb++,Xq((d,f)=>{if(e(f))Kq(d,f);else f.pendingcb--},Q,H);else if(e(H))H.pendingcb++,Kq(Q,H)}}function Kq(Q,H){H.pendingcb--,H.finished=!0;const L=H[F].splice(0);for(let d=0;d<L.length;d++)L[d]();if(Q.emit("finish"),H.autoDestroy){const d=Q._readableState;if(!d||d.autoDestroy&&(d.endEmitted||d.readable===!1))Q.destroy()}}M(Y.prototype,{closed:{get(){return this._writableState?this._writableState.closed:!1}},destroyed:{get(){return this._writableState?this._writableState.destroyed:!1},set(Q){if(this._writableState)this._writableState.destroyed=Q}},writable:{get(){const Q=this._writableState;return!!Q&&Q.writable!==!1&&!Q.destroyed&&!Q.errored&&!Q.ending&&!Q.ended},set(Q){if(this._writableState)this._writableState.writable=!!Q}},writableFinished:{get(){return this._writableState?this._writableState.finished:!1}},writableObjectMode:{get(){return this._writableState?this._writableState.objectMode:!1}},writableBuffer:{get(){return this._writableState&&this._writableState.getBuffer()}},writableEnded:{get(){return this._writableState?this._writableState.ending:!1}},writableNeedDrain:{get(){const Q=this._writableState;if(!Q)return!1;return!Q.destroyed&&!Q.ending&&Q.needDrain}},writableHighWaterMark:{get(){return this._writableState&&this._writableState.highWaterMark}},writableCorked:{get(){return this._writableState?this._writableState.corked:0}},writableLength:{get(){return this._writableState&&this._writableState.length}},errored:{enumerable:!1,get(){return this._writableState?this._writableState.errored:null}},writableAborted:{enumerable:!1,get:function(){return!!(this._writableState.writable!==!1&&(this._writableState.destroyed||this._writableState.errored)&&!this._writableState.finished)}}});var Qq=O.destroy;Y.prototype.destroy=function(Q,H){const L=this._writableState;if(!L.destroyed&&(L.bufferedIndex<L.buffered.length||L[F].length))Xq(o,L);return Qq.call(this,Q,H),this},Y.prototype._undestroy=O.undestroy,Y.prototype._destroy=function(Q,H){H(Q)},Y.prototype[Iq.captureRejectionSymbol]=function(Q){this.destroy(Q)};var V;function h(){if(V===void 0)V={};return V}Y.fromWeb=function(Q,H){return h().newStreamWritableFromWritableStream(Q,H)},Y.toWeb=function(Q){return h().newWritableStreamFromStreamWritable(Q)}}}),HQ=Bq({"node_modules/readable-stream/lib/internal/streams/duplexify.js"(a,j){var{isReadable:B,isWritable:G,isIterable:y,isNodeStream:A,isReadableNodeStream:M,isWritableNodeStream:R,isDuplexNodeStream:T}=Eq(),g=Fq(),{AbortError:k,codes:{ERR_INVALID_ARG_TYPE:c,ERR_INVALID_RETURN_VALUE:O}}=Wq(),{destroyer:l}=Tq(),D=Mq(),p=_q(),{createDeferredPromise:E}=Aq(),P=hq(),Z=typeof Blob!=="undefined"?function i($){return $ instanceof Blob}:function i($){return!1},{FunctionPrototypeCall:U}=Vq();class I extends D{constructor(i){super(i);if((i===null||i===void 0?void 0:i.readable)===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if((i===null||i===void 0?void 0:i.writable)===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}}j.exports=function i($,n){if(T($))return $;if(M($))return t({readable:$});if(R($))return t({writable:$});if(A($))return t({writable:!1,readable:!1});if(typeof $==="function"){const{value:K,write:F,final:m,destroy:u}=_($);if(y(K))return P(I,K,{objectMode:!0,write:F,final:m,destroy:u});const J=K===null||K===void 0?void 0:K.then;if(typeof J==="function"){let z;const w=U(J,K,(S)=>{if(S!=null)throw new O("nully","body",S)},(S)=>{l(z,S)});return z=new I({objectMode:!0,readable:!1,write:F,final(S){m(async()=>{try{await w,Xq(S,null)}catch(N){Xq(S,N)}})},destroy:u})}throw new O("Iterable, AsyncIterable or AsyncFunction",n,K)}if(Z($))return i($.arrayBuffer());if(y($))return P(I,$,{objectMode:!0,writable:!1});if(typeof($===null||$===void 0?void 0:$.writable)==="object"||typeof($===null||$===void 0?void 0:$.readable)==="object"){const K=$!==null&&$!==void 0&&$.readable?M($===null||$===void 0?void 0:$.readable)?$===null||$===void 0?void 0:$.readable:i($.readable):void 0,F=$!==null&&$!==void 0&&$.writable?R($===null||$===void 0?void 0:$.writable)?$===null||$===void 0?void 0:$.writable:i($.writable):void 0;return t({readable:K,writable:F})}const Y=$===null||$===void 0?void 0:$.then;if(typeof Y==="function"){let K;return U(Y,$,(F)=>{if(F!=null)K.push(F);K.push(null)},(F)=>{l(K,F)}),K=new I({objectMode:!0,writable:!1,read(){}})}throw new c(n,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],$)};function _(i){let{promise:$,resolve:n}=E();const Y=new AbortController,K=Y.signal;return{value:i(async function*(){while(!0){const m=$;$=null;const{chunk:u,done:J,cb:z}=await m;if(Xq(z),J)return;if(K.aborted)throw new k(void 0,{cause:K.reason});({promise:$,resolve:n}=E()),yield u}}(),{signal:K}),write(m,u,J){const z=n;n=null,z({chunk:m,done:!1,cb:J})},final(m){const u=n;n=null,u({done:!0,cb:m})},destroy(m,u){Y.abort(),u(m)}}}function t(i){const $=i.readable&&typeof i.readable.read!=="function"?p.wrap(i.readable):i.readable,n=i.writable;let Y=!!B($),K=!!G(n),F,m,u,J,z;function w(S){const N=J;if(J=null,N)N(S);else if(S)z.destroy(S);else if(!Y&&!K)z.destroy()}if(z=new I({readableObjectMode:!!($!==null&&$!==void 0&&$.readableObjectMode),writableObjectMode:!!(n!==null&&n!==void 0&&n.writableObjectMode),readable:Y,writable:K}),K)g(n,(S)=>{if(K=!1,S)l($,S);w(S)}),z._write=function(S,N,W){if(n.write(S,N))W();else F=W},z._final=function(S){n.end(),m=S},n.on("drain",function(){if(F){const S=F;F=null,S()}}),n.on("finish",function(){if(m){const S=m;m=null,S()}});if(Y)g($,(S)=>{if(Y=!1,S)l($,S);w(S)}),$.on("readable",function(){if(u){const S=u;u=null,S()}}),$.on("end",function(){z.push(null)}),z._read=function(){while(!0){const S=$.read();if(S===null){u=z._read;return}if(!z.push(S))return}};return z._destroy=function(S,N){if(!S&&J!==null)S=new k;if(u=null,F=null,m=null,J===null)N(S);else J=N,l(n,S),l($,S)},z}}}),Mq=Bq({"node_modules/readable-stream/lib/internal/streams/duplex.js"(a,j){var{ObjectDefineProperties:B,ObjectGetOwnPropertyDescriptor:G,ObjectKeys:y,ObjectSetPrototypeOf:A}=Vq(),M=_q();function R(O){if(!(this instanceof R))return new R(O);if(M.call(this,O),Uq.call(this,O),O){if(this.allowHalfOpen=O.allowHalfOpen!==!1,O.readable===!1)this._readableState.readable=!1,this._readableState.ended=!0,this._readableState.endEmitted=!0;if(O.writable===!1)this._writableState.writable=!1,this._writableState.ending=!0,this._writableState.ended=!0,this._writableState.finished=!0}else this.allowHalfOpen=!0}j.exports=R,A(R.prototype,M.prototype),A(R,M);for(var T in Uq.prototype)if(!R.prototype[T])R.prototype[T]=Uq.prototype[T];B(R.prototype,{writable:G(Uq.prototype,"writable"),writableHighWaterMark:G(Uq.prototype,"writableHighWaterMark"),writableObjectMode:G(Uq.prototype,"writableObjectMode"),writableBuffer:G(Uq.prototype,"writableBuffer"),writableLength:G(Uq.prototype,"writableLength"),writableFinished:G(Uq.prototype,"writableFinished"),writableCorked:G(Uq.prototype,"writableCorked"),writableEnded:G(Uq.prototype,"writableEnded"),writableNeedDrain:G(Uq.prototype,"writableNeedDrain"),destroyed:{get(){if(this._readableState===void 0||this._writableState===void 0)return!1;return this._readableState.destroyed&&this._writableState.destroyed},set(O){if(this._readableState&&this._writableState)this._readableState.destroyed=O,this._writableState.destroyed=O}}});var g;function k(){if(g===void 0)g={};return g}R.fromWeb=function(O,l){return k().newStreamDuplexFromReadableWritablePair(O,l)},R.toWeb=function(O){return k().newReadableWritablePairFromDuplex(O)};var c;R.from=function(O){if(!c)c=HQ();return c(O,"body")}}}),mq=Bq({"node_modules/readable-stream/lib/internal/streams/transform.js"(a,j){var{ObjectSetPrototypeOf:B,Symbol:G}=Vq(),{ERR_METHOD_NOT_IMPLEMENTED:y}=Wq().codes,A=Mq();function M(k){if(!(this instanceof M))return new M(k);if(A.call(this,k),this._readableState.sync=!1,this[R]=null,k){if(typeof k.transform==="function")this._transform=k.transform;if(typeof k.flush==="function")this._flush=k.flush}this.on("prefinish",g.bind(this))}B(M.prototype,A.prototype),B(M,A),j.exports=M;var R=G("kCallback");function T(k){if(typeof this._flush==="function"&&!this.destroyed)this._flush((c,O)=>{if(c){if(k)k(c);else this.destroy(c);return}if(O!=null)this.push(O);if(this.push(null),k)k()});else if(this.push(null),k)k()}function g(){if(this._final!==T)T.call(this)}M.prototype._final=T,M.prototype._transform=function(k,c,O){throw new y("_transform()")},M.prototype._write=function(k,c,O){const l=this._readableState,D=this._writableState,p=l.length;this._transform(k,c,(E,P)=>{if(E){O(E);return}if(P!=null)this.push(P);if(D.ended||p===l.length||l.length<l.highWaterMark||l.highWaterMark===0||l.length===0)O();else this[R]=O})},M.prototype._read=function(){if(this[R]){const k=this[R];this[R]=null,k()}}}}),cq=Bq({"node_modules/readable-stream/lib/internal/streams/passthrough.js"(a,j){var{ObjectSetPrototypeOf:B}=Vq(),G=mq();function y(A){if(!(this instanceof y))return new y(A);G.call(this,A)}B(y.prototype,G.prototype),B(y,G),y.prototype._transform=function(A,M,R){R(null,A)},j.exports=y}}),gq=Bq({"node_modules/readable-stream/lib/internal/streams/pipeline.js"(a,j){var{ArrayIsArray:B,Promise:G,SymbolAsyncIterator:y}=Vq(),A=Fq(),{once:M}=Aq(),R=Tq(),T=Mq(),{aggregateTwoErrors:g,codes:{ERR_INVALID_ARG_TYPE:k,ERR_INVALID_RETURN_VALUE:c,ERR_MISSING_ARGS:O,ERR_STREAM_DESTROYED:l},AbortError:D}=Wq(),{validateFunction:p,validateAbortSignal:E}=Cq(),{isIterable:P,isReadable:Z,isReadableNodeStream:U,isNodeStream:I}=Eq(),_,t;function i(J,z,w){let S=!1;J.on("close",()=>{S=!0});const N=A(J,{readable:z,writable:w},(W)=>{S=!W});return{destroy:(W)=>{if(S)return;S=!0,R.destroyer(J,W||new l("pipe"))},cleanup:N}}function $(J){return p(J[J.length-1],"streams[stream.length - 1]"),J.pop()}function n(J){if(P(J))return J;else if(U(J))return Y(J);throw new k("val",["Readable","Iterable","AsyncIterable"],J)}async function*Y(J){if(!t)t=_q();yield*t.prototype[y].call(J)}async function K(J,z,w,{end:S}){let N,W=null;const b=(e)=>{if(e)N=e;if(W){const Hq=W;W=null,Hq()}},o=()=>new G((e,Hq)=>{if(N)Hq(N);else W=()=>{if(N)Hq(N);else e()}});z.on("drain",b);const s=A(z,{readable:!1},b);try{if(z.writableNeedDrain)await o();for await(let e of J)if(!z.write(e))await o();if(S)z.end();await o(),w()}catch(e){w(N!==e?g(N,e):e)}finally{s(),z.off("drain",b)}}function F(...J){return m(J,M($(J)))}function m(J,z,w){if(J.length===1&&B(J[0]))J=J[0];if(J.length<2)throw new O("streams");const S=new AbortController,N=S.signal,W=w===null||w===void 0?void 0:w.signal,b=[];E(W,"options.signal");function o(){Kq(new D)}W===null||W===void 0||W.addEventListener("abort",o);let s,e;const Hq=[];let $q=0;function qq(h){Kq(h,--$q===0)}function Kq(h,Q){if(h&&(!s||s.code==="ERR_STREAM_PREMATURE_CLOSE"))s=h;if(!s&&!Q)return;while(Hq.length)Hq.shift()(s);if(W===null||W===void 0||W.removeEventListener("abort",o),S.abort(),Q){if(!s)b.forEach((H)=>H());Xq(z,s,e)}}let Qq;for(let h=0;h<J.length;h++){const Q=J[h],H=h<J.length-1,L=h>0,d=H||(w===null||w===void 0?void 0:w.end)!==!1,f=h===J.length-1;if(I(Q)){let r=function(q){if(q&&q.name!=="AbortError"&&q.code!=="ERR_STREAM_PREMATURE_CLOSE")qq(q)};if(d){const{destroy:q,cleanup:X}=i(Q,H,L);if(Hq.push(q),Z(Q)&&f)b.push(X)}if(Q.on("error",r),Z(Q)&&f)b.push(()=>{Q.removeListener("error",r)})}if(h===0)if(typeof Q==="function"){if(Qq=Q({signal:N}),!P(Qq))throw new c("Iterable, AsyncIterable or Stream","source",Qq)}else if(P(Q)||U(Q))Qq=Q;else Qq=T.from(Q);else if(typeof Q==="function")if(Qq=n(Qq),Qq=Q(Qq,{signal:N}),H){if(!P(Qq,!0))throw new c("AsyncIterable",`transform[${h-1}]`,Qq)}else{var V;if(!_)_=cq();const r=new _({objectMode:!0}),q=(V=Qq)===null||V===void 0?void 0:V.then;if(typeof q==="function")$q++,q.call(Qq,(x)=>{if(e=x,x!=null)r.write(x);if(d)r.end();Xq(qq)},(x)=>{r.destroy(x),Xq(qq,x)});else if(P(Qq,!0))$q++,K(Qq,r,qq,{end:d});else throw new c("AsyncIterable or Promise","destination",Qq);Qq=r;const{destroy:X,cleanup:C}=i(Qq,!1,!0);if(Hq.push(X),f)b.push(C)}else if(I(Q)){if(U(Qq)){$q+=2;const r=u(Qq,Q,qq,{end:d});if(Z(Q)&&f)b.push(r)}else if(P(Qq))$q++,K(Qq,Q,qq,{end:d});else throw new k("val",["Readable","Iterable","AsyncIterable"],Qq);Qq=Q}else Qq=T.from(Q)}if(N!==null&&N!==void 0&&N.aborted||W!==null&&W!==void 0&&W.aborted)Xq(o);return Qq}function u(J,z,w,{end:S}){if(J.pipe(z,{end:S}),S)J.once("end",()=>z.end());else w();return A(J,{readable:!0,writable:!1},(N)=>{const W=J._readableState;if(N&&N.code==="ERR_STREAM_PREMATURE_CLOSE"&&W&&W.ended&&!W.errored&&!W.errorEmitted)J.once("end",w).once("error",w);else w(N)}),A(z,{readable:!1,writable:!0},w)}j.exports={pipelineImpl:m,pipeline:F}}}),KQ=Bq({"node_modules/readable-stream/lib/internal/streams/compose.js"(a,j){var{pipeline:B}=gq(),G=Mq(),{destroyer:y}=Tq(),{isNodeStream:A,isReadable:M,isWritable:R}=Eq(),{AbortError:T,codes:{ERR_INVALID_ARG_VALUE:g,ERR_MISSING_ARGS:k}}=Wq();j.exports=function c(...O){if(O.length===0)throw new k("streams");if(O.length===1)return G.from(O[0]);const l=[...O];if(typeof O[0]==="function")O[0]=G.from(O[0]);if(typeof O[O.length-1]==="function"){const $=O.length-1;O[$]=G.from(O[$])}for(let $=0;$<O.length;++$){if(!A(O[$]))continue;if($<O.length-1&&!M(O[$]))throw new g(`streams[${$}]`,l[$],"must be readable");if($>0&&!R(O[$]))throw new g(`streams[${$}]`,l[$],"must be writable")}let D,p,E,P,Z;function U($){const n=P;if(P=null,n)n($);else if($)Z.destroy($);else if(!i&&!t)Z.destroy()}const I=O[0],_=B(O,U),t=!!R(I),i=!!M(_);if(Z=new G({writableObjectMode:!!(I!==null&&I!==void 0&&I.writableObjectMode),readableObjectMode:!!(_!==null&&_!==void 0&&_.writableObjectMode),writable:t,readable:i}),t)Z._write=function($,n,Y){if(I.write($,n))Y();else D=Y},Z._final=function($){I.end(),p=$},I.on("drain",function(){if(D){const $=D;D=null,$()}}),_.on("finish",function(){if(p){const $=p;p=null,$()}});if(i)_.on("readable",function(){if(E){const $=E;E=null,$()}}),_.on("end",function(){Z.push(null)}),Z._read=function(){while(!0){const $=_.read();if($===null){E=Z._read;return}if(!Z.push($))return}};return Z._destroy=function($,n){if(!$&&P!==null)$=new T;if(E=null,D=null,p=null,P===null)n($);else P=n,y(_,$)},Z}}}),dq=Bq({"node_modules/readable-stream/lib/stream/promises.js"(a,j){var{ArrayPrototypePop:B,Promise:G}=Vq(),{isIterable:y,isNodeStream:A}=Eq(),{pipelineImpl:M}=gq(),{finished:R}=Fq();function T(...g){return new G((k,c)=>{let O,l;const D=g[g.length-1];if(D&&typeof D==="object"&&!A(D)&&!y(D)){const p=B(g);O=p.signal,l=p.end}M(g,(p,E)=>{if(p)c(p);else k(E)},{signal:O,end:l})})}j.exports={finished:R,pipeline:T}}}),ZQ=Bq({"node_modules/readable-stream/lib/stream.js"(a,j){var{ObjectDefineProperty:B,ObjectKeys:G,ReflectApply:y}=Vq(),{promisify:{custom:A}}=Aq(),{streamReturningOperators:M,promiseReturningOperators:R}=XQ(),{codes:{ERR_ILLEGAL_CONSTRUCTOR:T}}=Wq(),g=KQ(),{pipeline:k}=gq(),{destroyer:c}=Tq(),O=Fq(),l=dq(),D=Eq(),p=j.exports=Rq().Stream;p.isDisturbed=D.isDisturbed,p.isErrored=D.isErrored,p.isWritable=D.isWritable,p.isReadable=D.isReadable,p.Readable=_q();for(let P of G(M)){let Z=function(...I){if(new.target)throw T();return p.Readable.from(y(U,this,I))};const U=M[P];B(Z,"name",{value:U.name}),B(Z,"length",{value:U.length}),B(p.Readable.prototype,P,{value:Z,enumerable:!1,configurable:!0,writable:!0})}for(let P of G(R)){let Z=function(...I){if(new.target)throw T();return y(U,this,I)};const U=R[P];B(Z,"name",{value:U.name}),B(Z,"length",{value:U.length}),B(p.Readable.prototype,P,{value:Z,enumerable:!1,configurable:!0,writable:!0})}p.Writable=bq(),p.Duplex=Mq(),p.Transform=mq(),p.PassThrough=cq(),p.pipeline=k;var{addAbortSignal:E}=Sq();p.addAbortSignal=E,p.finished=O,p.destroy=c,p.compose=g,B(p,"promises",{configurable:!0,enumerable:!0,get(){return l}}),B(k,A,{enumerable:!0,get(){return l.pipeline}}),B(O,A,{enumerable:!0,get(){return l.finished}}),p.Stream=p,p._isUint8Array=function P(Z){return Z instanceof Uint8Array},p._uint8ArrayToBuffer=function P(Z){return new Buffer(Z.buffer,Z.byteOffset,Z.byteLength)}}}),BQ=Bq({"node_modules/readable-stream/lib/ours/index.js"(a,j){const B=ZQ(),G=dq(),y=B.Readable.destroy;j.exports=B,j.exports._uint8ArrayToBuffer=B._uint8ArrayToBuffer,j.exports._isUint8Array=B._isUint8Array,j.exports.isDisturbed=B.isDisturbed,j.exports.isErrored=B.isErrored,j.exports.isWritable=B.isWritable,j.exports.isReadable=B.isReadable,j.exports.Readable=B.Readable,j.exports.Writable=B.Writable,j.exports.Duplex=B.Duplex,j.exports.Transform=B.Transform,j.exports.PassThrough=B.PassThrough,j.exports.addAbortSignal=B.addAbortSignal,j.exports.finished=B.finished,j.exports.destroy=B.destroy,j.exports.destroy=y,j.exports.pipeline=B.pipeline,j.exports.compose=B.compose,j.exports._getNativeReadableStreamPrototype=lq,j.exports.NativeWritable=iq,zq.defineProperty(B,"promises",{configurable:!0,enumerable:!0,get(){return G}}),j.exports.Stream=B.Stream,j.exports.default=j.exports}}),$Q={0:void 0,1:void 0,2:void 0,3:void 0,4:void 0,5:void 0},Uq=bq(),iq=class a extends Uq{#q;#Q;#X=!0;_construct;_destroy;_final;constructor(j,B={}){super(B);this._construct=this.#H,this._destroy=this.#K,this._final=this.#Z,this.#q=j}#H(j){this._writableState.constructed=!0,this.constructed=!0,j()}#J(){if(typeof this.#q==="object")if(typeof this.#q.write==="function")this.#Q=this.#q;else throw new Error("Invalid FileSink");else this.#Q=Bun.file(this.#q).writer()}write(j,B,G,y=this.#X){if(!y)return this.#X=!1,super.write(j,B,G);if(!this.#Q)this.#J();var A=this.#Q,M=A.write(j);if(xq(M))return M.then(()=>{this.emit("drain"),A.flush(!0)}),!1;if(A.flush(!0),G)G(null,j.byteLength);return!0}end(j,B,G,y=this.#X){return super.end(j,B,G,y)}#K(j,B){if(this._writableState.destroyed=!0,B)B(j)}#Z(j){if(this.#Q)this.#Q.end();if(j)j()}ref(){if(!this.#Q)this.#J();this.#Q.ref()}unref(){if(!this.#Q)return;this.#Q.unref()}},Yq=BQ();Yq[Symbol.for("CommonJS")]=0;Yq[Symbol.for("::bunternal::")]={_ReadableFromWeb:pq,_ReadableFromWebForUndici:uq};var cQ=Yq,EQ=Yq._uint8ArrayToBuffer,IQ=Yq._isUint8Array,TQ=Yq.isDisturbed,PQ=Yq.isErrored,xQ=Yq.isWritable,OQ=Yq.isReadable,CQ=Yq.Readable,Uq=Yq.Writable,_Q=Yq.Duplex,DQ=Yq.Transform,wQ=Yq.PassThrough,vQ=Yq.addAbortSignal,RQ=Yq.finished,SQ=Yq.destroy,gQ=Yq.pipeline,kQ=Yq.compose,VQ=Yq.Stream,fQ=Yq.eos=Fq,yQ=Yq._getNativeReadableStreamPrototype,iq=Yq.NativeWritable,hQ=VQ.promises;export{hQ as promises,gQ as pipeline,xQ as isWritable,OQ as isReadable,PQ as isErrored,TQ as isDisturbed,RQ as finished,fQ as eos,SQ as destroy,cQ as default,kQ as compose,vQ as addAbortSignal,EQ as _uint8ArrayToBuffer,IQ as _isUint8Array,yQ as _getNativeReadableStreamPrototype,Uq as Writable,DQ as Transform,VQ as Stream,CQ as Readable,wQ as PassThrough,iq as NativeWritable,_Q as Duplex};
diff --git a/src/node-fallbacks/crypto.js b/src/node-fallbacks/crypto.js
index 7745530da..65ae2f5b3 100644
--- a/src/node-fallbacks/crypto.js
+++ b/src/node-fallbacks/crypto.js
@@ -12,6 +12,27 @@ export const randomUUID = () => {
return crypto.randomUUID();
};
+const harcoded_curves = [
+ "p192",
+ "p224",
+ "p256",
+ "p384",
+ "p521",
+ "curve25519",
+ "ed25519",
+ "secp256k1",
+ "secp224r1",
+ "prime256v1",
+ "prime192v1",
+ "ed25519",
+ "secp384r1",
+ "secp521r1",
+];
+
+export function getCurves() {
+ return harcoded_curves;
+}
+
export const timingSafeEqual =
"timingSafeEqual" in crypto
? (a, b) => {
@@ -89,4 +110,5 @@ export default {
scryptSync,
scrypt,
webcrypto,
+ getCurves,
};
diff --git a/test/js/node/crypto/crypto.test.ts b/test/js/node/crypto/crypto.test.ts
index d8bfe5353..b1b8646f3 100644
--- a/test/js/node/crypto/crypto.test.ts
+++ b/test/js/node/crypto/crypto.test.ts
@@ -1,6 +1,6 @@
import { sha, MD5, MD4, SHA1, SHA224, SHA256, SHA384, SHA512, SHA512_256, gc, CryptoHasher } from "bun";
import { it, expect, describe } from "bun:test";
-
+import crypto from "crypto";
const HashClasses = [MD5, MD4, SHA1, SHA224, SHA256, SHA384, SHA512, SHA512_256];
describe("CryptoHasher", () => {
@@ -109,6 +109,13 @@ describe("CryptoHasher", () => {
}
});
+describe("crypto.getCurves", () => {
+ it("should return an array of strings", () => {
+ expect(Array.isArray(crypto.getCurves())).toBe(true);
+ expect(typeof crypto.getCurves()[0]).toBe("string");
+ });
+});
+
describe("crypto", () => {
for (let Hash of HashClasses) {
for (let [input, label] of [
diff --git a/test/js/node/fs/fs.test.ts b/test/js/node/fs/fs.test.ts
index 3b1688c15..0236010be 100644
--- a/test/js/node/fs/fs.test.ts
+++ b/test/js/node/fs/fs.test.ts
@@ -1448,3 +1448,26 @@ describe("utimesSync", () => {
expect(finalStats.atime).toEqual(prevAccessTime);
});
});
+
+it("createReadStream on a large file emits readable event correctly", () => {
+ return new Promise<void>((resolve, reject) => {
+ const tmp = mkdtempSync(`${tmpdir()}/readable`);
+ // write a 10mb file
+ writeFileSync(`${tmp}/large.txt`, "a".repeat(10 * 1024 * 1024));
+ var stream = createReadStream(`${tmp}/large.txt`);
+ var ended = false;
+ var timer: Timer;
+ stream.on("readable", () => {
+ const v = stream.read();
+ if (ended) {
+ clearTimeout(timer);
+ reject(new Error("readable emitted after end"));
+ } else if (v == null) {
+ ended = true;
+ timer = setTimeout(() => {
+ resolve();
+ }, 20);
+ }
+ });
+ });
+});