mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 10:01:02 +00:00
1 line
45 KiB
Plaintext
1 line
45 KiB
Plaintext
{"dependencies":[{"name":"eventemitter3","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}],"key":"KCIqL5fIlk4FNNic7+TqcYLMlYo=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":46},"end":{"line":2,"column":91,"index":137}}],"key":"ISHU1ovvPMrCldqRjtd1JhW9dyo=","exportNames":["*"],"imports":1}},{"name":"../coder/index.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":138},"end":{"line":3,"column":45,"index":183}}],"key":"vsw30maekWW3i8bSqwloNwh2l4Y=","exportNames":["*"],"imports":1}},{"name":"./Health.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":184},"end":{"line":4,"column":44,"index":228}}],"key":"cdEGDZfSWJcDpE9NVxD6NOt2cao=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n Object.defineProperty(exports, \"ScProvider\", {\n enumerable: true,\n get: function () {\n return ScProvider;\n }\n });\n var _eventemitter = require(_dependencyMap[0], \"eventemitter3\");\n var _polkadotUtil = require(_dependencyMap[1], \"@polkadot/util\");\n var _coderIndexJs = require(_dependencyMap[2], \"../coder/index.js\");\n var _HealthJs = require(_dependencyMap[3], \"./Health.js\");\n const l = (0, _polkadotUtil.logger)('api-substrate-connect');\n const subscriptionUnsubscriptionMethods = new Map([['author_submitAndWatchExtrinsic', 'author_unwatchExtrinsic'], ['chain_subscribeAllHeads', 'chain_unsubscribeAllHeads'], ['chain_subscribeFinalizedHeads', 'chain_unsubscribeFinalizedHeads'], ['chain_subscribeFinalisedHeads', 'chain_subscribeFinalisedHeads'], ['chain_subscribeNewHeads', 'chain_unsubscribeNewHeads'], ['chain_subscribeNewHead', 'chain_unsubscribeNewHead'], ['chain_subscribeRuntimeVersion', 'chain_unsubscribeRuntimeVersion'], ['subscribe_newHead', 'unsubscribe_newHead'], ['state_subscribeRuntimeVersion', 'state_unsubscribeRuntimeVersion'], ['state_subscribeStorage', 'state_unsubscribeStorage']]);\n const scClients = new WeakMap();\n class ScProvider {\n #Sc;\n #coder = new _coderIndexJs.RpcCoder();\n #spec;\n #sharedSandbox;\n #subscriptions = new Map();\n #resubscribeMethods = new Map();\n #requests = new Map();\n #wellKnownChains;\n #eventemitter = new _eventemitter.EventEmitter();\n #chain = null;\n #isChainReady = false;\n constructor(Sc, spec, sharedSandbox) {\n if (!(0, _polkadotUtil.isObject)(Sc) || !(0, _polkadotUtil.isObject)(Sc.WellKnownChain) || !(0, _polkadotUtil.isFunction)(Sc.createScClient)) {\n throw new Error('Expected an @substrate/connect interface as first parameter to ScProvider');\n }\n this.#Sc = Sc;\n this.#spec = spec;\n this.#sharedSandbox = sharedSandbox;\n this.#wellKnownChains = new Set(Object.values(Sc.WellKnownChain));\n }\n get hasSubscriptions() {\n // Indicates that subscriptions are supported\n return !!true;\n }\n get isClonable() {\n return !!false;\n }\n get isConnected() {\n return !!this.#chain && this.#isChainReady;\n }\n clone() {\n throw new Error('clone() is not supported.');\n }\n // Config details can be found in @substrate/connect repo following the link:\n // https://github.com/paritytech/substrate-connect/blob/main/packages/connect/src/connector/index.ts\n async connect(config, checkerFactory = _HealthJs.healthChecker) {\n if (this.isConnected) {\n throw new Error('Already connected!');\n }\n // it could happen that after emitting `disconnected` due to the fact that\n // smoldot is syncing, the consumer tries to reconnect after a certain amount\n // of time... In which case we want to make sure that we don't create a new\n // chain.\n if (this.#chain) {\n await this.#chain;\n return;\n }\n if (this.#sharedSandbox && !this.#sharedSandbox.isConnected) {\n await this.#sharedSandbox.connect();\n }\n const client = this.#sharedSandbox ? scClients.get(this.#sharedSandbox) : this.#Sc.createScClient(config);\n if (!client) {\n throw new Error('Unknown ScProvider!');\n }\n scClients.set(this, client);\n const hc = checkerFactory();\n const onResponse = res => {\n const hcRes = hc.responsePassThrough(res);\n if (!hcRes) {\n return;\n }\n const response = JSON.parse(hcRes);\n let decodedResponse;\n try {\n decodedResponse = this.#coder.decodeResponse(response);\n } catch (e) {\n decodedResponse = e;\n }\n // It's not a subscription message, but rather a standar RPC response\n if (response.params?.subscription === undefined || !response.method) {\n return this.#requests.get(response.id)?.(decodedResponse);\n }\n // We are dealing with a subscription message\n const subscriptionId = `${response.method}::${response.params.subscription}`;\n const callback = this.#subscriptions.get(subscriptionId)?.[0];\n callback?.(decodedResponse);\n };\n const addChain = this.#sharedSandbox ? async (...args) => {\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n const source = this.#sharedSandbox;\n // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n return (await source.#chain).addChain(...args);\n } : this.#wellKnownChains.has(this.#spec) ? client.addWellKnownChain : client.addChain;\n this.#chain = addChain(this.#spec, onResponse).then(chain => {\n hc.setSendJsonRpc(chain.sendJsonRpc);\n this.#isChainReady = false;\n const cleanup = () => {\n // If there are any callbacks left, we have to reject/error them.\n // Otherwise, that would cause a memory leak.\n const disconnectionError = new Error('Disconnected');\n this.#requests.forEach(cb => cb(disconnectionError));\n this.#subscriptions.forEach(([cb]) => cb(disconnectionError));\n this.#subscriptions.clear();\n };\n const staleSubscriptions = [];\n const killStaleSubscriptions = () => {\n if (staleSubscriptions.length === 0) {\n return;\n }\n const stale = staleSubscriptions.pop();\n if (!stale) {\n throw new Error('Unable to get stale subscription');\n }\n const {\n id,\n unsubscribeMethod\n } = stale;\n Promise.race([this.send(unsubscribeMethod, [id]).catch(_polkadotUtil.noop), new Promise(resolve => setTimeout(resolve, 500))]).then(killStaleSubscriptions).catch(_polkadotUtil.noop);\n };\n hc.start(health => {\n const isReady = !health.isSyncing && (health.peers > 0 || !health.shouldHavePeers);\n // if it's the same as before, then nothing has changed and we are done\n if (this.#isChainReady === isReady) {\n return;\n }\n this.#isChainReady = isReady;\n if (!isReady) {\n // If we've reached this point, that means that the chain used to be \"ready\"\n // and now we are about to emit `disconnected`.\n //\n // This will cause the PolkadotJs API think that the connection is\n // actually dead. In reality the smoldot chain is not dead, of course.\n // However, we have to cleanup all the existing callbacks because when\n // the smoldot chain stops syncing, then we will emit `connected` and\n // the PolkadotJs API will try to re-create the previous\n // subscriptions and requests. Although, now is not a good moment\n // to be sending unsubscription messages to the smoldot chain, we\n // should wait until is no longer syncing to send the unsubscription\n // messages from the stale subscriptions of the previous connection.\n //\n // That's why -before we perform the cleanup of `this.#subscriptions`-\n // we keep the necessary information that we will need later on to\n // kill the stale subscriptions.\n [...this.#subscriptions.values()].forEach(s => {\n staleSubscriptions.push(s[1]);\n });\n cleanup();\n this.#eventemitter.emit('disconnected');\n } else {\n killStaleSubscriptions();\n this.#eventemitter.emit('connected');\n if (this.#resubscribeMethods.size) {\n this.#resubscribe();\n }\n }\n });\n return (0, _polkadotUtil.objectSpread)({}, chain, {\n remove: () => {\n hc.stop();\n chain.remove();\n cleanup();\n },\n sendJsonRpc: hc.sendJsonRpc.bind(hc)\n });\n });\n try {\n await this.#chain;\n } catch (e) {\n this.#chain = null;\n this.#eventemitter.emit('error', e);\n throw e;\n }\n }\n #resubscribe = () => {\n const promises = [];\n this.#resubscribeMethods.forEach(subDetails => {\n // only re-create subscriptions which are not in author (only area where\n // transactions are created, i.e. submissions such as 'author_submitAndWatchExtrinsic'\n // are not included (and will not be re-broadcast)\n if (subDetails.type.startsWith('author_')) {\n return;\n }\n try {\n const promise = new Promise(resolve => {\n this.subscribe(subDetails.type, subDetails.method, subDetails.params, subDetails.callback).catch(error => console.log(error));\n resolve();\n });\n promises.push(promise);\n } catch (error) {\n l.error(error);\n }\n });\n Promise.all(promises).catch(err => l.log(err));\n };\n async disconnect() {\n if (!this.#chain) {\n return;\n }\n const chain = await this.#chain;\n this.#chain = null;\n this.#isChainReady = false;\n try {\n chain.remove();\n } catch (_) {}\n this.#eventemitter.emit('disconnected');\n }\n on(type, sub) {\n // It's possible. Although, quite unlikely, that by the time that polkadot\n // subscribes to the `connected` event, the Provider is already connected.\n // In that case, we must emit to let the consumer know that we are connected.\n if (type === 'connected' && this.isConnected) {\n sub();\n }\n this.#eventemitter.on(type, sub);\n return () => {\n this.#eventemitter.removeListener(type, sub);\n };\n }\n async send(method, params) {\n if (!this.isConnected || !this.#chain) {\n throw new Error('Provider is not connected');\n }\n const chain = await this.#chain;\n const [id, json] = this.#coder.encodeJson(method, params);\n const result = new Promise((resolve, reject) => {\n this.#requests.set(id, response => {\n ((0, _polkadotUtil.isError)(response) ? reject : resolve)(response);\n });\n try {\n chain.sendJsonRpc(json);\n } catch (e) {\n this.#chain = null;\n try {\n chain.remove();\n } catch (_) {}\n this.#eventemitter.emit('error', e);\n }\n });\n try {\n return await result;\n } finally {\n // let's ensure that once the Promise is resolved/rejected, then we remove\n // remove its entry from the internal #requests\n this.#requests.delete(id);\n }\n }\n async subscribe(type, method, params, callback) {\n if (!subscriptionUnsubscriptionMethods.has(method)) {\n throw new Error(`Unsupported subscribe method: ${method}`);\n }\n const id = await this.send(method, params);\n const subscriptionId = `${type}::${id}`;\n const cb = response => {\n if (response instanceof Error) {\n callback(response, undefined);\n } else {\n callback(null, response);\n }\n };\n const unsubscribeMethod = subscriptionUnsubscriptionMethods.get(method);\n if (!unsubscribeMethod) {\n throw new Error('Invalid unsubscribe method found');\n }\n this.#resubscribeMethods.set(subscriptionId, {\n callback,\n method,\n params,\n type\n });\n this.#subscriptions.set(subscriptionId, [cb, {\n id,\n unsubscribeMethod\n }]);\n return id;\n }\n unsubscribe(type, method, id) {\n if (!this.isConnected) {\n throw new Error('Provider is not connected');\n }\n const subscriptionId = `${type}::${id}`;\n if (!this.#subscriptions.has(subscriptionId)) {\n return Promise.reject(new Error(`Unable to find active subscription=${subscriptionId}`));\n }\n this.#resubscribeMethods.delete(subscriptionId);\n this.#subscriptions.delete(subscriptionId);\n return this.send(method, [id]);\n }\n }\n});","lineCount":299,"map":[[7,2,19,0,"Object"],[7,8,19,0],[7,9,19,0,"defineProperty"],[7,23,19,0],[7,24,19,0,"exports"],[7,31,19,0],[8,4,19,0,"enumerable"],[8,14,19,0],[9,4,19,0,"get"],[9,7,19,0],[9,18,19,0,"get"],[9,19,19,0],[10,6,19,0],[10,13,19,0,"ScProvider"],[10,23,19,0],[11,4,19,0],[12,2,19,0],[13,2,1,0],[13,6,1,0,"_eventemitter"],[13,19,1,0],[13,22,1,0,"require"],[13,29,1,0],[13,30,1,0,"_dependencyMap"],[13,44,1,0],[14,2,2,0],[14,6,2,0,"_polkadotUtil"],[14,19,2,0],[14,22,2,0,"require"],[14,29,2,0],[14,30,2,0,"_dependencyMap"],[14,44,2,0],[15,2,3,0],[15,6,3,0,"_coderIndexJs"],[15,19,3,0],[15,22,3,0,"require"],[15,29,3,0],[15,30,3,0,"_dependencyMap"],[15,44,3,0],[16,2,4,0],[16,6,4,0,"_HealthJs"],[16,15,4,0],[16,18,4,0,"require"],[16,25,4,0],[16,26,4,0,"_dependencyMap"],[16,40,4,0],[17,2,5,0],[17,8,5,6,"l"],[17,9,5,7],[17,12,5,10],[17,16,5,10,"logger"],[17,29,5,16],[17,30,5,16,"logger"],[17,36,5,16],[17,38,5,17],[17,61,5,40],[17,62,5,41],[18,2,6,0],[18,8,6,6,"subscriptionUnsubscriptionMethods"],[18,41,6,39],[18,44,6,42],[18,48,6,46,"Map"],[18,51,6,49],[18,52,6,50],[18,53,7,4],[18,54,7,5],[18,86,7,37],[18,88,7,39],[18,113,7,64],[18,114,7,65],[18,116,8,4],[18,117,8,5],[18,142,8,30],[18,144,8,32],[18,171,8,59],[18,172,8,60],[18,174,9,4],[18,175,9,5],[18,206,9,36],[18,208,9,38],[18,241,9,71],[18,242,9,72],[18,244,10,4],[18,245,10,5],[18,276,10,36],[18,278,10,38],[18,309,10,69],[18,310,10,70],[18,312,11,4],[18,313,11,5],[18,338,11,30],[18,340,11,32],[18,367,11,59],[18,368,11,60],[18,370,12,4],[18,371,12,5],[18,395,12,29],[18,397,12,31],[18,423,12,57],[18,424,12,58],[18,426,13,4],[18,427,13,5],[18,458,13,36],[18,460,13,38],[18,493,13,71],[18,494,13,72],[18,496,14,4],[18,497,14,5],[18,516,14,24],[18,518,14,26],[18,539,14,47],[18,540,14,48],[18,542,15,4],[18,543,15,5],[18,574,15,36],[18,576,15,38],[18,609,15,71],[18,610,15,72],[18,612,16,4],[18,613,16,5],[18,637,16,29],[18,639,16,31],[18,665,16,57],[18,666,16,58],[18,667,17,1],[18,668,17,2],[19,2,18,0],[19,8,18,6,"scClients"],[19,17,18,15],[19,20,18,18],[19,24,18,22,"WeakMap"],[19,31,18,29],[19,32,18,30],[19,33,18,31],[20,2,19,7],[20,8,19,13,"ScProvider"],[20,18,19,23],[20,19,19,24],[21,4,20,4],[21,5,20,5,"Sc"],[21,7,20,7],[22,4,21,4],[22,5,21,5,"coder"],[22,10,21,10],[22,13,21,13],[22,17,21,17,"RpcCoder"],[22,30,21,25],[22,31,21,25,"RpcCoder"],[22,39,21,25],[22,40,21,26],[22,41,21,27],[23,4,22,4],[23,5,22,5,"spec"],[23,9,22,9],[24,4,23,4],[24,5,23,5,"sharedSandbox"],[24,18,23,18],[25,4,24,4],[25,5,24,5,"subscriptions"],[25,18,24,18],[25,21,24,21],[25,25,24,25,"Map"],[25,28,24,28],[25,29,24,29],[25,30,24,30],[26,4,25,4],[26,5,25,5,"resubscribeMethods"],[26,23,25,23],[26,26,25,26],[26,30,25,30,"Map"],[26,33,25,33],[26,34,25,34],[26,35,25,35],[27,4,26,4],[27,5,26,5,"requests"],[27,13,26,13],[27,16,26,16],[27,20,26,20,"Map"],[27,23,26,23],[27,24,26,24],[27,25,26,25],[28,4,27,4],[28,5,27,5,"wellKnownChains"],[28,20,27,20],[29,4,28,4],[29,5,28,5,"eventemitter"],[29,17,28,17],[29,20,28,20],[29,24,28,24,"EventEmitter"],[29,37,28,36],[29,38,28,36,"EventEmitter"],[29,50,28,36],[29,51,28,37],[29,52,28,38],[30,4,29,4],[30,5,29,5,"chain"],[30,10,29,10],[30,13,29,13],[30,17,29,17],[31,4,30,4],[31,5,30,5,"isChainReady"],[31,17,30,17],[31,20,30,20],[31,25,30,25],[32,4,31,4,"constructor"],[32,15,31,15,"constructor"],[32,16,31,16,"Sc"],[32,18,31,18],[32,20,31,20,"spec"],[32,24,31,24],[32,26,31,26,"sharedSandbox"],[32,39,31,39],[32,41,31,41],[33,6,32,8],[33,10,32,12],[33,11,32,13],[33,15,32,13,"isObject"],[33,28,32,21],[33,29,32,21,"isObject"],[33,37,32,21],[33,39,32,22,"Sc"],[33,41,32,24],[33,42,32,25],[33,46,32,29],[33,47,32,30],[33,51,32,30,"isObject"],[33,64,32,38],[33,65,32,38,"isObject"],[33,73,32,38],[33,75,32,39,"Sc"],[33,77,32,41],[33,78,32,42,"WellKnownChain"],[33,92,32,56],[33,93,32,57],[33,97,32,61],[33,98,32,62],[33,102,32,62,"isFunction"],[33,115,32,72],[33,116,32,72,"isFunction"],[33,126,32,72],[33,128,32,73,"Sc"],[33,130,32,75],[33,131,32,76,"createScClient"],[33,145,32,90],[33,146,32,91],[33,148,32,93],[34,8,33,12],[34,14,33,18],[34,18,33,22,"Error"],[34,23,33,27],[34,24,33,28],[34,99,33,103],[34,100,33,104],[35,6,34,8],[36,6,35,8],[36,10,35,12],[36,11,35,13],[36,12,35,14,"Sc"],[36,14,35,16],[36,17,35,19,"Sc"],[36,19,35,21],[37,6,36,8],[37,10,36,12],[37,11,36,13],[37,12,36,14,"spec"],[37,16,36,18],[37,19,36,21,"spec"],[37,23,36,25],[38,6,37,8],[38,10,37,12],[38,11,37,13],[38,12,37,14,"sharedSandbox"],[38,25,37,27],[38,28,37,30,"sharedSandbox"],[38,41,37,43],[39,6,38,8],[39,10,38,12],[39,11,38,13],[39,12,38,14,"wellKnownChains"],[39,27,38,29],[39,30,38,32],[39,34,38,36,"Set"],[39,37,38,39],[39,38,38,40,"Object"],[39,44,38,46],[39,45,38,47,"values"],[39,51,38,53],[39,52,38,54,"Sc"],[39,54,38,56],[39,55,38,57,"WellKnownChain"],[39,69,38,71],[39,70,38,72],[39,71,38,73],[40,4,39,4],[41,4,40,4],[41,8,40,8,"hasSubscriptions"],[41,24,40,24,"hasSubscriptions"],[41,25,40,24],[41,27,40,27],[42,6,41,8],[43,6,42,8],[43,13,42,15],[43,14,42,16],[43,15,42,17],[43,19,42,21],[44,4,43,4],[45,4,44,4],[45,8,44,8,"isClonable"],[45,18,44,18,"isClonable"],[45,19,44,18],[45,21,44,21],[46,6,45,8],[46,13,45,15],[46,14,45,16],[46,15,45,17],[46,20,45,22],[47,4,46,4],[48,4,47,4],[48,8,47,8,"isConnected"],[48,19,47,19,"isConnected"],[48,20,47,19],[48,22,47,22],[49,6,48,8],[49,13,48,15],[49,14,48,16],[49,15,48,17],[49,19,48,21],[49,20,48,22],[49,21,48,23,"chain"],[49,26,48,28],[49,30,48,32],[49,34,48,36],[49,35,48,37],[49,36,48,38,"isChainReady"],[49,48,48,50],[50,4,49,4],[51,4,50,4,"clone"],[51,9,50,9,"clone"],[51,10,50,9],[51,12,50,12],[52,6,51,8],[52,12,51,14],[52,16,51,18,"Error"],[52,21,51,23],[52,22,51,24],[52,49,51,51],[52,50,51,52],[53,4,52,4],[54,4,53,4],[55,4,54,4],[56,4,55,4],[56,10,55,10,"connect"],[56,17,55,17,"connect"],[56,18,55,18,"config"],[56,24,55,24],[56,26,55,26,"checkerFactory"],[56,40,55,40],[56,43,55,43,"healthChecker"],[56,52,55,56],[56,53,55,56,"healthChecker"],[56,66,55,56],[56,68,55,58],[57,6,56,8],[57,10,56,12],[57,14,56,16],[57,15,56,17,"isConnected"],[57,26,56,28],[57,28,56,30],[58,8,57,12],[58,14,57,18],[58,18,57,22,"Error"],[58,23,57,27],[58,24,57,28],[58,44,57,48],[58,45,57,49],[59,6,58,8],[60,6,59,8],[61,6,60,8],[62,6,61,8],[63,6,62,8],[64,6,63,8],[64,10,63,12],[64,14,63,16],[64,15,63,17],[64,16,63,18,"chain"],[64,21,63,23],[64,23,63,25],[65,8,64,12],[65,14,64,18],[65,18,64,22],[65,19,64,23],[65,20,64,24,"chain"],[65,25,64,29],[66,8,65,12],[67,6,66,8],[68,6,67,8],[68,10,67,12],[68,14,67,16],[68,15,67,17],[68,16,67,18,"sharedSandbox"],[68,29,67,31],[68,33,67,35],[68,34,67,36],[68,38,67,40],[68,39,67,41],[68,40,67,42,"sharedSandbox"],[68,53,67,55],[68,54,67,56,"isConnected"],[68,65,67,67],[68,67,67,69],[69,8,68,12],[69,14,68,18],[69,18,68,22],[69,19,68,23],[69,20,68,24,"sharedSandbox"],[69,33,68,37],[69,34,68,38,"connect"],[69,41,68,45],[69,42,68,46],[69,43,68,47],[70,6,69,8],[71,6,70,8],[71,12,70,14,"client"],[71,18,70,20],[71,21,70,23],[71,25,70,27],[71,26,70,28],[71,27,70,29,"sharedSandbox"],[71,40,70,42],[71,43,71,14,"scClients"],[71,52,71,23],[71,53,71,24,"get"],[71,56,71,27],[71,57,71,28],[71,61,71,32],[71,62,71,33],[71,63,71,34,"sharedSandbox"],[71,76,71,47],[71,77,71,48],[71,80,72,14],[71,84,72,18],[71,85,72,19],[71,86,72,20,"Sc"],[71,88,72,22],[71,89,72,23,"createScClient"],[71,103,72,37],[71,104,72,38,"config"],[71,110,72,44],[71,111,72,45],[72,6,73,8],[72,10,73,12],[72,11,73,13,"client"],[72,17,73,19],[72,19,73,21],[73,8,74,12],[73,14,74,18],[73,18,74,22,"Error"],[73,23,74,27],[73,24,74,28],[73,45,74,49],[73,46,74,50],[74,6,75,8],[75,6,76,8,"scClients"],[75,15,76,17],[75,16,76,18,"set"],[75,19,76,21],[75,20,76,22],[75,24,76,26],[75,26,76,28,"client"],[75,32,76,34],[75,33,76,35],[76,6,77,8],[76,12,77,14,"hc"],[76,14,77,16],[76,17,77,19,"checkerFactory"],[76,31,77,33],[76,32,77,34],[76,33,77,35],[77,6,78,8],[77,12,78,14,"onResponse"],[77,22,78,24],[77,25,78,28,"res"],[77,28,78,31],[77,32,78,36],[78,8,79,12],[78,14,79,18,"hcRes"],[78,19,79,23],[78,22,79,26,"hc"],[78,24,79,28],[78,25,79,29,"responsePassThrough"],[78,44,79,48],[78,45,79,49,"res"],[78,48,79,52],[78,49,79,53],[79,8,80,12],[79,12,80,16],[79,13,80,17,"hcRes"],[79,18,80,22],[79,20,80,24],[80,10,81,16],[81,8,82,12],[82,8,83,12],[82,14,83,18,"response"],[82,22,83,26],[82,25,83,29,"JSON"],[82,29,83,33],[82,30,83,34,"parse"],[82,35,83,39],[82,36,83,40,"hcRes"],[82,41,83,45],[82,42,83,46],[83,8,84,12],[83,12,84,16,"decodedResponse"],[83,27,84,31],[84,8,85,12],[84,12,85,16],[85,10,86,16,"decodedResponse"],[85,25,86,31],[85,28,86,34],[85,32,86,38],[85,33,86,39],[85,34,86,40,"coder"],[85,39,86,45],[85,40,86,46,"decodeResponse"],[85,54,86,60],[85,55,86,61,"response"],[85,63,86,69],[85,64,86,70],[86,8,87,12],[86,9,87,13],[86,10,88,12],[86,17,88,19,"e"],[86,18,88,20],[86,20,88,22],[87,10,89,16,"decodedResponse"],[87,25,89,31],[87,28,89,34,"e"],[87,29,89,35],[88,8,90,12],[89,8,91,12],[90,8,92,12],[90,12,92,16,"response"],[90,20,92,24],[90,21,92,25,"params"],[90,27,92,31],[90,29,92,33,"subscription"],[90,41,92,45],[90,46,92,50,"undefined"],[90,55,92,59],[90,59,92,63],[90,60,92,64,"response"],[90,68,92,72],[90,69,92,73,"method"],[90,75,92,79],[90,77,92,81],[91,10,93,16],[91,17,93,23],[91,21,93,27],[91,22,93,28],[91,23,93,29,"requests"],[91,31,93,37],[91,32,93,38,"get"],[91,35,93,41],[91,36,93,42,"response"],[91,44,93,50],[91,45,93,51,"id"],[91,47,93,53],[91,48,93,54],[91,51,93,57,"decodedResponse"],[91,66,93,72],[91,67,93,73],[92,8,94,12],[93,8,95,12],[94,8,96,12],[94,14,96,18,"subscriptionId"],[94,28,96,32],[94,31,96,35],[94,34,96,38,"response"],[94,42,96,46],[94,43,96,47,"method"],[94,49,96,53],[94,54,96,58,"response"],[94,62,96,66],[94,63,96,67,"params"],[94,69,96,73],[94,70,96,74,"subscription"],[94,82,96,86],[94,84,96,88],[95,8,97,12],[95,14,97,18,"callback"],[95,22,97,26],[95,25,97,29],[95,29,97,33],[95,30,97,34],[95,31,97,35,"subscriptions"],[95,44,97,48],[95,45,97,49,"get"],[95,48,97,52],[95,49,97,53,"subscriptionId"],[95,63,97,67],[95,64,97,68],[95,67,97,71],[95,68,97,72],[95,69,97,73],[96,8,98,12,"callback"],[96,16,98,20],[96,19,98,23,"decodedResponse"],[96,34,98,38],[96,35,98,39],[97,6,99,8],[97,7,99,9],[98,6,100,8],[98,12,100,14,"addChain"],[98,20,100,22],[98,23,100,25],[98,27,100,29],[98,28,100,30],[98,29,100,31,"sharedSandbox"],[98,42,100,44],[98,45,101,15],[98,52,101,22],[98,55,101,25,"args"],[98,59,101,29],[98,64,101,34],[99,8,102,16],[100,8,103,16],[100,14,103,22,"source"],[100,20,103,28],[100,23,103,31],[100,27,103,35],[100,28,103,36],[100,29,103,37,"sharedSandbox"],[100,42,103,50],[101,8,104,16],[102,8,105,16],[102,15,105,23],[102,16,105,24],[102,22,105,30,"source"],[102,28,105,36],[102,29,105,37],[102,30,105,38,"chain"],[102,35,105,43],[102,37,105,45,"addChain"],[102,45,105,53],[102,46,105,54],[102,49,105,57,"args"],[102,53,105,61],[102,54,105,62],[103,6,106,12],[103,7,106,13],[103,10,107,14],[103,14,107,18],[103,15,107,19],[103,16,107,20,"wellKnownChains"],[103,31,107,35],[103,32,107,36,"has"],[103,35,107,39],[103,36,107,40],[103,40,107,44],[103,41,107,45],[103,42,107,46,"spec"],[103,46,107,50],[103,47,107,51],[103,50,108,18,"client"],[103,56,108,24],[103,57,108,25,"addWellKnownChain"],[103,74,108,42],[103,77,109,18,"client"],[103,83,109,24],[103,84,109,25,"addChain"],[103,92,109,33],[104,6,110,8],[104,10,110,12],[104,11,110,13],[104,12,110,14,"chain"],[104,17,110,19],[104,20,110,22,"addChain"],[104,28,110,30],[104,29,110,31],[104,33,110,35],[104,34,110,36],[104,35,110,37,"spec"],[104,39,110,41],[104,41,110,43,"onResponse"],[104,51,110,53],[104,52,110,54],[104,53,110,55,"then"],[104,57,110,59],[104,58,110,61,"chain"],[104,63,110,66],[104,67,110,71],[105,8,111,12,"hc"],[105,10,111,14],[105,11,111,15,"setSendJsonRpc"],[105,25,111,29],[105,26,111,30,"chain"],[105,31,111,35],[105,32,111,36,"sendJsonRpc"],[105,43,111,47],[105,44,111,48],[106,8,112,12],[106,12,112,16],[106,13,112,17],[106,14,112,18,"isChainReady"],[106,26,112,30],[106,29,112,33],[106,34,112,38],[107,8,113,12],[107,14,113,18,"cleanup"],[107,21,113,25],[107,24,113,28,"cleanup"],[107,25,113,28],[107,30,113,34],[108,10,114,16],[109,10,115,16],[110,10,116,16],[110,16,116,22,"disconnectionError"],[110,34,116,40],[110,37,116,43],[110,41,116,47,"Error"],[110,46,116,52],[110,47,116,53],[110,61,116,67],[110,62,116,68],[111,10,117,16],[111,14,117,20],[111,15,117,21],[111,16,117,22,"requests"],[111,24,117,30],[111,25,117,31,"forEach"],[111,32,117,38],[111,33,117,40,"cb"],[111,35,117,42],[111,39,117,47,"cb"],[111,41,117,49],[111,42,117,50,"disconnectionError"],[111,60,117,68],[111,61,117,69],[111,62,117,70],[112,10,118,16],[112,14,118,20],[112,15,118,21],[112,16,118,22,"subscriptions"],[112,29,118,35],[112,30,118,36,"forEach"],[112,37,118,43],[112,38,118,44],[112,39,118,45],[112,40,118,46,"cb"],[112,42,118,48],[112,43,118,49],[112,48,118,54,"cb"],[112,50,118,56],[112,51,118,57,"disconnectionError"],[112,69,118,75],[112,70,118,76],[112,71,118,77],[113,10,119,16],[113,14,119,20],[113,15,119,21],[113,16,119,22,"subscriptions"],[113,29,119,35],[113,30,119,36,"clear"],[113,35,119,41],[113,36,119,42],[113,37,119,43],[114,8,120,12],[114,9,120,13],[115,8,121,12],[115,14,121,18,"staleSubscriptions"],[115,32,121,36],[115,35,121,39],[115,37,121,41],[116,8,122,12],[116,14,122,18,"killStaleSubscriptions"],[116,36,122,40],[116,39,122,43,"killStaleSubscriptions"],[116,40,122,43],[116,45,122,49],[117,10,123,16],[117,14,123,20,"staleSubscriptions"],[117,32,123,38],[117,33,123,39,"length"],[117,39,123,45],[117,44,123,50],[117,45,123,51],[117,47,123,53],[118,12,124,20],[119,10,125,16],[120,10,126,16],[120,16,126,22,"stale"],[120,21,126,27],[120,24,126,30,"staleSubscriptions"],[120,42,126,48],[120,43,126,49,"pop"],[120,46,126,52],[120,47,126,53],[120,48,126,54],[121,10,127,16],[121,14,127,20],[121,15,127,21,"stale"],[121,20,127,26],[121,22,127,28],[122,12,128,20],[122,18,128,26],[122,22,128,30,"Error"],[122,27,128,35],[122,28,128,36],[122,62,128,70],[122,63,128,71],[123,10,129,16],[124,10,130,16],[124,16,130,22],[125,12,130,24,"id"],[125,14,130,26],[126,12,130,28,"unsubscribeMethod"],[127,10,130,46],[127,11,130,47],[127,14,130,50,"stale"],[127,19,130,55],[128,10,131,16,"Promise"],[128,17,131,23],[128,18,132,21,"race"],[128,22,132,25],[128,23,132,26],[128,24,133,20],[128,28,133,24],[128,29,133,25,"send"],[128,33,133,29],[128,34,133,30,"unsubscribeMethod"],[128,51,133,47],[128,53,133,49],[128,54,133,50,"id"],[128,56,133,52],[128,57,133,53],[128,58,133,54],[128,59,133,55,"catch"],[128,64,133,60],[128,65,133,61,"noop"],[128,78,133,65],[128,79,133,65,"noop"],[128,83,133,65],[128,84,133,66],[128,86,134,20],[128,90,134,24,"Promise"],[128,97,134,31],[128,98,134,33,"resolve"],[128,105,134,40],[128,109,134,45,"setTimeout"],[128,119,134,55],[128,120,134,56,"resolve"],[128,127,134,63],[128,129,134,65],[128,132,134,68],[128,133,134,69],[128,134,134,70],[128,135,135,17],[128,136,135,18],[128,137,136,21,"then"],[128,141,136,25],[128,142,136,26,"killStaleSubscriptions"],[128,164,136,48],[128,165,136,49],[128,166,137,21,"catch"],[128,171,137,26],[128,172,137,27,"noop"],[128,185,137,31],[128,186,137,31,"noop"],[128,190,137,31],[128,191,137,32],[129,8,138,12],[129,9,138,13],[130,8,139,12,"hc"],[130,10,139,14],[130,11,139,15,"start"],[130,16,139,20],[130,17,139,22,"health"],[130,23,139,28],[130,27,139,33],[131,10,140,16],[131,16,140,22,"isReady"],[131,23,140,29],[131,26,140,32],[131,27,140,33,"health"],[131,33,140,39],[131,34,140,40,"isSyncing"],[131,43,140,49],[131,48,140,54,"health"],[131,54,140,60],[131,55,140,61,"peers"],[131,60,140,66],[131,63,140,69],[131,64,140,70],[131,68,140,74],[131,69,140,75,"health"],[131,75,140,81],[131,76,140,82,"shouldHavePeers"],[131,91,140,97],[131,92,140,98],[132,10,141,16],[133,10,142,16],[133,14,142,20],[133,18,142,24],[133,19,142,25],[133,20,142,26,"isChainReady"],[133,32,142,38],[133,37,142,43,"isReady"],[133,44,142,50],[133,46,142,52],[134,12,143,20],[135,10,144,16],[136,10,145,16],[136,14,145,20],[136,15,145,21],[136,16,145,22,"isChainReady"],[136,28,145,34],[136,31,145,37,"isReady"],[136,38,145,44],[137,10,146,16],[137,14,146,20],[137,15,146,21,"isReady"],[137,22,146,28],[137,24,146,30],[138,12,147,20],[139,12,148,20],[140,12,149,20],[141,12,150,20],[142,12,151,20],[143,12,152,20],[144,12,153,20],[145,12,154,20],[146,12,155,20],[147,12,156,20],[148,12,157,20],[149,12,158,20],[150,12,159,20],[151,12,160,20],[152,12,161,20],[153,12,162,20],[154,12,163,20],[154,13,163,21],[154,16,163,24],[154,20,163,28],[154,21,163,29],[154,22,163,30,"subscriptions"],[154,35,163,43],[154,36,163,44,"values"],[154,42,163,50],[154,43,163,51],[154,44,163,52],[154,45,163,53],[154,46,163,54,"forEach"],[154,53,163,61],[154,54,163,63,"s"],[154,55,163,64],[154,59,163,69],[155,14,164,24,"staleSubscriptions"],[155,32,164,42],[155,33,164,43,"push"],[155,37,164,47],[155,38,164,48,"s"],[155,39,164,49],[155,40,164,50],[155,41,164,51],[155,42,164,52],[155,43,164,53],[156,12,165,20],[156,13,165,21],[156,14,165,22],[157,12,166,20,"cleanup"],[157,19,166,27],[157,20,166,28],[157,21,166,29],[158,12,167,20],[158,16,167,24],[158,17,167,25],[158,18,167,26,"eventemitter"],[158,30,167,38],[158,31,167,39,"emit"],[158,35,167,43],[158,36,167,44],[158,50,167,58],[158,51,167,59],[159,10,168,16],[159,11,168,17],[159,17,169,21],[160,12,170,20,"killStaleSubscriptions"],[160,34,170,42],[160,35,170,43],[160,36,170,44],[161,12,171,20],[161,16,171,24],[161,17,171,25],[161,18,171,26,"eventemitter"],[161,30,171,38],[161,31,171,39,"emit"],[161,35,171,43],[161,36,171,44],[161,47,171,55],[161,48,171,56],[162,12,172,20],[162,16,172,24],[162,20,172,28],[162,21,172,29],[162,22,172,30,"resubscribeMethods"],[162,40,172,48],[162,41,172,49,"size"],[162,45,172,53],[162,47,172,55],[163,14,173,24],[163,18,173,28],[163,19,173,29],[163,20,173,30,"resubscribe"],[163,31,173,41],[163,32,173,42],[163,33,173,43],[164,12,174,20],[165,10,175,16],[166,8,176,12],[166,9,176,13],[166,10,176,14],[167,8,177,12],[167,15,177,19],[167,19,177,19,"objectSpread"],[167,32,177,31],[167,33,177,31,"objectSpread"],[167,45,177,31],[167,47,177,32],[167,48,177,33],[167,49,177,34],[167,51,177,36,"chain"],[167,56,177,41],[167,58,177,43],[168,10,178,16,"remove"],[168,16,178,22],[168,18,178,24,"remove"],[168,19,178,24],[168,24,178,30],[169,12,179,20,"hc"],[169,14,179,22],[169,15,179,23,"stop"],[169,19,179,27],[169,20,179,28],[169,21,179,29],[170,12,180,20,"chain"],[170,17,180,25],[170,18,180,26,"remove"],[170,24,180,32],[170,25,180,33],[170,26,180,34],[171,12,181,20,"cleanup"],[171,19,181,27],[171,20,181,28],[171,21,181,29],[172,10,182,16],[172,11,182,17],[173,10,183,16,"sendJsonRpc"],[173,21,183,27],[173,23,183,29,"hc"],[173,25,183,31],[173,26,183,32,"sendJsonRpc"],[173,37,183,43],[173,38,183,44,"bind"],[173,42,183,48],[173,43,183,49,"hc"],[173,45,183,51],[174,8,184,12],[174,9,184,13],[174,10,184,14],[175,6,185,8],[175,7,185,9],[175,8,185,10],[176,6,186,8],[176,10,186,12],[177,8,187,12],[177,14,187,18],[177,18,187,22],[177,19,187,23],[177,20,187,24,"chain"],[177,25,187,29],[178,6,188,8],[178,7,188,9],[178,8,189,8],[178,15,189,15,"e"],[178,16,189,16],[178,18,189,18],[179,8,190,12],[179,12,190,16],[179,13,190,17],[179,14,190,18,"chain"],[179,19,190,23],[179,22,190,26],[179,26,190,30],[180,8,191,12],[180,12,191,16],[180,13,191,17],[180,14,191,18,"eventemitter"],[180,26,191,30],[180,27,191,31,"emit"],[180,31,191,35],[180,32,191,36],[180,39,191,43],[180,41,191,45,"e"],[180,42,191,46],[180,43,191,47],[181,8,192,12],[181,14,192,18,"e"],[181,15,192,19],[182,6,193,8],[183,4,194,4],[184,4,195,4],[184,5,195,5,"resubscribe"],[184,16,195,16],[184,19,195,19,"#resubscribe"],[184,20,195,19],[184,25,195,25],[185,6,196,8],[185,12,196,14,"promises"],[185,20,196,22],[185,23,196,25],[185,25,196,27],[186,6,197,8],[186,10,197,12],[186,11,197,13],[186,12,197,14,"resubscribeMethods"],[186,30,197,32],[186,31,197,33,"forEach"],[186,38,197,40],[186,39,197,42,"subDetails"],[186,49,197,52],[186,53,197,57],[187,8,198,12],[188,8,199,12],[189,8,200,12],[190,8,201,12],[190,12,201,16,"subDetails"],[190,22,201,26],[190,23,201,27,"type"],[190,27,201,31],[190,28,201,32,"startsWith"],[190,38,201,42],[190,39,201,43],[190,48,201,52],[190,49,201,53],[190,51,201,55],[191,10,202,16],[192,8,203,12],[193,8,204,12],[193,12,204,16],[194,10,205,16],[194,16,205,22,"promise"],[194,23,205,29],[194,26,205,32],[194,30,205,36,"Promise"],[194,37,205,43],[194,38,205,45,"resolve"],[194,45,205,52],[194,49,205,57],[195,12,206,20],[195,16,206,24],[195,17,206,25,"subscribe"],[195,26,206,34],[195,27,206,35,"subDetails"],[195,37,206,45],[195,38,206,46,"type"],[195,42,206,50],[195,44,206,52,"subDetails"],[195,54,206,62],[195,55,206,63,"method"],[195,61,206,69],[195,63,206,71,"subDetails"],[195,73,206,81],[195,74,206,82,"params"],[195,80,206,88],[195,82,206,90,"subDetails"],[195,92,206,100],[195,93,206,101,"callback"],[195,101,206,109],[195,102,206,110],[195,103,206,111,"catch"],[195,108,206,116],[195,109,206,118,"error"],[195,114,206,123],[195,118,206,128,"console"],[195,125,206,135],[195,126,206,136,"log"],[195,129,206,139],[195,130,206,140,"error"],[195,135,206,145],[195,136,206,146],[195,137,206,147],[196,12,207,20,"resolve"],[196,19,207,27],[196,20,207,28],[196,21,207,29],[197,10,208,16],[197,11,208,17],[197,12,208,18],[198,10,209,16,"promises"],[198,18,209,24],[198,19,209,25,"push"],[198,23,209,29],[198,24,209,30,"promise"],[198,31,209,37],[198,32,209,38],[199,8,210,12],[199,9,210,13],[199,10,211,12],[199,17,211,19,"error"],[199,22,211,24],[199,24,211,26],[200,10,212,16,"l"],[200,11,212,17],[200,12,212,18,"error"],[200,17,212,23],[200,18,212,24,"error"],[200,23,212,29],[200,24,212,30],[201,8,213,12],[202,6,214,8],[202,7,214,9],[202,8,214,10],[203,6,215,8,"Promise"],[203,13,215,15],[203,14,215,16,"all"],[203,17,215,19],[203,18,215,20,"promises"],[203,26,215,28],[203,27,215,29],[203,28,215,30,"catch"],[203,33,215,35],[203,34,215,37,"err"],[203,37,215,40],[203,41,215,45,"l"],[203,42,215,46],[203,43,215,47,"log"],[203,46,215,50],[203,47,215,51,"err"],[203,50,215,54],[203,51,215,55],[203,52,215,56],[204,4,216,4],[204,5,216,5],[205,4,217,4],[205,10,217,10,"disconnect"],[205,20,217,20,"disconnect"],[205,21,217,20],[205,23,217,23],[206,6,218,8],[206,10,218,12],[206,11,218,13],[206,15,218,17],[206,16,218,18],[206,17,218,19,"chain"],[206,22,218,24],[206,24,218,26],[207,8,219,12],[208,6,220,8],[209,6,221,8],[209,12,221,14,"chain"],[209,17,221,19],[209,20,221,22],[209,26,221,28],[209,30,221,32],[209,31,221,33],[209,32,221,34,"chain"],[209,37,221,39],[210,6,222,8],[210,10,222,12],[210,11,222,13],[210,12,222,14,"chain"],[210,17,222,19],[210,20,222,22],[210,24,222,26],[211,6,223,8],[211,10,223,12],[211,11,223,13],[211,12,223,14,"isChainReady"],[211,24,223,26],[211,27,223,29],[211,32,223,34],[212,6,224,8],[212,10,224,12],[213,8,225,12,"chain"],[213,13,225,17],[213,14,225,18,"remove"],[213,20,225,24],[213,21,225,25],[213,22,225,26],[214,6,226,8],[214,7,226,9],[214,8,227,8],[214,15,227,15,"_"],[214,16,227,16],[214,18,227,18],[214,19,227,20],[215,6,228,8],[215,10,228,12],[215,11,228,13],[215,12,228,14,"eventemitter"],[215,24,228,26],[215,25,228,27,"emit"],[215,29,228,31],[215,30,228,32],[215,44,228,46],[215,45,228,47],[216,4,229,4],[217,4,230,4,"on"],[217,6,230,6,"on"],[217,7,230,7,"type"],[217,11,230,11],[217,13,230,13,"sub"],[217,16,230,16],[217,18,230,18],[218,6,231,8],[219,6,232,8],[220,6,233,8],[221,6,234,8],[221,10,234,12,"type"],[221,14,234,16],[221,19,234,21],[221,30,234,32],[221,34,234,36],[221,38,234,40],[221,39,234,41,"isConnected"],[221,50,234,52],[221,52,234,54],[222,8,235,12,"sub"],[222,11,235,15],[222,12,235,16],[222,13,235,17],[223,6,236,8],[224,6,237,8],[224,10,237,12],[224,11,237,13],[224,12,237,14,"eventemitter"],[224,24,237,26],[224,25,237,27,"on"],[224,27,237,29],[224,28,237,30,"type"],[224,32,237,34],[224,34,237,36,"sub"],[224,37,237,39],[224,38,237,40],[225,6,238,8],[225,13,238,15],[225,19,238,21],[226,8,239,12],[226,12,239,16],[226,13,239,17],[226,14,239,18,"eventemitter"],[226,26,239,30],[226,27,239,31,"removeListener"],[226,41,239,45],[226,42,239,46,"type"],[226,46,239,50],[226,48,239,52,"sub"],[226,51,239,55],[226,52,239,56],[227,6,240,8],[227,7,240,9],[228,4,241,4],[229,4,242,4],[229,10,242,10,"send"],[229,14,242,14,"send"],[229,15,242,15,"method"],[229,21,242,21],[229,23,242,23,"params"],[229,29,242,29],[229,31,242,31],[230,6,243,8],[230,10,243,12],[230,11,243,13],[230,15,243,17],[230,16,243,18,"isConnected"],[230,27,243,29],[230,31,243,33],[230,32,243,34],[230,36,243,38],[230,37,243,39],[230,38,243,40,"chain"],[230,43,243,45],[230,45,243,47],[231,8,244,12],[231,14,244,18],[231,18,244,22,"Error"],[231,23,244,27],[231,24,244,28],[231,51,244,55],[231,52,244,56],[232,6,245,8],[233,6,246,8],[233,12,246,14,"chain"],[233,17,246,19],[233,20,246,22],[233,26,246,28],[233,30,246,32],[233,31,246,33],[233,32,246,34,"chain"],[233,37,246,39],[234,6,247,8],[234,12,247,14],[234,13,247,15,"id"],[234,15,247,17],[234,17,247,19,"json"],[234,21,247,23],[234,22,247,24],[234,25,247,27],[234,29,247,31],[234,30,247,32],[234,31,247,33,"coder"],[234,36,247,38],[234,37,247,39,"encodeJson"],[234,47,247,49],[234,48,247,50,"method"],[234,54,247,56],[234,56,247,58,"params"],[234,62,247,64],[234,63,247,65],[235,6,248,8],[235,12,248,14,"result"],[235,18,248,20],[235,21,248,23],[235,25,248,27,"Promise"],[235,32,248,34],[235,33,248,35],[235,34,248,36,"resolve"],[235,41,248,43],[235,43,248,45,"reject"],[235,49,248,51],[235,54,248,56],[236,8,249,12],[236,12,249,16],[236,13,249,17],[236,14,249,18,"requests"],[236,22,249,26],[236,23,249,27,"set"],[236,26,249,30],[236,27,249,31,"id"],[236,29,249,33],[236,31,249,36,"response"],[236,39,249,44],[236,43,249,49],[237,10,250,16],[237,11,250,17],[237,15,250,17,"isError"],[237,28,250,24],[237,29,250,24,"isError"],[237,36,250,24],[237,38,250,25,"response"],[237,46,250,33],[237,47,250,34],[237,50,250,37,"reject"],[237,56,250,43],[237,59,250,46,"resolve"],[237,66,250,53],[237,68,250,55,"response"],[237,76,250,63],[237,77,250,64],[238,8,251,12],[238,9,251,13],[238,10,251,14],[239,8,252,12],[239,12,252,16],[240,10,253,16,"chain"],[240,15,253,21],[240,16,253,22,"sendJsonRpc"],[240,27,253,33],[240,28,253,34,"json"],[240,32,253,38],[240,33,253,39],[241,8,254,12],[241,9,254,13],[241,10,255,12],[241,17,255,19,"e"],[241,18,255,20],[241,20,255,22],[242,10,256,16],[242,14,256,20],[242,15,256,21],[242,16,256,22,"chain"],[242,21,256,27],[242,24,256,30],[242,28,256,34],[243,10,257,16],[243,14,257,20],[244,12,258,20,"chain"],[244,17,258,25],[244,18,258,26,"remove"],[244,24,258,32],[244,25,258,33],[244,26,258,34],[245,10,259,16],[245,11,259,17],[245,12,260,16],[245,19,260,23,"_"],[245,20,260,24],[245,22,260,26],[245,23,260,28],[246,10,261,16],[246,14,261,20],[246,15,261,21],[246,16,261,22,"eventemitter"],[246,28,261,34],[246,29,261,35,"emit"],[246,33,261,39],[246,34,261,40],[246,41,261,47],[246,43,261,49,"e"],[246,44,261,50],[246,45,261,51],[247,8,262,12],[248,6,263,8],[248,7,263,9],[248,8,263,10],[249,6,264,8],[249,10,264,12],[250,8,265,12],[250,15,265,19],[250,21,265,25,"result"],[250,27,265,31],[251,6,266,8],[251,7,266,9],[251,16,267,16],[252,8,268,12],[253,8,269,12],[254,8,270,12],[254,12,270,16],[254,13,270,17],[254,14,270,18,"requests"],[254,22,270,26],[254,23,270,27,"delete"],[254,29,270,33],[254,30,270,34,"id"],[254,32,270,36],[254,33,270,37],[255,6,271,8],[256,4,272,4],[257,4,273,4],[257,10,273,10,"subscribe"],[257,19,273,19,"subscribe"],[257,20,273,20,"type"],[257,24,273,24],[257,26,273,26,"method"],[257,32,273,32],[257,34,273,34,"params"],[257,40,273,40],[257,42,273,42,"callback"],[257,50,273,50],[257,52,273,52],[258,6,274,8],[258,10,274,12],[258,11,274,13,"subscriptionUnsubscriptionMethods"],[258,44,274,46],[258,45,274,47,"has"],[258,48,274,50],[258,49,274,51,"method"],[258,55,274,57],[258,56,274,58],[258,58,274,60],[259,8,275,12],[259,14,275,18],[259,18,275,22,"Error"],[259,23,275,27],[259,24,275,28],[259,57,275,61,"method"],[259,63,275,67],[259,65,275,69],[259,66,275,70],[260,6,276,8],[261,6,277,8],[261,12,277,14,"id"],[261,14,277,16],[261,17,277,19],[261,23,277,25],[261,27,277,29],[261,28,277,30,"send"],[261,32,277,34],[261,33,277,35,"method"],[261,39,277,41],[261,41,277,43,"params"],[261,47,277,49],[261,48,277,50],[262,6,278,8],[262,12,278,14,"subscriptionId"],[262,26,278,28],[262,29,278,31],[262,32,278,34,"type"],[262,36,278,38],[262,41,278,43,"id"],[262,43,278,45],[262,45,278,47],[263,6,279,8],[263,12,279,14,"cb"],[263,14,279,16],[263,17,279,20,"response"],[263,25,279,28],[263,29,279,33],[264,8,280,12],[264,12,280,16,"response"],[264,20,280,24],[264,32,280,36,"Error"],[264,37,280,41],[264,39,280,43],[265,10,281,16,"callback"],[265,18,281,24],[265,19,281,25,"response"],[265,27,281,33],[265,29,281,35,"undefined"],[265,38,281,44],[265,39,281,45],[266,8,282,12],[266,9,282,13],[266,15,283,17],[267,10,284,16,"callback"],[267,18,284,24],[267,19,284,25],[267,23,284,29],[267,25,284,31,"response"],[267,33,284,39],[267,34,284,40],[268,8,285,12],[269,6,286,8],[269,7,286,9],[270,6,287,8],[270,12,287,14,"unsubscribeMethod"],[270,29,287,31],[270,32,287,34,"subscriptionUnsubscriptionMethods"],[270,65,287,67],[270,66,287,68,"get"],[270,69,287,71],[270,70,287,72,"method"],[270,76,287,78],[270,77,287,79],[271,6,288,8],[271,10,288,12],[271,11,288,13,"unsubscribeMethod"],[271,28,288,30],[271,30,288,32],[272,8,289,12],[272,14,289,18],[272,18,289,22,"Error"],[272,23,289,27],[272,24,289,28],[272,58,289,62],[272,59,289,63],[273,6,290,8],[274,6,291,8],[274,10,291,12],[274,11,291,13],[274,12,291,14,"resubscribeMethods"],[274,30,291,32],[274,31,291,33,"set"],[274,34,291,36],[274,35,291,37,"subscriptionId"],[274,49,291,51],[274,51,291,53],[275,8,291,55,"callback"],[275,16,291,63],[276,8,291,65,"method"],[276,14,291,71],[277,8,291,73,"params"],[277,14,291,79],[278,8,291,81,"type"],[279,6,291,86],[279,7,291,87],[279,8,291,88],[280,6,292,8],[280,10,292,12],[280,11,292,13],[280,12,292,14,"subscriptions"],[280,25,292,27],[280,26,292,28,"set"],[280,29,292,31],[280,30,292,32,"subscriptionId"],[280,44,292,46],[280,46,292,48],[280,47,292,49,"cb"],[280,49,292,51],[280,51,292,53],[281,8,292,55,"id"],[281,10,292,57],[282,8,292,59,"unsubscribeMethod"],[283,6,292,77],[283,7,292,78],[283,8,292,79],[283,9,292,80],[284,6,293,8],[284,13,293,15,"id"],[284,15,293,17],[285,4,294,4],[286,4,295,4,"unsubscribe"],[286,15,295,15,"unsubscribe"],[286,16,295,16,"type"],[286,20,295,20],[286,22,295,22,"method"],[286,28,295,28],[286,30,295,30,"id"],[286,32,295,32],[286,34,295,34],[287,6,296,8],[287,10,296,12],[287,11,296,13],[287,15,296,17],[287,16,296,18,"isConnected"],[287,27,296,29],[287,29,296,31],[288,8,297,12],[288,14,297,18],[288,18,297,22,"Error"],[288,23,297,27],[288,24,297,28],[288,51,297,55],[288,52,297,56],[289,6,298,8],[290,6,299,8],[290,12,299,14,"subscriptionId"],[290,26,299,28],[290,29,299,31],[290,32,299,34,"type"],[290,36,299,38],[290,41,299,43,"id"],[290,43,299,45],[290,45,299,47],[291,6,300,8],[291,10,300,12],[291,11,300,13],[291,15,300,17],[291,16,300,18],[291,17,300,19,"subscriptions"],[291,30,300,32],[291,31,300,33,"has"],[291,34,300,36],[291,35,300,37,"subscriptionId"],[291,49,300,51],[291,50,300,52],[291,52,300,54],[292,8,301,12],[292,15,301,19,"Promise"],[292,22,301,26],[292,23,301,27,"reject"],[292,29,301,33],[292,30,301,34],[292,34,301,38,"Error"],[292,39,301,43],[292,40,301,44],[292,78,301,82,"subscriptionId"],[292,92,301,96],[292,94,301,98],[292,95,301,99],[292,96,301,100],[293,6,302,8],[294,6,303,8],[294,10,303,12],[294,11,303,13],[294,12,303,14,"resubscribeMethods"],[294,30,303,32],[294,31,303,33,"delete"],[294,37,303,39],[294,38,303,40,"subscriptionId"],[294,52,303,54],[294,53,303,55],[295,6,304,8],[295,10,304,12],[295,11,304,13],[295,12,304,14,"subscriptions"],[295,25,304,27],[295,26,304,28,"delete"],[295,32,304,34],[295,33,304,35,"subscriptionId"],[295,47,304,49],[295,48,304,50],[296,6,305,8],[296,13,305,15],[296,17,305,19],[296,18,305,20,"send"],[296,22,305,24],[296,23,305,25,"method"],[296,29,305,31],[296,31,305,33],[296,32,305,34,"id"],[296,34,305,36],[296,35,305,37],[296,36,305,38],[297,4,306,4],[298,2,307,0],[299,0,307,1],[299,3]],"functionMap":{"names":["<global>","ScProvider","ScProvider#constructor","ScProvider#get__hasSubscriptions","ScProvider#get__isClonable","ScProvider#get__isConnected","ScProvider#clone","ScProvider#connect","onResponse","<anonymous>","addChain.then$argument_0","cleanup","forEach$argument_0","killStaleSubscriptions","Promise$argument_0","hc.start$argument_0","objectSpread$argument_2.remove","subscribe._catch$argument_0","Promise.all._catch$argument_0","ScProvider#disconnect","ScProvider#on","ScProvider#send","set$argument_1","ScProvider#subscribe","cb","ScProvider#unsubscribe"],"mappings":"AAA;OCkB;ICY;KDQ;IEC;KFG;IGC;KHE;IIC;KJE;IKC;KLE;IMG;2BCuB;SDqB;eEE;aFK;4DGI;4BCG;uCCI,8BD;4CCC,gCD;aDE;2CGE;gCCY,qCD;aHI;qBKC;8DHwB;qBGE;aLW;wBME;iBNI;SHG;KNS;mBQC;yCGE;4CEQ;qHGC,6BH;iBFE;SHM;oCSC,mBT;KRC;IkBC;KlBY;ImBC;eXQ;SWE;KnBC;IoBC;mCPM;mCQC;aRE;SOY;KpBS;IsBC;mBCM;SDO;KtBQ;IwBC;KxBW;CDC"},"hasCjsExports":false},"type":"js/module"}]} |