PageSourceSearch

https://cosmosrun.info/js/ping.pub.chunks-0925edb1-legacy.5a6dbff8.js

js cosmosrun.info collected 2026-10-07 16:55:52 UTC 70,355 bytes, 8 lines download raw bytes

1(self["webpackChunkping_wallet"]=self["webpackChunkping_wallet"]||[]).push([[7931],{84453:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decompress=t.compress=void 0;const n=r(10641);function i(e){return e.batch?{compressed:s(e.batch)}:e}function o(e){return e.compressed?{batch:a(e.compressed)}:e}function s(e){const t=[],r=[],n=new Map;for(const i of e.entries)if(i.exist){const e={exist:c(i.exist,r,n)};t.push(e)}else{if(!i.nonexist)throw new Error("Unexpected batch entry during compress");{const e=i.nonexist,o={nonexist:{key:e.key,left:c(e.left,r,n),right:c(e.right,r,n)}};t.push(o)}}return{entries:t,lookupInners:r}}function c(e,t,r){if(!e)return;const i=e.path.map((e=>{const i=n.ics23.InnerOp.encode(e).finish();let o=r.get(i);return void 0===o&&(o=t.length,t.push(e),r.set(i,o)),o}));return{key:e.key,value:e.value,leaf:e.leaf,path:i}}function a(e){const t=e.lookupInners,r=e.entries.map((e=>{if(e.exist)return{exist:f(e.exist,t)};if(e.nonexist){const r=e.nonexist;return{nonexist:{key:r.key,left:f(r.left,t),right:f(r.right,t)}}}throw new Error("Unexpected batch entry during compress")}));return{entries:r}}function f(e,t){if(!e)return;const{key:r,value:n,leaf:i,path:o}=e,s=(o||[]).map((e=>t[e]));return{key:r,value:n,leaf:i,path:s}}t.compress=i,t.decompress=o},10641:function(e,t,r){"use strict";var n=r(62100),i=n.Reader,o=n.Writer,s=n.util,c=n.roots["default"]||(n.roots["default"]={});c.ics23=function(){var e={};return e.HashOp=function(){var e={},t=Object.create(e);return t[e[0]="NO_HASH"]=0,t[e[1]="SHA256"]=1,t[e[2]="SHA512"]=2,t[e[3]="KECCAK"]=3,t[e[4]="RIPEMD160"]=4,t[e[5]="BITCOIN"]=5,t[e[6]="SHA512_256"]=6,t}(),e.LengthOp=function(){var e={},t=Object.create(e);return t[e[0]="NO_PREFIX"]=0,t[e[1]="VAR_PROTO"]=1,t[e[2]="VAR_RLP"]=2,t[e[3]="FIXED32_BIG"]=3,t[e[4]="FIXED32_LITTLE"]=4,t[e[5]="FIXED64_BIG"]=5,t[e[6]="FIXED64_LITTLE"]=6,t[e[7]="REQUIRE_32_BYTES"]=7,t[e[8]="REQUIRE_64_BYTES"]=8,t}(),e.ExistenceProof=function(){function e(e){if(this.path=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.key=s.newBuffer([]),e.prototype.value=s.newBuffer([]),e.prototype.leaf=null,e.prototype.path=s.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),null!=e.key&&e.hasOwnProperty("key")&&t.uint32(10).bytes(e.key),null!=e.value&&e.hasOwnProperty("value")&&t.uint32(18).bytes(e.value),null!=e.leaf&&e.hasOwnProperty("leaf")&&c.ics23.LeafOp.encode(e.leaf,t.uint32(26).fork()).ldelim(),null!=e.path&&e.path.length)for(var r=0;r<e.path.length;++r)c.ics23.InnerOp.encode(e.path[r],t.uint32(34).fork()).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.ExistenceProof;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.key=e.bytes();break;case 2:n.value=e.bytes();break;case 3:n.leaf=c.ics23.LeafOp.decode(e,e.uint32());break;case 4:n.path&&n.path.length||(n.path=[]),n.path.push(c.ics23.InnerOp.decode(e,e.uint32()));break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.key&&e.hasOwnProperty("key")&&!(e.key&&"number"===typeof e.key.length||s.isString(e.key)))return"key: buffer expected";if(null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"===typeof e.value.length||s.isString(e.value)))return"value: buffer expected";if(null!=e.leaf&&e.hasOwnProperty("leaf")){var t=c.ics23.LeafOp.verify(e.leaf);if(t)return"leaf."+t}if(null!=e.path&&e.hasOwnProperty("path")){if(!Array.isArray(e.path))return"path: array expected";for(var r=0;r<e.path.length;++r){t=c.ics23.InnerOp.verify(e.path[r]);if(t)return"path."+t}}return null},e.fromObject=function(e){if(e instanceof c.ics23.ExistenceProof)return e;var t=new c.ics23.ExistenceProof;if(null!=e.key&&("string"===typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.value&&("string"===typeof e.value?s.base64.decode(e.value,t.value=s.newBuffer(s.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),null!=e.leaf){if("object"!==typeof e.leaf)throw TypeError(".ics23.ExistenceProof.leaf: object expected");t.leaf=c.ics23.LeafOp.fromObject(e.leaf)}if(e.path){if(!Array.isArray(e.path))throw TypeError(".ics23.ExistenceProof.path: array expected");t.path=[];for(var r=0;r<e.path.length;++r){if("object"!==typeof e.path[r])throw TypeError(".ics23.ExistenceProof.path: object expected");t.path[r]=c.ics23.InnerOp.fromObject(e.path[r])}}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.path=[]),t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),t.bytes===String?r.value="":(r.value=[],t.bytes!==Array&&(r.value=s.newBuffer(r.value))),r.leaf=null),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.bytes===String?s.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),null!=e.leaf&&e.hasOwnProperty("leaf")&&(r.leaf=c.ics23.LeafOp.toObject(e.leaf,t)),e.path&&e.path.length){r.path=[];for(var n=0;n<e.path.length;++n)r.path[n]=c.ics23.InnerOp.toObject(e.path[n],t)}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.NonExistenceProof=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.key=s.newBuffer([]),e.prototype.left=null,e.prototype.right=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),null!=e.key&&e.hasOwnProperty("key")&&t.uint32(10).bytes(e.key),null!=e.left&&e.hasOwnProperty("left")&&c.ics23.ExistenceProof.encode(e.left,t.uint32(18).fork()).ldelim(),null!=e.right&&e.hasOwnProperty("right")&&c.ics23.ExistenceProof.encode(e.right,t.uint32(26).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.NonExistenceProof;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.key=e.bytes();break;
1case 2:n.left=c.ics23.ExistenceProof.decode(e,e.uint32());break;case 3:n.right=c.ics23.ExistenceProof.decode(e,e.uint32());break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.key&&e.hasOwnProperty("key")&&!(e.key&&"number"===typeof e.key.length||s.isString(e.key)))return"key: buffer expected";if(null!=e.left&&e.hasOwnProperty("left")){var t=c.ics23.ExistenceProof.verify(e.left);if(t)return"left."+t}if(null!=e.right&&e.hasOwnProperty("right")){t=c.ics23.ExistenceProof.verify(e.right);if(t)return"right."+t}return null},e.fromObject=function(e){if(e instanceof c.ics23.NonExistenceProof)return e;var t=new c.ics23.NonExistenceProof;if(null!=e.key&&("string"===typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.left){if("object"!==typeof e.left)throw TypeError(".ics23.NonExistenceProof.left: object expected");t.left=c.ics23.ExistenceProof.fromObject(e.left)}if(null!=e.right){if("object"!==typeof e.right)throw TypeError(".ics23.NonExistenceProof.right: object expected");t.right=c.ics23.ExistenceProof.fromObject(e.right)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),r.left=null,r.right=null),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.left&&e.hasOwnProperty("left")&&(r.left=c.ics23.ExistenceProof.toObject(e.left,t)),null!=e.right&&e.hasOwnProperty("right")&&(r.right=c.ics23.ExistenceProof.toObject(e.right,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CommitmentProof=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}var t;return e.prototype.exist=null,e.prototype.nonexist=null,e.prototype.batch=null,e.prototype.compressed=null,Object.defineProperty(e.prototype,"proof",{get:s.oneOfGetter(t=["exist","nonexist","batch","compressed"]),set:s.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),null!=e.exist&&e.hasOwnProperty("exist")&&c.ics23.ExistenceProof.encode(e.exist,t.uint32(10).fork()).ldelim(),null!=e.nonexist&&e.hasOwnProperty("nonexist")&&c.ics23.NonExistenceProof.encode(e.nonexist,t.uint32(18).fork()).ldelim(),null!=e.batch&&e.hasOwnProperty("batch")&&c.ics23.BatchProof.encode(e.batch,t.uint32(26).fork()).ldelim(),null!=e.compressed&&e.hasOwnProperty("compressed")&&c.ics23.CompressedBatchProof.encode(e.compressed,t.uint32(34).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.CommitmentProof;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.exist=c.ics23.ExistenceProof.decode(e,e.uint32());break;case 2:n.nonexist=c.ics23.NonExistenceProof.decode(e,e.uint32());break;case 3:n.batch=c.ics23.BatchProof.decode(e,e.uint32());break;case 4:n.compressed=c.ics23.CompressedBatchProof.decode(e,e.uint32());break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t={};if(null!=e.exist&&e.hasOwnProperty("exist")){t.proof=1;var r=c.ics23.ExistenceProof.verify(e.exist);if(r)return"exist."+r}if(null!=e.nonexist&&e.hasOwnProperty("nonexist")){if(1===t.proof)return"proof: multiple values";t.proof=1;r=c.ics23.NonExistenceProof.verify(e.nonexist);if(r)return"nonexist."+r}if(null!=e.batch&&e.hasOwnProperty("batch")){if(1===t.proof)return"proof: multiple values";t.proof=1;r=c.ics23.BatchProof.verify(e.batch);if(r)return"batch."+r}if(null!=e.compressed&&e.hasOwnProperty("compressed")){if(1===t.proof)return"proof: multiple values";t.proof=1;r=c.ics23.CompressedBatchProof.verify(e.compressed);if(r)return"compressed."+r}return null},e.fromObject=function(e){if(e instanceof c.ics23.CommitmentProof)return e;var t=new c.ics23.CommitmentProof;if(null!=e.exist){if("object"!==typeof e.exist)throw TypeError(".ics23.CommitmentProof.exist: object expected");t.exist=c.ics23.ExistenceProof.fromObject(e.exist)}if(null!=e.nonexist){if("object"!==typeof e.nonexist)throw TypeError(".ics23.CommitmentProof.nonexist: object expected");t.nonexist=c.ics23.NonExistenceProof.fromObject(e.nonexist)}
1if(null!=e.batch){if("object"!==typeof e.batch)throw TypeError(".ics23.CommitmentProof.batch: object expected");t.batch=c.ics23.BatchProof.fromObject(e.batch)}if(null!=e.compressed){if("object"!==typeof e.compressed)throw TypeError(".ics23.CommitmentProof.compressed: object expected");t.compressed=c.ics23.CompressedBatchProof.fromObject(e.compressed)}return t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.exist&&e.hasOwnProperty("exist")&&(r.exist=c.ics23.ExistenceProof.toObject(e.exist,t),t.oneofs&&(r.proof="exist")),null!=e.nonexist&&e.hasOwnProperty("nonexist")&&(r.nonexist=c.ics23.NonExistenceProof.toObject(e.nonexist,t),t.oneofs&&(r.proof="nonexist")),null!=e.batch&&e.hasOwnProperty("batch")&&(r.batch=c.ics23.BatchProof.toObject(e.batch,t),t.oneofs&&(r.proof="batch")),null!=e.compressed&&e.hasOwnProperty("compressed")&&(r.compressed=c.ics23.CompressedBatchProof.toObject(e.compressed,t),t.oneofs&&(r.proof="compressed")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.LeafOp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.hash=0,e.prototype.prehashKey=0,e.prototype.prehashValue=0,e.prototype.length=0,e.prototype.prefix=s.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),null!=e.hash&&e.hasOwnProperty("hash")&&t.uint32(8).int32(e.hash),null!=e.prehashKey&&e.hasOwnProperty("prehashKey")&&t.uint32(16).int32(e.prehashKey),null!=e.prehashValue&&e.hasOwnProperty("prehashValue")&&t.uint32(24).int32(e.prehashValue),null!=e.length&&e.hasOwnProperty("length")&&t.uint32(32).int32(e.length),null!=e.prefix&&e.hasOwnProperty("prefix")&&t.uint32(42).bytes(e.prefix),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.LeafOp;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.hash=e.int32();break;case 2:n.prehashKey=e.int32();break;case 3:n.prehashValue=e.int32();break;case 4:n.length=e.int32();break;case 5:n.prefix=e.bytes();break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.hash&&e.hasOwnProperty("hash"))switch(e.hash){default:return"hash: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:break}if(null!=e.prehashKey&&e.hasOwnProperty("prehashKey"))switch(e.prehashKey){default:return"prehashKey: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:break}if(null!=e.prehashValue&&e.hasOwnProperty("prehashValue"))switch(e.prehashValue){default:return"prehashValue: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:break}if(null!=e.length&&e.hasOwnProperty("length"))switch(e.length){default:return"length: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:break}return null!=e.prefix&&e.hasOwnProperty("prefix")&&!(e.prefix&&"number"===typeof e.prefix.length||s.isString(e.prefix))?"prefix: buffer expected":null},e.fromObject=function(e){if(e instanceof c.ics23.LeafOp)return e;var t=new c.ics23.LeafOp;switch(e.hash){case"NO_HASH":case 0:t.hash=0;break;case"SHA256":case 1:t.hash=1;break;case"SHA512":case 2:t.hash=2;break;case"KECCAK":case 3:t.hash=3;break;case"RIPEMD160":case 4:t.hash=4;break;case"BITCOIN":case 5:t.hash=5;break;case"SHA512_256":case 6:t.hash=6;break}switch(e.prehashKey){case"NO_HASH":case 0:t.prehashKey=0;break;case"SHA256":case 1:t.prehashKey=1;break;case"SHA512":case 2:t.prehashKey=2;break;case"KECCAK":case 3:t.prehashKey=3;break;case"RIPEMD160":case 4:t.prehashKey=4;break;case"BITCOIN":case 5:t.prehashKey=5;break;case"SHA512_256":case 6:t.prehashKey=6;break}switch(e.prehashValue){case"NO_HASH":case 0:t.prehashValue=0;break;case"SHA256":case 1:t.prehashValue=1;break;case"SHA512":case 2:t.prehashValue=2;break;case"KECCAK":case 3:t.prehashValue=3;break;case"RIPEMD160":case 4:t.prehashValue=4;break;case"BITCOIN":case 5:t.prehashValue=5;break;case"SHA512_256":case 6:t.prehashValue=6;break}switch(e.length){case"NO_PREFIX":case 0:t.length=0;break;case"VAR_PROTO":case 1:t.length=1;break;case"VAR_RLP":case 2:t.length=2;break;case"FIXED32_BIG":case 3:t.length=3;break;case"FIXED32_LITTLE":case 4:t.length=4;break;case"FIXED64_BIG":case 5:t.length=5;break;case"FIXED64_LITTLE":case 6:t.length=6;break;case"REQUIRE_32_BYTES":case 7:t.length=7;break;case"REQUIRE_64_BYTES":case 8:t.length=8;break}return null!=e.prefix&&("string"===typeof e.prefix?s.base64.decode(e.prefix,t.prefix=s.newBuffer(s.base64.length(e.prefix)),0):e.prefix.length&&(t.prefix=e.prefix)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.hash=t.enums===String?"NO_HASH":0,r.prehashKey=t.enums===String?"NO_HASH":0,r.prehashValue=t.enums===String?"NO_HASH":0,r.length=t.enums===String?"NO_PREFIX":0,t.bytes===String?r.prefix="":(r.prefix=[],t.bytes!==Array&&(r.prefix=s.newBuffer(r.prefix)))),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.enums===String?c.ics23.HashOp[e.hash]:e.hash),null!=e.prehashKey&&e.hasOwnProperty("prehashKey")&&(r.prehashKey=t.enums===String?c.ics23.HashOp[e.prehashKey]:e.prehashKey),null!=e.prehashValue&&e.hasOwnProperty("prehashValue")&&(r.prehashValue=t.enums===String?c.ics23.HashOp[e.prehashValue]:e.prehashValue),null!=e.length&&e.hasOwnProperty("length")&&(r.length=t.enums===String?c.ics23.LengthOp[e.length]:e.length),null!=e.prefix&&e.hasOwnProperty("prefix")&&(r.prefix=t.bytes===String?s.base64.encode(e.prefix,0,e.prefix.length):t.bytes===Array?Array.prototype.slice.call(e.prefix):e.prefix),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.InnerOp=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.hash=0,e.prototype.prefix=s.newBuffer([]),e.prototype.suffix=s.newBuffer([]),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),null!=e.hash&&e.hasOwnProperty("hash")&&t.uint32(8).int32(e.hash),null!=e.prefix&&e.hasOwnProperty("prefix")&&t.uint32(18).bytes(e.prefix),null!=e.suffix&&e.hasOwnProperty("suffix")&&t.uint32(26).bytes(e.suffix),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.InnerOp;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.hash=e.int32();break;case 2:n.prefix=e.bytes();break;case 3:n.suffix=e.bytes();break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.hash&&e.hasOwnProperty("hash"))switch(e.hash){default:return"hash: enum value expected";
1case 0:case 1:case 2:case 3:case 4:case 5:case 6:break}return null!=e.prefix&&e.hasOwnProperty("prefix")&&!(e.prefix&&"number"===typeof e.prefix.length||s.isString(e.prefix))?"prefix: buffer expected":null!=e.suffix&&e.hasOwnProperty("suffix")&&!(e.suffix&&"number"===typeof e.suffix.length||s.isString(e.suffix))?"suffix: buffer expected":null},e.fromObject=function(e){if(e instanceof c.ics23.InnerOp)return e;var t=new c.ics23.InnerOp;switch(e.hash){case"NO_HASH":case 0:t.hash=0;break;case"SHA256":case 1:t.hash=1;break;case"SHA512":case 2:t.hash=2;break;case"KECCAK":case 3:t.hash=3;break;case"RIPEMD160":case 4:t.hash=4;break;case"BITCOIN":case 5:t.hash=5;break;case"SHA512_256":case 6:t.hash=6;break}return null!=e.prefix&&("string"===typeof e.prefix?s.base64.decode(e.prefix,t.prefix=s.newBuffer(s.base64.length(e.prefix)),0):e.prefix.length&&(t.prefix=e.prefix)),null!=e.suffix&&("string"===typeof e.suffix?s.base64.decode(e.suffix,t.suffix=s.newBuffer(s.base64.length(e.suffix)),0):e.suffix.length&&(t.suffix=e.suffix)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.hash=t.enums===String?"NO_HASH":0,t.bytes===String?r.prefix="":(r.prefix=[],t.bytes!==Array&&(r.prefix=s.newBuffer(r.prefix))),t.bytes===String?r.suffix="":(r.suffix=[],t.bytes!==Array&&(r.suffix=s.newBuffer(r.suffix)))),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.enums===String?c.ics23.HashOp[e.hash]:e.hash),null!=e.prefix&&e.hasOwnProperty("prefix")&&(r.prefix=t.bytes===String?s.base64.encode(e.prefix,0,e.prefix.length):t.bytes===Array?Array.prototype.slice.call(e.prefix):e.prefix),null!=e.suffix&&e.hasOwnProperty("suffix")&&(r.suffix=t.bytes===String?s.base64.encode(e.suffix,0,e.suffix.length):t.bytes===Array?Array.prototype.slice.call(e.suffix):e.suffix),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ProofSpec=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.leafSpec=null,e.prototype.innerSpec=null,e.prototype.maxDepth=0,e.prototype.minDepth=0,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),null!=e.leafSpec&&e.hasOwnProperty("leafSpec")&&c.ics23.LeafOp.encode(e.leafSpec,t.uint32(10).fork()).ldelim(),null!=e.innerSpec&&e.hasOwnProperty("innerSpec")&&c.ics23.InnerSpec.encode(e.innerSpec,t.uint32(18).fork()).ldelim(),null!=e.maxDepth&&e.hasOwnProperty("maxDepth")&&t.uint32(24).int32(e.maxDepth),null!=e.minDepth&&e.hasOwnProperty("minDepth")&&t.uint32(32).int32(e.minDepth),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.ProofSpec;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.leafSpec=c.ics23.LeafOp.decode(e,e.uint32());break;case 2:n.innerSpec=c.ics23.InnerSpec.decode(e,e.uint32());break;case 3:n.maxDepth=e.int32();break;case 4:n.minDepth=e.int32();break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.leafSpec&&e.hasOwnProperty("leafSpec")){var t=c.ics23.LeafOp.verify(e.leafSpec);if(t)return"leafSpec."+t}if(null!=e.innerSpec&&e.hasOwnProperty("innerSpec")){t=c.ics23.InnerSpec.verify(e.innerSpec);if(t)return"innerSpec."+t}return null!=e.maxDepth&&e.hasOwnProperty("maxDepth")&&!s.isInteger(e.maxDepth)?"maxDepth: integer expected":null!=e.minDepth&&e.hasOwnProperty("minDepth")&&!s.isInteger(e.minDepth)?"minDepth: integer expected":null},e.fromObject=function(e){if(e instanceof c.ics23.ProofSpec)return e;var t=new c.ics23.ProofSpec;if(null!=e.leafSpec){if("object"!==typeof e.leafSpec)throw TypeError(".ics23.ProofSpec.leafSpec: object expected");t.leafSpec=c.ics23.LeafOp.fromObject(e.leafSpec)}if(null!=e.innerSpec){if("object"!==typeof e.innerSpec)throw TypeError(".ics23.ProofSpec.innerSpec: object expected");t.innerSpec=c.ics23.InnerSpec.fromObject(e.innerSpec)}return null!=e.maxDepth&&(t.maxDepth=0|e.maxDepth),null!=e.minDepth&&(t.minDepth=0|e.minDepth),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.leafSpec=null,r.innerSpec=null,r.maxDepth=0,r.minDepth=0),null!=e.leafSpec&&e.hasOwnProperty("leafSpec")&&(r.leafSpec=c.ics23.LeafOp.toObject(e.leafSpec,t)),null!=e.innerSpec&&e.hasOwnProperty("innerSpec")&&(r.innerSpec=c.ics23.InnerSpec.toObject(e.innerSpec,t)),null!=e.maxDepth&&e.hasOwnProperty("maxDepth")&&(r.maxDepth=e.maxDepth),null!=e.minDepth&&e.hasOwnProperty("minDepth")&&(r.minDepth=e.minDepth),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.InnerSpec=function(){function e(e){if(this.childOrder=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.childOrder=s.emptyArray,e.prototype.childSize=0,e.prototype.minPrefixLength=0,e.prototype.maxPrefixLength=0,e.prototype.emptyChild=s.newBuffer([]),e.prototype.hash=0,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),null!=e.childOrder&&e.childOrder.length){t.uint32(10).fork();for(var r=0;r<e.childOrder.length;++r)t.int32(e.childOrder[r]);t.ldelim()}return null!=e.childSize&&e.hasOwnProperty("childSize")&&t.uint32(16).int32(e.childSize),null!=e.minPrefixLength&&e.hasOwnProperty("minPrefixLength")&&t.uint32(24).int32(e.minPrefixLength),null!=e.maxPrefixLength&&e.hasOwnProperty("maxPrefixLength")&&t.uint32(32).int32(e.maxPrefixLength),null!=e.emptyChild&&e.hasOwnProperty("emptyChild")&&t.uint32(42).bytes(e.emptyChild),null!=e.hash&&e.hasOwnProperty("hash")&&t.uint32(48).int32(e.hash),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.InnerSpec;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:if(n.childOrder&&n.childOrder.length||(n.childOrder=[]),2===(7&o)){var s=e.uint32()+e.pos;while(e.pos<s)n.childOrder.push(e.int32())}else n.childOrder.push(e.int32());break;case 2:n.childSize=e.int32();break;case 3:n.minPrefixLength=e.int32();break;case 4:n.maxPrefixLength=e.int32();break;case 5:n.emptyChild=e.bytes();break;case 6:n.hash=e.int32();break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";
1if(null!=e.childOrder&&e.hasOwnProperty("childOrder")){if(!Array.isArray(e.childOrder))return"childOrder: array expected";for(var t=0;t<e.childOrder.length;++t)if(!s.isInteger(e.childOrder[t]))return"childOrder: integer[] expected"}if(null!=e.childSize&&e.hasOwnProperty("childSize")&&!s.isInteger(e.childSize))return"childSize: integer expected";if(null!=e.minPrefixLength&&e.hasOwnProperty("minPrefixLength")&&!s.isInteger(e.minPrefixLength))return"minPrefixLength: integer expected";if(null!=e.maxPrefixLength&&e.hasOwnProperty("maxPrefixLength")&&!s.isInteger(e.maxPrefixLength))return"maxPrefixLength: integer expected";if(null!=e.emptyChild&&e.hasOwnProperty("emptyChild")&&!(e.emptyChild&&"number"===typeof e.emptyChild.length||s.isString(e.emptyChild)))return"emptyChild: buffer expected";if(null!=e.hash&&e.hasOwnProperty("hash"))switch(e.hash){default:return"hash: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:break}return null},e.fromObject=function(e){if(e instanceof c.ics23.InnerSpec)return e;var t=new c.ics23.InnerSpec;if(e.childOrder){if(!Array.isArray(e.childOrder))throw TypeError(".ics23.InnerSpec.childOrder: array expected");t.childOrder=[];for(var r=0;r<e.childOrder.length;++r)t.childOrder[r]=0|e.childOrder[r]}switch(null!=e.childSize&&(t.childSize=0|e.childSize),null!=e.minPrefixLength&&(t.minPrefixLength=0|e.minPrefixLength),null!=e.maxPrefixLength&&(t.maxPrefixLength=0|e.maxPrefixLength),null!=e.emptyChild&&("string"===typeof e.emptyChild?s.base64.decode(e.emptyChild,t.emptyChild=s.newBuffer(s.base64.length(e.emptyChild)),0):e.emptyChild.length&&(t.emptyChild=e.emptyChild)),e.hash){case"NO_HASH":case 0:t.hash=0;break;case"SHA256":case 1:t.hash=1;break;case"SHA512":case 2:t.hash=2;break;case"KECCAK":case 3:t.hash=3;break;case"RIPEMD160":case 4:t.hash=4;break;case"BITCOIN":case 5:t.hash=5;break;case"SHA512_256":case 6:t.hash=6;break}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.childOrder=[]),t.defaults&&(r.childSize=0,r.minPrefixLength=0,r.maxPrefixLength=0,t.bytes===String?r.emptyChild="":(r.emptyChild=[],t.bytes!==Array&&(r.emptyChild=s.newBuffer(r.emptyChild))),r.hash=t.enums===String?"NO_HASH":0),e.childOrder&&e.childOrder.length){r.childOrder=[];for(var n=0;n<e.childOrder.length;++n)r.childOrder[n]=e.childOrder[n]}return null!=e.childSize&&e.hasOwnProperty("childSize")&&(r.childSize=e.childSize),null!=e.minPrefixLength&&e.hasOwnProperty("minPrefixLength")&&(r.minPrefixLength=e.minPrefixLength),null!=e.maxPrefixLength&&e.hasOwnProperty("maxPrefixLength")&&(r.maxPrefixLength=e.maxPrefixLength),null!=e.emptyChild&&e.hasOwnProperty("emptyChild")&&(r.emptyChild=t.bytes===String?s.base64.encode(e.emptyChild,0,e.emptyChild.length):t.bytes===Array?Array.prototype.slice.call(e.emptyChild):e.emptyChild),null!=e.hash&&e.hasOwnProperty("hash")&&(r.hash=t.enums===String?c.ics23.HashOp[e.hash]:e.hash),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BatchProof=function(){function e(e){if(this.entries=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.entries=s.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),null!=e.entries&&e.entries.length)for(var r=0;r<e.entries.length;++r)c.ics23.BatchEntry.encode(e.entries[r],t.uint32(10).fork()).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.BatchProof;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(c.ics23.BatchEntry.decode(e,e.uint32()));break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.entries&&e.hasOwnProperty("entries")){if(!Array.isArray(e.entries))return"entries: array expected";for(var t=0;t<e.entries.length;++t){var r=c.ics23.BatchEntry.verify(e.entries[t]);if(r)return"entries."+r}}return null},e.fromObject=function(e){if(e instanceof c.ics23.BatchProof)return e;var t=new c.ics23.BatchProof;if(e.entries){if(!Array.isArray(e.entries))throw TypeError(".ics23.BatchProof.entries: array expected");t.entries=[];for(var r=0;r<e.entries.length;++r){if("object"!==typeof e.entries[r])throw TypeError(".ics23.BatchProof.entries: object expected");t.entries[r]=c.ics23.BatchEntry.fromObject(e.entries[r])}}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.entries=[]),e.entries&&e.entries.length){r.entries=[];for(var n=0;n<e.entries.length;++n)r.entries[n]=c.ics23.BatchEntry.toObject(e.entries[n],t)}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BatchEntry=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}var t;return e.prototype.exist=null,e.prototype.nonexist=null,Object.defineProperty(e.prototype,"proof",{get:s.oneOfGetter(t=["exist","nonexist"]),set:s.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),null!=e.exist&&e.hasOwnProperty("exist")&&c.ics23.ExistenceProof.encode(e.exist,t.uint32(10).fork()).ldelim(),null!=e.nonexist&&e.hasOwnProperty("nonexist")&&c.ics23.NonExistenceProof.encode(e.nonexist,t.uint32(18).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.BatchEntry;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.exist=c.ics23.ExistenceProof.decode(e,e.uint32());break;case 2:n.nonexist=c.ics23.NonExistenceProof.decode(e,e.uint32());break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t={};if(null!=e.exist&&e.hasOwnProperty("exist")){t.proof=1;var r=c.ics23.ExistenceProof.verify(e.exist);if(r)return"exist."+r}if(null!=e.nonexist&&e.hasOwnProperty("nonexist")){if(1===t.proof)return"proof: multiple values";t.proof=1;r=c.ics23.NonExistenceProof.verify(e.nonexist);if(r)return"nonexist."+r}return null},e.fromObject=function(e){if(e instanceof c.ics23.BatchEntry)return e;var t=new c.ics23.BatchEntry;if(null!=e.exist){if("object"!==typeof e.exist)throw TypeError(".ics23.BatchEntry.exist: object expected");t.exist=c.ics23.ExistenceProof.fromObject(e.exist)}if(null!=e.nonexist){if("object"!==typeof e.nonexist)throw TypeError(".ics23.BatchEntry.nonexist: object expected");t.nonexist=c.ics23.NonExistenceProof.fromObject(e.nonexist)}return t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.exist&&e.hasOwnProperty("exist")&&(r.exist=c.ics23.ExistenceProof.toObject(e.exist,t),t.oneofs&&(r.proof="exist")),null!=e.nonexist&&e.hasOwnProperty("nonexist")&&(r.nonexist=c.ics23.NonExistenceProof.toObject(e.nonexist,t),t.oneofs&&(r.proof="nonexist")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CompressedBatchProof=function(){function e(e){if(this.entries=[],this.lookupInners=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.entries=s.emptyArray,e.prototype.lookupInners=s.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),null!=e.entries&&e.entries.length)for(var r=0;r<e.entries.length;++r)c.ics23.CompressedBatchEntry.encode(e.entries[r],t.uint32(10).fork()).ldelim();if(null!=e.lookupInners&&e.lookupInners.length)for(r=0;r<e.lookupInners.length;++r)c.ics23.InnerOp.encode(e.lookupInners[r],t.uint32(18).fork()).ldelim();return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.CompressedBatchProof;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.entries&&n.entries.length||(n.entries=[]),n.entries.push(c.ics23.CompressedBatchEntry.decode(e,e.uint32()));break;case 2:n.lookupInners&&n.lookupInners.length||(n.lookupInners=[]),n.lookupInners.push(c.ics23.InnerOp.decode(e,e.uint32()));break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";
1if(null!=e.entries&&e.hasOwnProperty("entries")){if(!Array.isArray(e.entries))return"entries: array expected";for(var t=0;t<e.entries.length;++t){var r=c.ics23.CompressedBatchEntry.verify(e.entries[t]);if(r)return"entries."+r}}if(null!=e.lookupInners&&e.hasOwnProperty("lookupInners")){if(!Array.isArray(e.lookupInners))return"lookupInners: array expected";for(t=0;t<e.lookupInners.length;++t){r=c.ics23.InnerOp.verify(e.lookupInners[t]);if(r)return"lookupInners."+r}}return null},e.fromObject=function(e){if(e instanceof c.ics23.CompressedBatchProof)return e;var t=new c.ics23.CompressedBatchProof;if(e.entries){if(!Array.isArray(e.entries))throw TypeError(".ics23.CompressedBatchProof.entries: array expected");t.entries=[];for(var r=0;r<e.entries.length;++r){if("object"!==typeof e.entries[r])throw TypeError(".ics23.CompressedBatchProof.entries: object expected");t.entries[r]=c.ics23.CompressedBatchEntry.fromObject(e.entries[r])}}if(e.lookupInners){if(!Array.isArray(e.lookupInners))throw TypeError(".ics23.CompressedBatchProof.lookupInners: array expected");t.lookupInners=[];for(r=0;r<e.lookupInners.length;++r){if("object"!==typeof e.lookupInners[r])throw TypeError(".ics23.CompressedBatchProof.lookupInners: object expected");t.lookupInners[r]=c.ics23.InnerOp.fromObject(e.lookupInners[r])}}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.entries=[],r.lookupInners=[]),e.entries&&e.entries.length){r.entries=[];for(var n=0;n<e.entries.length;++n)r.entries[n]=c.ics23.CompressedBatchEntry.toObject(e.entries[n],t)}if(e.lookupInners&&e.lookupInners.length){r.lookupInners=[];for(n=0;n<e.lookupInners.length;++n)r.lookupInners[n]=c.ics23.InnerOp.toObject(e.lookupInners[n],t)}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CompressedBatchEntry=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}var t;return e.prototype.exist=null,e.prototype.nonexist=null,Object.defineProperty(e.prototype,"proof",{get:s.oneOfGetter(t=["exist","nonexist"]),set:s.oneOfSetter(t)}),e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),null!=e.exist&&e.hasOwnProperty("exist")&&c.ics23.CompressedExistenceProof.encode(e.exist,t.uint32(10).fork()).ldelim(),null!=e.nonexist&&e.hasOwnProperty("nonexist")&&c.ics23.CompressedNonExistenceProof.encode(e.nonexist,t.uint32(18).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.CompressedBatchEntry;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.exist=c.ics23.CompressedExistenceProof.decode(e,e.uint32());break;case 2:n.nonexist=c.ics23.CompressedNonExistenceProof.decode(e,e.uint32());break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t={};if(null!=e.exist&&e.hasOwnProperty("exist")){t.proof=1;var r=c.ics23.CompressedExistenceProof.verify(e.exist);if(r)return"exist."+r}if(null!=e.nonexist&&e.hasOwnProperty("nonexist")){if(1===t.proof)return"proof: multiple values";t.proof=1;r=c.ics23.CompressedNonExistenceProof.verify(e.nonexist);if(r)return"nonexist."+r}return null},e.fromObject=function(e){if(e instanceof c.ics23.CompressedBatchEntry)return e;var t=new c.ics23.CompressedBatchEntry;if(null!=e.exist){if("object"!==typeof e.exist)throw TypeError(".ics23.CompressedBatchEntry.exist: object expected");t.exist=c.ics23.CompressedExistenceProof.fromObject(e.exist)}if(null!=e.nonexist){if("object"!==typeof e.nonexist)throw TypeError(".ics23.CompressedBatchEntry.nonexist: object expected");t.nonexist=c.ics23.CompressedNonExistenceProof.fromObject(e.nonexist)}return t},e.toObject=function(e,t){t||(t={});var r={};return null!=e.exist&&e.hasOwnProperty("exist")&&(r.exist=c.ics23.CompressedExistenceProof.toObject(e.exist,t),t.oneofs&&(r.proof="exist")),null!=e.nonexist&&e.hasOwnProperty("nonexist")&&(r.nonexist=c.ics23.CompressedNonExistenceProof.toObject(e.nonexist,t),t.oneofs&&(r.proof="nonexist")),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CompressedExistenceProof=function(){function e(e){if(this.path=[],e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.key=s.newBuffer([]),e.prototype.value=s.newBuffer([]),e.prototype.leaf=null,e.prototype.path=s.emptyArray,e.create=function(t){return new e(t)},e.encode=function(e,t){if(t||(t=o.create()),null!=e.key&&e.hasOwnProperty("key")&&t.uint32(10).bytes(e.key),null!=e.value&&e.hasOwnProperty("value")&&t.uint32(18).bytes(e.value),null!=e.leaf&&e.hasOwnProperty("leaf")&&c.ics23.LeafOp.encode(e.leaf,t.uint32(26).fork()).ldelim(),null!=e.path&&e.path.length){t.uint32(34).fork();for(var r=0;r<e.path.length;++r)t.int32(e.path[r]);t.ldelim()}return t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.CompressedExistenceProof;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.key=e.bytes();break;case 2:n.value=e.bytes();break;case 3:n.leaf=c.ics23.LeafOp.decode(e,e.uint32());break;case 4:if(n.path&&n.path.length||(n.path=[]),2===(7&o)){var s=e.uint32()+e.pos;while(e.pos<s)n.path.push(e.int32())}else n.path.push(e.int32());break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";
1if(null!=e.key&&e.hasOwnProperty("key")&&!(e.key&&"number"===typeof e.key.length||s.isString(e.key)))return"key: buffer expected";if(null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"===typeof e.value.length||s.isString(e.value)))return"value: buffer expected";if(null!=e.leaf&&e.hasOwnProperty("leaf")){var t=c.ics23.LeafOp.verify(e.leaf);if(t)return"leaf."+t}if(null!=e.path&&e.hasOwnProperty("path")){if(!Array.isArray(e.path))return"path: array expected";for(var r=0;r<e.path.length;++r)if(!s.isInteger(e.path[r]))return"path: integer[] expected"}return null},e.fromObject=function(e){if(e instanceof c.ics23.CompressedExistenceProof)return e;var t=new c.ics23.CompressedExistenceProof;if(null!=e.key&&("string"===typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.value&&("string"===typeof e.value?s.base64.decode(e.value,t.value=s.newBuffer(s.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),null!=e.leaf){if("object"!==typeof e.leaf)throw TypeError(".ics23.CompressedExistenceProof.leaf: object expected");t.leaf=c.ics23.LeafOp.fromObject(e.leaf)}if(e.path){if(!Array.isArray(e.path))throw TypeError(".ics23.CompressedExistenceProof.path: array expected");t.path=[];for(var r=0;r<e.path.length;++r)t.path[r]=0|e.path[r]}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.path=[]),t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),t.bytes===String?r.value="":(r.value=[],t.bytes!==Array&&(r.value=s.newBuffer(r.value))),r.leaf=null),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.bytes===String?s.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),null!=e.leaf&&e.hasOwnProperty("leaf")&&(r.leaf=c.ics23.LeafOp.toObject(e.leaf,t)),e.path&&e.path.length){r.path=[];for(var n=0;n<e.path.length;++n)r.path[n]=e.path[n]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CompressedNonExistenceProof=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r<t.length;++r)null!=e[t[r]]&&(this[t[r]]=e[t[r]])}return e.prototype.key=s.newBuffer([]),e.prototype.left=null,e.prototype.right=null,e.create=function(t){return new e(t)},e.encode=function(e,t){return t||(t=o.create()),null!=e.key&&e.hasOwnProperty("key")&&t.uint32(10).bytes(e.key),null!=e.left&&e.hasOwnProperty("left")&&c.ics23.CompressedExistenceProof.encode(e.left,t.uint32(18).fork()).ldelim(),null!=e.right&&e.hasOwnProperty("right")&&c.ics23.CompressedExistenceProof.encode(e.right,t.uint32(26).fork()).ldelim(),t},e.encodeDelimited=function(e,t){return this.encode(e,t).ldelim()},e.decode=function(e,t){e instanceof i||(e=i.create(e));var r=void 0===t?e.len:e.pos+t,n=new c.ics23.CompressedNonExistenceProof;while(e.pos<r){var o=e.uint32();switch(o>>>3){case 1:n.key=e.bytes();break;case 2:n.left=c.ics23.CompressedExistenceProof.decode(e,e.uint32());break;case 3:n.right=c.ics23.CompressedExistenceProof.decode(e,e.uint32());break;default:e.skipType(7&o);break}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.key&&e.hasOwnProperty("key")&&!(e.key&&"number"===typeof e.key.length||s.isString(e.key)))return"key: buffer expected";if(null!=e.left&&e.hasOwnProperty("left")){var t=c.ics23.CompressedExistenceProof.verify(e.left);if(t)return"left."+t}if(null!=e.right&&e.hasOwnProperty("right")){t=c.ics23.CompressedExistenceProof.verify(e.right);if(t)return"right."+t}return null},e.fromObject=function(e){if(e instanceof c.ics23.CompressedNonExistenceProof)return e;var t=new c.ics23.CompressedNonExistenceProof;if(null!=e.key&&("string"===typeof e.key?s.base64.decode(e.key,t.key=s.newBuffer(s.base64.length(e.key)),0):e.key.length&&(t.key=e.key)),null!=e.left){if("object"!==typeof e.left)throw TypeError(".ics23.CompressedNonExistenceProof.left: object expected");t.left=c.ics23.CompressedExistenceProof.fromObject(e.left)}if(null!=e.right){if("object"!==typeof e.right)throw TypeError(".ics23.CompressedNonExistenceProof.right: object expected");t.right=c.ics23.CompressedExistenceProof.fromObject(e.right)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.key="":(r.key=[],t.bytes!==Array&&(r.key=s.newBuffer(r.key))),r.left=null,r.right=null),null!=e.key&&e.hasOwnProperty("key")&&(r.key=t.bytes===String?s.base64.encode(e.key,0,e.key.length):t.bytes===Array?Array.prototype.slice.call(e.key):e.key),null!=e.left&&e.hasOwnProperty("left")&&(r.left=c.ics23.CompressedExistenceProof.toObject(e.left,t)),null!=e.right&&e.hasOwnProperty("right")&&(r.right=c.ics23.CompressedExistenceProof.toObject(e.right,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.exports=c},21708:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.batchVerifyNonMembership=t.batchVerifyMembership=t.verifyNonMembership=t.verifyMembership=void 0;const n=r(84453),i=r(4659),o=r(23824);function s(e,t,r,o,s){const c=(0,n.decompress)(e),a=u(c,o);if(!a)return!1;try{return(0,i.verifyExistence)(a,t,r,o,s),!0}catch(f){return!1}}function c(e,t,r,o){const s=(0,n.decompress)(e),c=l(s,o);if(!c)return!1;try{return(0,i.verifyNonExistence)(c,t,r,o),!0}catch(a){return!1}}function a(e,t,r,i){const o=(0,n.decompress)(e);for(const[n,c]of i.entries())if(!s(o,t,r,n,c))return!1;return!0}function f(e,t,r,i){const o=(0,n.decompress)(e);for(const n of i)if(!c(o,t,r,n))return!1;return!0}function u(e,t){const r=e=>!!e&&(0,o.bytesEqual)(t,e.key);return r(e.exist)?e.exist:e.batch?e.batch.entries.map((e=>e.exist||null)).find(r):void 0}function l(e,t){const r=e=>!!e&&(!e.left||(0,o.bytesBefore)(e.left.key,t))&&(!e.right||(0,o.bytesBefore)(t,e.right.key));return r(e.nonexist)?e.nonexist:e.batch?e.batch.entries.map((e=>e.nonexist||null)).find(r):void 0}t.verifyMembership=s,t.verifyNonMembership=c,t.batchVerifyMembership=a,t.batchVerifyNonMembership=f},55201:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.verifyNonExistence=t.verifyExistence=t.tendermintSpec=t.iavlSpec=t.calculateExistenceRoot=t.verifyNonMembership=t.verifyMembership=t.ics23=void 0;var n=r(10641);Object.defineProperty(t,"ics23",{enumerable:!0,get:function(){return n.ics23}});var i=r(21708);Object.defineProperty(t,"verifyMembership",{enumerable:!0,get:function(){return i.verifyMembership}}),Object.defineProperty(t,"verifyNonMembership",{enumerable:!0,get:function(){return i.verifyNonMembership}});var o=r(4659);Object.defineProperty(t,"calculateExistenceRoot",{enumerable:!0,get:function(){return o.calculateExistenceRoot}}),Object.defineProperty(t,"iavlSpec",{enumerable:!0,get:function(){return o.iavlSpec}}),Object.defineProperty(t,"tendermintSpec",{enumerable:!0,get:function(){return o.tendermintSpec}}),Object.defineProperty(t,"verifyExistence",{enumerable:!0,get:function(){return o.verifyExistence}}),Object.defineProperty(t,"verifyNonExistence",{enumerable:!0,get:function(){return o.verifyNonExistence}})},89768:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.doHash=t.applyInner=t.applyLeaf=void 0;const n=r(70830),i=r(23061),o=r(86262),s=r(10641);function c(e,t,r){if(0===t.length)throw new Error("Missing key");if(0===r.length)throw new Error("Missing value");const n=h(u(e.prehashKey),l(e.length),t),i=h(u(e.prehashValue),l(e.length),r),o=new Uint8Array([...p(e.prefix),...n,...i]);return d(u(e.hash),o)}function a(e,t){if(0===t.length)throw new Error("Inner op needs child value");const r=new Uint8Array([...p(e.prefix),...t,...p(e.suffix)]);return d(u(e.hash),r)}function f(e,t){return void 0===e||null===e?t:e}t.applyLeaf=c,t.applyInner=a;const u=e=>f(e,s.ics23.HashOp.NO_HASH),l=e=>f(e,s.ics23.LengthOp.NO_PREFIX),p=e=>f(e,new Uint8Array([]));function h(e,t,r){const n=y(e,r);return x(t,n)}function y(e,t){return e===s.ics23.HashOp.NO_HASH?t:d(e,t)}function d(e,t){switch(e){case s.ics23.HashOp.SHA256:return(0,i.sha256)(t);case s.ics23.HashOp.SHA512:return(0,o.sha512)(t);case s.ics23.HashOp.RIPEMD160:return(0,n.ripemd160)(t);case s.ics23.HashOp.BITCOIN:return(0,n.ripemd160)((0,i.sha256)(t));case s.ics23.HashOp.SHA512_256:return(0,o.sha512_256)(t)}throw new Error(`Unsupported hashop: ${e}`)}function x(e,t){switch(e){case s.ics23.LengthOp.NO_PREFIX:return t;case s.ics23.LengthOp.VAR_PROTO:return new Uint8Array([...b(t.length),...t]);case s.ics23.LengthOp.REQUIRE_32_BYTES:if(32!==t.length)throw new Error(`Length is ${t.length}, not 32 bytes`);return t;case s.ics23.LengthOp.REQUIRE_64_BYTES:if(64!==t.length)throw new Error(`Length is ${t.length}, not 64 bytes`);return t;case s.ics23.LengthOp.FIXED32_LITTLE:return new Uint8Array([...m(t.length),...t])}throw new Error(`Unsupported lengthop: ${e}`)}function b(e){let t=[],r=e;while(r>=128){const e=r%128+128;t=[...t,e],r/=128}return t=[...t,r],new Uint8Array(t)}function m(e){const t=new Uint8Array(4);let r=e;for(let n=t.length;n>0;n--)t[Math.abs(n-t.length)]=r%256,r=Math.floor(r/256);return t}t.doHash=d},4659:function(e,t,r){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.ensureLeftNeighbor=t.ensureSpec=t.calculateExistenceRoot=t.verifyNonExistence=t.verifyExistence=t.smtSpec=t.tendermintSpec=t.iavlSpec=void 0;const n=r(10641),i=r(89768),o=r(23824);function s(e,t,r,n,i){f(e,t);const s=a(e);(0,o.ensureBytesEqual)(s,r),(0,o.ensureBytesEqual)(n,e.key),(0,o.ensureBytesEqual)(i,e.value)}function c(e,t,r,n){let i,c;if(e.left&&(s(e.left,t,r,e.left.key,e.left.value),i=e.left.key),e.right&&(s(e.right,t,r,e.right.key,e.right.value),c=e.right.key),!i&&!c)throw new Error("neither left nor right proof defined");if(i&&(0,o.ensureBytesBefore)(i,n),c&&(0,o.ensureBytesBefore)(n,c),!t.innerSpec)throw new Error("no inner spec");i?c?p(t.innerSpec,e.left.path,e.right.path):l(t.innerSpec,e.left.path):u(t.innerSpec,e.right.path)}function a(e){if(!e.key||!e.value)throw new Error("Existence proof needs key and value set");if(!e.leaf)throw new Error("Existence proof must start with a leaf operation");const t=e.path||[];let r=(0,i.applyLeaf)(e.leaf,e.key,e.value);for(const n of t)r=(0,i.applyInner)(n,r);return r}function f(e,t){if(!e.leaf)throw new Error("Existence proof must start with a leaf operation");if(!t.leafSpec)throw new Error("Spec must include leafSpec");if(!t.innerSpec)throw new Error("Spec must include innerSpec");(0,o.ensureLeaf)(e.leaf,t.leafSpec);const r=e.path||[];if(t.minDepth&&r.length<t.minDepth)throw new Error(`Too few inner nodes ${r.length}`);if(t.maxDepth&&r.length>t.maxDepth)throw new Error(`Too many inner nodes ${r.length}`);for(const n of r)(0,o.ensureInner)(n,t.leafSpec.prefix,t.innerSpec)}function u(e,t){const{minPrefix:r,maxPrefix:n,suffix:i}=x(e,0);for(const o of t)if(!d(o,r,n,i))throw new Error("Step not leftmost")}function l(e,t){const r=e.childOrder.length-1,{minPrefix:n,maxPrefix:i,suffix:o}=x(e,r);for(const s of t)if(!d(s,n,i,o))throw new Error("Step not leftmost")}function p(e,t,r){const n=[...t],i=[...r];let s=n.pop(),c=i.pop();while((0,o.bytesEqual)(s.prefix,c.prefix)&&(0,o.bytesEqual)(s.suffix,c.suffix))s=n.pop(),c=i.pop();if(!h(e,s,c))throw new Error("Not left neightbor at first divergent step");l(e,n),u(e,i)}function h(e,t,r){const n=y(e,t),i=y(e,r);return i===n+1}function y(e,t){for(let r=0;r<e.childOrder.length;r++){const{minPrefix:n,maxPrefix:i,suffix:o}=x(e,r);if(d(t,n,i,o))return r}throw new Error("Cannot find any valid spacing for this node")}function d(e,t,r,n){return!((e.prefix||[]).length<t)&&(!((e.prefix||[]).length>r)&&(e.suffix||[]).length===n)}function x(e,t){const r=b(e.childOrder,t),n=r*e.childSize,i=n+e.minPrefixLength,o=n+e.maxPrefixLength,s=(e.childOrder.length-1-r)*e.childSize;return{minPrefix:i,maxPrefix:o,suffix:s}}function b(e,t){if(t<0||t>=e.length)throw new Error(`Invalid branch: ${t}`);return e.findIndex((e=>e===t))}t.iavlSpec={leafSpec:{prefix:Uint8Array.from([0]),hash:n.ics23.HashOp.SHA256,prehashValue:n.ics23.HashOp.SHA256,prehashKey:n.ics23.HashOp.NO_HASH,length:n.ics23.LengthOp.VAR_PROTO},innerSpec:{childOrder:[0,1],minPrefixLength:4,maxPrefixLength:12,childSize:33,hash:n.ics23.HashOp.SHA256}},t.tendermintSpec={leafSpec:{prefix:Uint8Array.from([0]),hash:n.ics23.HashOp.SHA256,prehashValue:n.ics23.HashOp.SHA256,prehashKey:n.ics23.HashOp.NO_HASH,length:n.ics23.LengthOp.VAR_PROTO},innerSpec:{childOrder:[0,1],minPrefixLength:1,maxPrefixLength:1,childSize:32,hash:n.ics23.HashOp.SHA256}},t.smtSpec={leafSpec:{hash:n.ics23.HashOp.SHA256,prehashKey:n.ics23.HashOp.NO_HASH,prehashValue:n.ics23.HashOp.SHA256,length:n.ics23.LengthOp.NO_PREFIX,prefix:Uint8Array.from([0])},innerSpec:{childOrder:[0,1],childSize:32,minPrefixLength:1,maxPrefixLength:1,emptyChild:new Uint8Array(32),hash:n.ics23.HashOp.SHA256},maxDepth:256},t.verifyExistence=s,t.verifyNonExistence=c,t.calculateExistenceRoot=a,t.ensureSpec=f,t.ensureLeftNeighbor=p},23824:function(e,t){"use strict";function r(e,t){if(e.hash!==t.hash)throw new Error(`Unexpected hashOp: ${e.hash}`);if(e.prehashKey!==t.prehashKey)throw new Error(`Unexpected prehashKey: ${e.prehashKey}`);if(e.prehashValue!==t.prehashValue)throw new Error(`Unexpected prehashValue: ${e.prehashValue}`);if(e.length!==t.length)throw new Error(`Unexpected length op: ${e.length}`);i(e.prefix,t.prefix)}function n(e,t,r){if(e.hash!==r.hash)throw new Error(`Unexpected hashOp: ${e.hash}`);if(!e.prefix)throw new Error("No prefix set for inner node");if(c(e.prefix,t))throw new Error("Inner node has leaf prefix");if(e.prefix.length<(r.minPrefixLength||0))throw new Error(`Prefix too short: ${e.prefix.length} bytes`);const n=(r.childOrder.length-1)*r.childSize;if(e.prefix.length>(r.maxPrefixLength||0)+n)throw new Error(`Prefix too long: ${e.prefix.length} bytes`)}function i(e,t){if(t&&0!==t.length){if(!e)throw new Error("Target bytes missing");o(t,e.slice(0,t.length))}}function o(e,t){if(e.length!==t.length)throw new Error(`Different lengths ${e.length} vs ${t.length}`);for(let r=0;r<e.length;r++)if(e[r]!==t[r])throw new Error(`Arrays differ at index ${r}: ${e[r]} vs ${t[r]}`)}function s(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function c(e,t){if(!t||0===t.length)return!1;if(!e)return!1;if(e.length<=t.length)return!1;for(let r=0;r<t.length;r++)if(e[r]!==t[r])return!1;throw!0}function a(e,t){if(!f(e,t))throw new Error("first is after last")}function f(e,t){const r=e.length<t.length?e.length:t.length;for(let n=0;n<r;n++){if(e[n]<t[n])return!0;
1if(e[n]>t[n])return!1}return e.length<t.length}Object.defineProperty(t,"__esModule",{value:!0}),t.bytesBefore=t.ensureBytesBefore=t.bytesEqual=t.ensureBytesEqual=t.ensureInner=t.ensureLeaf=void 0,t.ensureLeaf=r,t.ensureInner=n,t.ensureBytesEqual=o,t.bytesEqual=s,t.ensureBytesBefore=a,t.bytesBefore=f},21924:function(e,t,r){"use strict";var n=r(40210),i=r(55559),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"===typeof r&&o(e,".prototype.")>-1?i(r):r}},55559:function(e,t,r){"use strict";var n=r(58612),i=r(40210),o=i("%Function.prototype.apply%"),s=i("%Function.prototype.call%"),c=i("%Reflect.apply%",!0)||n.call(s,o),a=i("%Object.getOwnPropertyDescriptor%",!0),f=i("%Object.defineProperty%",!0),u=i("%Math.max%");if(f)try{f({},"a",{value:1})}catch(p){f=null}e.exports=function(e){var t=c(n,s,arguments);if(a&&f){var r=a(t,"length");r.configurable&&f(t,"length",{value:1+u(0,e.length-(arguments.length-1))})}return t};var l=function(){return c(n,o,arguments)};f?f(e.exports,"apply",{value:l}):e.exports.apply=l},71027:function(e,t,r){var n=r(89509).Buffer,i=r(42830).Transform,o=r(32553).s,s=r(35717);function c(e){i.call(this),this.hashMode="string"===typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}s(c,i),c.prototype.update=function(e,t,r){"string"===typeof e&&(e=n.from(e,t));var i=this._update(e);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},c.prototype.setAutoPadding=function(){},c.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},c.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},c.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},c.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(i){n=i}finally{r(n)}},c.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(r){t=r}e(t)},c.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},c.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can't switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=c},81653:function(e){
2/*!
3 * clipboard.js v2.0.11
4 * https://clipboardjs.com/
5 *
6 * Licensed MIT © Zeno Rocha
7 */
8!function(t,r){e.exports=r()}(0,(function(){return t={686:function(e,t,r){"use strict";r.d(t,{default:function(){return m}});t=r(279);var n=r.n(t),i=(t=r(370),r.n(t)),o=(t=r(817),r.n(t));function s(e){try{return document.execCommand(e)}catch(e){return}}var c=function(e){return e=o()(e),s("cut"),e};function a(e,t){var r,n;r=e,n="rtl"===document.documentElement.getAttribute("dir"),(e=document.createElement("textarea")).style.fontSize="12pt",e.style.border="0",e.style.padding="0",e.style.margin="0",e.style.position="absolute",e.style[n?"right":"left"]="-9999px",n=window.pageYOffset||document.documentElement.scrollTop,e.style.top="".concat(n,"px"),e.setAttribute("readonly",""),e.value=r;return t.container.appendChild(e),t=o()(e),s("copy"),e.remove(),t}var f=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body},r="";return"string"==typeof e?r=a(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?r=a(e.value,t):(r=o()(e),s("copy")),r};function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var l=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.action,r=void 0===t?"copy":t,n=e.container;t=e.target,e=e.text;if("copy"!==r&&"cut"!==r)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==t){if(!t||"object"!==u(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===r&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===r&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return e?f(e,{container:n}):t?"cut"===r?c(t):f(t,{container:n}):void 0};function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}
8function y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(t){var r=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var e,n=x(t);return e=r?(e=x(this).constructor,Reflect.construct(n,arguments,e)):n.apply(this,arguments),n=this,!e||"object"!==p(e)&&"function"!=typeof e?function(e){if(void 0!==e)return e;throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}(n):e}}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function b(e,t){if(e="data-clipboard-".concat(e),t.hasAttribute(e))return t.getAttribute(e)}var m=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&y(e,t)}(s,n());var e,t,r,o=d(s);function s(e,t){var r;return function(e){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}(this),(r=o.call(this)).resolveOptions(t),r.listenClick(e),r}return e=s,r=[{key:"copy",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(e,t)}},{key:"cut",value:function(e){return c(e)}},{key:"isSupported",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t=(e="string"==typeof e?[e]:e,!!document.queryCommandSupported);return e.forEach((function(e){t=t&&!!document.queryCommandSupported(e)})),t}}],(t=[{key:"resolveOptions",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===p(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=i()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,r=this.action(t)||"copy";e=l({action:r,container:this.container,target:this.target(t),text:this.text(t)});this.emit(e?"success":"error",{action:r,text:e,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return b("action",e)}},{key:"defaultTarget",value:function(e){if(e=b("target",e),e)return document.querySelector(e)}},{key:"defaultText",value:function(e){return b("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}])&&h(e.prototype,t),r&&h(e,r),s}()},828:function(e){var t;"undefined"==typeof Element||Element.prototype.matches||((t=Element.prototype).matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector),e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,r){var n=r(828);function i(e,t,r,i,o){var s=function(e,t,r,i){return function(r){r.delegateTarget=n(r.target,t),r.delegateTarget&&i.call(e,r)}}.apply(this,arguments);return e.addEventListener(r,s,o),{destroy:function(){e.removeEventListener(r,s,o)}}}e.exports=function(e,t,r,n,o){return"function"==typeof e.addEventListener?i.apply(null,arguments):"function"==typeof r?i.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return i(e,t,r,n,o)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var r=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===r||"[object HTMLCollection]"===r)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,r){var n=r(879),i=r(438);e.exports=function(e,t,r){if(!e&&!t&&!r)throw new Error("Missing required arguments");if(!n.string(t))throw new TypeError("Second argument must be a String");if(!n.fn(r))throw new TypeError("Third argument must be a Function");if(n.node(e))return f=t,u=r,(a=e).addEventListener(f,u),{destroy:function(){a.removeEventListener(f,u)}
8};if(n.nodeList(e))return o=e,s=t,c=r,Array.prototype.forEach.call(o,(function(e){e.addEventListener(s,c)})),{destroy:function(){Array.prototype.forEach.call(o,(function(e){e.removeEventListener(s,c)}))}};if(n.string(e))return i(document.body,e,t,r);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,s,c,a,f,u}},817:function(e){e.exports=function(e){var t,r="SELECT"===e.nodeName?(e.focus(),e.value):"INPUT"===e.nodeName||"TEXTAREA"===e.nodeName?((t=e.hasAttribute("readonly"))||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),t||e.removeAttribute("readonly"),e.value):(e.hasAttribute("contenteditable")&&e.focus(),r=window.getSelection(),(t=document.createRange()).selectNodeContents(e),r.removeAllRanges(),r.addRange(t),r.toString());return r}},279:function(e){function t(){}t.prototype={on:function(e,t,r){var n=this.e||(this.e={});return(n[e]||(n[e]=[])).push({fn:t,ctx:r}),this},once:function(e,t,r){var n=this;function i(){n.off(e,i),t.apply(r,arguments)}return i._=t,this.on(e,i,r)},emit:function(e){for(var t=[].slice.call(arguments,1),r=((this.e||(this.e={}))[e]||[]).slice(),n=0,i=r.length;n<i;n++)r[n].fn.apply(r[n].ctx,t);return this},off:function(e,t){var r=this.e||(this.e={}),n=r[e],i=[];if(n&&t)for(var o=0,s=n.length;o<s;o++)n[o].fn!==t&&n[o].fn._!==t&&i.push(n[o]);return i.length?r[e]=i:delete r[e],this}},e.exports=t,e.exports.TinyEmitter=t}},r={},e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){for(var n in r)e.o(r,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:r[n]})},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e(686).default;function e(n){if(r[n])return r[n].exports;var i=r[n]={exports:{}};return t[n](i,i.exports,e),i.exports}var t,r}))},16313:function(e,t,r){var n=r(48764)["Buffer"],i=function(){"use strict";function e(e,t){return null!=t&&e instanceof t}var t,r,i;try{t=Map}
8catch(l){t=function(){}}try{r=Set}catch(l){r=function(){}}try{i=Promise}catch(l){i=function(){}}function o(s,c,a,f,l){"object"===typeof c&&(a=c.depth,f=c.prototype,l=c.includeNonEnumerable,c=c.circular);var p=[],h=[],y="undefined"!=typeof n;function d(s,a){if(null===s)return null;if(0===a)return s;var x,b;if("object"!=typeof s)return s;if(e(s,t))x=new t;else if(e(s,r))x=new r;else if(e(s,i))x=new i((function(e,t){s.then((function(t){e(d(t,a-1))}),(function(e){t(d(e,a-1))}))}));else if(o.__isArray(s))x=[];else if(o.__isRegExp(s))x=new RegExp(s.source,u(s)),s.lastIndex&&(x.lastIndex=s.lastIndex);else if(o.__isDate(s))x=new Date(s.getTime());else{if(y&&n.isBuffer(s))return x=n.allocUnsafe?n.allocUnsafe(s.length):new n(s.length),s.copy(x),x;e(s,Error)?x=Object.create(s):"undefined"==typeof f?(b=Object.getPrototypeOf(s),x=Object.create(b)):(x=Object.create(f),b=f)}if(c){var m=p.indexOf(s);if(-1!=m)return h[m];p.push(s),h.push(x)}for(var g in e(s,t)&&s.forEach((function(e,t){var r=d(t,a-1),n=d(e,a-1);x.set(r,n)})),e(s,r)&&s.forEach((function(e){var t=d(e,a-1);x.add(t)})),s){var O;b&&(O=Object.getOwnPropertyDescriptor(b,g)),O&&null==O.set||(x[g]=d(s[g],a-1))}if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(s);for(g=0;g<w.length;g++){var v=w[g],k=Object.getOwnPropertyDescriptor(s,v);(!k||k.enumerable||l)&&(x[v]=d(s[v],a-1),k.enumerable||Object.defineProperty(x,v,{enumerable:!1}))}}if(l){var P=Object.getOwnPropertyNames(s);for(g=0;g<P.length;g++){var E=P[g];k=Object.getOwnPropertyDescriptor(s,E);k&&k.enumerable||(x[E]=d(s[E],a-1),Object.defineProperty(x,E,{enumerable:!1}))}}return x}return"undefined"==typeof c&&(c=!0),"undefined"==typeof a&&(a=1/0),d(s,a)}function s(e){return Object.prototype.toString.call(e)}function c(e){return"object"===typeof e&&"[object Date]"===s(e)}function a(e){return"object"===typeof e&&"[object Array]"===s(e)}function f(e){return"object"===typeof e&&"[object RegExp]"===s(e)}function u(e){var t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),t}return o.clonePrototype=function(e){if(null===e)return null;var t=function(){};return t.prototype=e,new t},o.__objToStr=s,o.__isDate=c,o.__isArray=a,o.__isRegExp=f,o.__getRegExpFlags=u,o}();e.exports&&(e.exports=i)},74247:function(e,t){var r,n,i;(function(o,s){n=[],r=s,i="function"===typeof r?r.apply(t,n):r,void 0===i||(e.exports=i)})(0,(function(){var e=/^v?(?:\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+)(\.(?:[x*]|\d+))?(?:-[\da-z\-]+(?:\.[\da-z\-]+)*)?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i;function t(e,t){return-1===e.indexOf(t)?e.length:e.indexOf(t)}function r(e){var r=e.replace(/^v/,"").replace(/\+.*$/,""),n=t(r,"-"),i=r.substring(0,n).split(".");return i.push(r.substring(n+1)),i}function n(e){return isNaN(Number(e))?e:Number(e)}function i(t){if("string"!==typeof t)throw new TypeError("Invalid argument expected string");if(!e.test(t))throw new Error("Invalid argument not valid semver 
8('"+t+"' received)")}function o(e,t){[e,t].forEach(i);for(var o=r(e),s=r(t),c=0;c<Math.max(o.length-1,s.length-1);c++){var a=parseInt(o[c]||0,10),f=parseInt(s[c]||0,10);if(a>f)return 1;if(f>a)return-1}var u=o[o.length-1],l=s[s.length-1];if(u&&l){var p=u.split(".").map(n),h=l.split(".").map(n);for(c=0;c<Math.max(p.length,h.length);c++){if(void 0===p[c]||"string"===typeof h[c]&&"number"===typeof p[c])return-1;if(void 0===h[c]||"string"===typeof p[c]&&"number"===typeof h[c])return 1;if(p[c]>h[c])return 1;if(h[c]>p[c])return-1}}else if(u||l)return u?-1:1;return 0}var s=[">",">=","=","<","<="],c={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]};function a(e){if("string"!==typeof e)throw new TypeError("Invalid operator type, expected string but got "+typeof e);if(-1===s.indexOf(e))throw new TypeError("Invalid operator, expected one of "+s.join("|"))}return o.validate=function(t){return"string"===typeof t&&e.test(t)},o.compare=function(e,t,r){a(r);var n=o(e,t);return c[r].indexOf(n)>-1},o}))},25108:function(e,t,r){var n=r(89539),i=r(69282);function o(){return(new Date).getTime()}var s,c=Array.prototype.slice,a={};s="undefined"!==typeof r.g&&r.g.console?r.g.console:"undefined"!==typeof window&&window.console?window.console:{};for(var f=[[y,"log"],[d,"info"],[x,"warn"],[b,"error"],[m,"time"],[g,"timeEnd"],[O,"trace"],[w,"dir"],[v,"assert"]],u=0;u<f.length;u++){var l=f[u],p=l[0],h=l[1];s[h]||(s[h]=p)}function y(){}function d(){s.log.apply(s,arguments)}function x(){s.log.apply(s,arguments)}function b(){s.warn.apply(s,arguments)}function m(e){a[e]=o()}function g(e){var t=a[e];if(!t)throw new Error("No such label: "+e);delete a[e];var r=o()-t;s.log(e+": "+r+"ms")}function O(){var e=new Error;e.name="Trace",e.message=n.format.apply(null,arguments),s.error(e.stack)}function w(e){s.log(n.inspect(e)+"\n")}function v(e){if(!e){var t=c.call(arguments,1);i.ok(!1,n.format.apply(null,t))}}e.exports=s}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.