auto-commit for 3a02b3dd-cebb-4882-bfc5-dbb637e71a6d

This commit is contained in:
emergent-agent-e1
2025-11-08 10:27:44 +00:00
parent 0a8c0df2e1
commit 7ae3a6d0ec
1906 changed files with 1906 additions and 0 deletions
@@ -0,0 +1 @@
{"dependencies":[],"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 exports.stringShorten = stringShorten;\n /**\n * @name stringShorten\n * @summary Returns a string with maximum length\n * @description\n * Checks the string against the `prefixLength`, if longer than double this, shortens it by placing `..` in the middle of it\n * @example\n * <BR>\n *\n * ```javascript\n * import { stringShorten } from '@polkadot/util';\n *\n * stringShorten('1234567890', 2); // => 12..90\n * ```\n */\n function stringShorten(value, prefixLength = 6) {\n return value.length <= 2 + 2 * prefixLength ? value.toString() : `${value.substring(0, prefixLength)}…${value.slice(-prefixLength)}`;\n }\n});","lineCount":25,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"stringShorten"],[7,23,3,21],[7,26,3,24,"stringShorten"],[7,39,3,37],[8,2,4,0],[9,0,5,0],[10,0,6,0],[11,0,7,0],[12,0,8,0],[13,0,9,0],[14,0,10,0],[15,0,11,0],[16,0,12,0],[17,0,13,0],[18,0,14,0],[19,0,15,0],[20,0,16,0],[21,0,17,0],[22,2,18,0],[22,11,18,9,"stringShorten"],[22,24,18,22,"stringShorten"],[22,25,18,23,"value"],[22,30,18,28],[22,32,18,30,"prefixLength"],[22,44,18,42],[22,47,18,45],[22,48,18,46],[22,50,18,48],[23,4,19,4],[23,11,19,11,"value"],[23,16,19,16],[23,17,19,17,"length"],[23,23,19,23],[23,27,19,27],[23,28,19,28],[23,31,19,31],[23,32,19,32],[23,35,19,35,"prefixLength"],[23,47,19,47],[23,50,20,10,"value"],[23,55,20,15],[23,56,20,16,"toString"],[23,64,20,24],[23,65,20,25],[23,66,20,26],[23,69,21,10],[23,72,21,13,"value"],[23,77,21,18],[23,78,21,19,"substring"],[23,87,21,28],[23,88,21,29],[23,89,21,30],[23,91,21,32,"prefixLength"],[23,103,21,44],[23,104,21,45],[23,108,21,49,"value"],[23,113,21,54],[23,114,21,55,"slice"],[23,119,21,60],[23,120,21,61],[23,121,21,62,"prefixLength"],[23,133,21,74],[23,134,21,75],[23,136,21,77],[24,2,22,0],[25,0,22,1],[25,3]],"functionMap":{"names":["<global>","stringShorten"],"mappings":"AAA;ACiB;CDI"},"hasCjsExports":true},"type":"js/module"}]}
@@ -0,0 +1 @@
{"dependencies":[{"name":"../base/Tuple.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":19,"index":120},"end":{"line":4,"column":46,"index":147}}],"key":"03KXCoYEDcEpTsCzLir222RvYnA=","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 exports.Range = void 0;\n const Tuple_js_1 = require(_dependencyMap[0], \"../base/Tuple.js\");\n /**\n * @name Range\n * @description\n * Rust `Range<T>` representation\n */\n class Range extends Tuple_js_1.Tuple {\n #rangeName;\n constructor(registry, Type, value, {\n rangeName = 'Range'\n } = {}) {\n super(registry, [Type, Type], value);\n this.#rangeName = rangeName;\n }\n static with(Type) {\n return class extends Range {\n constructor(registry, value) {\n super(registry, Type, value);\n }\n };\n }\n /**\n * @description Returns the starting range value\n */\n get start() {\n return this[0];\n }\n /**\n * @description Returns the ending range value\n */\n get end() {\n return this[1];\n }\n /**\n * @description Returns the base runtime type name for this instance\n */\n toRawType() {\n return `${this.#rangeName}<${this.start.toRawType()}>`;\n }\n }\n exports.Range = Range;\n});","lineCount":49,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"Range"],[7,15,3,13],[7,18,3,16],[7,23,3,21],[7,24,3,22],[8,2,4,0],[8,8,4,6,"Tuple_js_1"],[8,18,4,16],[8,21,4,19,"require"],[8,28,4,26],[8,29,4,26,"_dependencyMap"],[8,43,4,26],[8,66,4,45],[8,67,4,46],[9,2,5,0],[10,0,6,0],[11,0,7,0],[12,0,8,0],[13,0,9,0],[14,2,10,0],[14,8,10,6,"Range"],[14,13,10,11],[14,22,10,20,"Tuple_js_1"],[14,32,10,30],[14,33,10,31,"Tuple"],[14,38,10,36],[14,39,10,37],[15,4,11,4],[15,5,11,5,"rangeName"],[15,14,11,14],[16,4,12,4,"constructor"],[16,15,12,15,"constructor"],[16,16,12,16,"registry"],[16,24,12,24],[16,26,12,26,"Type"],[16,30,12,30],[16,32,12,32,"value"],[16,37,12,37],[16,39,12,39],[17,6,12,41,"rangeName"],[17,15,12,50],[17,18,12,53],[18,4,12,61],[18,5,12,62],[18,8,12,65],[18,9,12,66],[18,10,12,67],[18,12,12,69],[19,6,13,8],[19,11,13,13],[19,12,13,14,"registry"],[19,20,13,22],[19,22,13,24],[19,23,13,25,"Type"],[19,27,13,29],[19,29,13,31,"Type"],[19,33,13,35],[19,34,13,36],[19,36,13,38,"value"],[19,41,13,43],[19,42,13,44],[20,6,14,8],[20,10,14,12],[20,11,14,13],[20,12,14,14,"rangeName"],[20,21,14,23],[20,24,14,26,"rangeName"],[20,33,14,35],[21,4,15,4],[22,4,16,4],[22,11,16,11,"with"],[22,15,16,15,"with"],[22,16,16,16,"Type"],[22,20,16,20],[22,22,16,22],[23,6,17,8],[23,13,17,15],[23,27,17,29,"Range"],[23,32,17,34],[23,33,17,35],[24,8,18,12,"constructor"],[24,19,18,23,"constructor"],[24,20,18,24,"registry"],[24,28,18,32],[24,30,18,34,"value"],[24,35,18,39],[24,37,18,41],[25,10,19,16],[25,15,19,21],[25,16,19,22,"registry"],[25,24,19,30],[25,26,19,32,"Type"],[25,30,19,36],[25,32,19,38,"value"],[25,37,19,43],[25,38,19,44],[26,8,20,12],[27,6,21,8],[27,7,21,9],[28,4,22,4],[29,4,23,4],[30,0,24,0],[31,0,25,0],[32,4,26,4],[32,8,26,8,"start"],[32,13,26,13,"start"],[32,14,26,13],[32,16,26,16],[33,6,27,8],[33,13,27,15],[33,17,27,19],[33,18,27,20],[33,19,27,21],[33,20,27,22],[34,4,28,4],[35,4,29,4],[36,0,30,0],[37,0,31,0],[38,4,32,4],[38,8,32,8,"end"],[38,11,32,11,"end"],[38,12,32,11],[38,14,32,14],[39,6,33,8],[39,13,33,15],[39,17,33,19],[39,18,33,20],[39,19,33,21],[39,20,33,22],[40,4,34,4],[41,4,35,4],[42,0,36,0],[43,0,37,0],[44,4,38,4,"toRawType"],[44,13,38,13,"toRawType"],[44,14,38,13],[44,16,38,16],[45,6,39,8],[45,13,39,15],[45,16,39,18],[45,20,39,22],[45,21,39,23],[45,22,39,24,"rangeName"],[45,31,39,33],[45,35,39,37],[45,39,39,41],[45,40,39,42,"start"],[45,45,39,47],[45,46,39,48,"toRawType"],[45,55,39,57],[45,56,39,58],[45,57,39,59],[45,60,39,62],[46,4,40,4],[47,2,41,0],[48,2,42,0,"exports"],[48,9,42,7],[48,10,42,8,"Range"],[48,15,42,13],[48,18,42,16,"Range"],[48,23,42,21],[49,0,42,22],[49,3]],"functionMap":{"names":["<global>","Range","constructor","_with","<anonymous>","get__start","get__end","toRawType"],"mappings":"AAA;ACS;ICE;KDG;IEC;eCC;YFC;aEE;SDC;KFC;III;KJE;IKI;KLE;IMI;KNE;CDC"},"hasCjsExports":true},"type":"js/module"}]}
@@ -0,0 +1 @@
{"dependencies":[{"name":"./switchMap","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":18,"index":123},"end":{"line":4,"column":40,"index":145}}],"key":"D7DlYsrO9PhMJc71E5UOGeyw/P0=","exportNames":["*"],"imports":1}},{"name":"../util/identity","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":17,"index":164},"end":{"line":5,"column":44,"index":191}}],"key":"7G8t17UjdLz+1vgZc9hnV806JUk=","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 exports.switchAll = void 0;\n var switchMap_1 = require(_dependencyMap[0], \"./switchMap\");\n var identity_1 = require(_dependencyMap[1], \"../util/identity\");\n function switchAll() {\n return switchMap_1.switchMap(identity_1.identity);\n }\n exports.switchAll = switchAll;\n});","lineCount":14,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"switchAll"],[7,19,3,17],[7,22,3,20],[7,27,3,25],[7,28,3,26],[8,2,4,0],[8,6,4,4,"switchMap_1"],[8,17,4,15],[8,20,4,18,"require"],[8,27,4,25],[8,28,4,25,"_dependencyMap"],[8,42,4,25],[8,60,4,39],[8,61,4,40],[9,2,5,0],[9,6,5,4,"identity_1"],[9,16,5,14],[9,19,5,17,"require"],[9,26,5,24],[9,27,5,24,"_dependencyMap"],[9,41,5,24],[9,64,5,43],[9,65,5,44],[10,2,6,0],[10,11,6,9,"switchAll"],[10,20,6,18,"switchAll"],[10,21,6,18],[10,23,6,21],[11,4,7,4],[11,11,7,11,"switchMap_1"],[11,22,7,22],[11,23,7,23,"switchMap"],[11,32,7,32],[11,33,7,33,"identity_1"],[11,43,7,43],[11,44,7,44,"identity"],[11,52,7,52],[11,53,7,53],[12,2,8,0],[13,2,9,0,"exports"],[13,9,9,7],[13,10,9,8,"switchAll"],[13,19,9,17],[13,22,9,20,"switchAll"],[13,31,9,29],[14,0,9,30],[14,3]],"functionMap":{"names":["<global>","switchAll"],"mappings":"AAA;ACK;CDE"},"hasCjsExports":true},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
{"dependencies":[{"name":"../blake2/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":19,"index":121},"end":{"line":4,"column":48,"index":150}}],"key":"YR0jBqQR+TA3PQ9TFXUfji1WaVo=","exportNames":["*"],"imports":1}},{"name":"../keccak/index.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":19,"index":171},"end":{"line":5,"column":48,"index":200}}],"key":"9nQlM848DtQehnP9/NVIHJWoLxU=","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 exports.hasher = hasher;\n const index_js_1 = require(_dependencyMap[0], \"../blake2/index.js\");\n const index_js_2 = require(_dependencyMap[1], \"../keccak/index.js\");\n function hasher(hashType, data, onlyJs) {\n return hashType === 'keccak' ? (0, index_js_2.keccakAsU8a)(data, undefined, onlyJs) : (0, index_js_1.blake2AsU8a)(data, undefined, undefined, onlyJs);\n }\n});","lineCount":13,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"hasher"],[7,16,3,14],[7,19,3,17,"hasher"],[7,25,3,23],[8,2,4,0],[8,8,4,6,"index_js_1"],[8,18,4,16],[8,21,4,19,"require"],[8,28,4,26],[8,29,4,26,"_dependencyMap"],[8,43,4,26],[8,68,4,47],[8,69,4,48],[9,2,5,0],[9,8,5,6,"index_js_2"],[9,18,5,16],[9,21,5,19,"require"],[9,28,5,26],[9,29,5,26,"_dependencyMap"],[9,43,5,26],[9,68,5,47],[9,69,5,48],[10,2,6,0],[10,11,6,9,"hasher"],[10,17,6,15,"hasher"],[10,18,6,16,"hashType"],[10,26,6,24],[10,28,6,26,"data"],[10,32,6,30],[10,34,6,32,"onlyJs"],[10,40,6,38],[10,42,6,40],[11,4,7,4],[11,11,7,11,"hashType"],[11,19,7,19],[11,24,7,24],[11,32,7,32],[11,35,8,10],[11,36,8,11],[11,37,8,12],[11,39,8,14,"index_js_2"],[11,49,8,24],[11,50,8,25,"keccakAsU8a"],[11,61,8,36],[11,63,8,38,"data"],[11,67,8,42],[11,69,8,44,"undefined"],[11,78,8,53],[11,80,8,55,"onlyJs"],[11,86,8,61],[11,87,8,62],[11,90,9,10],[11,91,9,11],[11,92,9,12],[11,94,9,14,"index_js_1"],[11,104,9,24],[11,105,9,25,"blake2AsU8a"],[11,116,9,36],[11,118,9,38,"data"],[11,122,9,42],[11,124,9,44,"undefined"],[11,133,9,53],[11,135,9,55,"undefined"],[11,144,9,64],[11,146,9,66,"onlyJs"],[11,152,9,72],[11,153,9,73],[12,2,10,0],[13,0,10,1],[13,3]],"functionMap":{"names":["<global>","hasher"],"mappings":"AAA;ACK;CDI"},"hasCjsExports":true},"type":"js/module"}]}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long