auto-commit for 419f22ef-909a-4d7d-ab8a-e053a891ce1f

This commit is contained in:
emergent-agent-e1
2025-10-24 02:46:57 +00:00
parent 41853ac979
commit c0604aafc1
1555 changed files with 1555 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.arrayFlatten = arrayFlatten;\n /**\n * @name arrayFlatten\n * @summary Merge T[][] into T[]\n * @description\n * Returns a new array with all arrays merged into one\n * @example\n * <BR>\n *\n * ```javascript\n * import { arrayFlatten } from '@polkadot/util';\n *\n * arrayFlatten([[1, 2], [3, 4], [5]]); // [1, 2, 3, 4, 5]\n * ```\n */\n function arrayFlatten(arrays) {\n const num = arrays.length;\n // shortcuts for the empty & single-entry case\n if (num === 0) {\n return [];\n } else if (num === 1) {\n return arrays[0];\n }\n // pre-allocate based on the combined size\n let size = 0;\n for (let i = 0; i < num; i++) {\n size += arrays[i].length;\n }\n const output = new Array(size);\n let i = -1;\n for (let j = 0; j < num; j++) {\n const a = arrays[j];\n // instead of pushing, we just set the entries\n for (let e = 0, count = a.length; e < count; e++) {\n output[++i] = a[e];\n }\n }\n return output;\n }\n});","lineCount":46,"map":[[7,2,15,0,"exports"],[7,9,15,0],[7,10,15,0,"arrayFlatten"],[7,22,15,0],[7,25,15,0,"arrayFlatten"],[7,37,15,0],[8,2,1,0],[9,0,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,2,15,7],[22,11,15,16,"arrayFlatten"],[22,23,15,28,"arrayFlatten"],[22,24,15,29,"arrays"],[22,30,15,35],[22,32,15,37],[23,4,16,4],[23,10,16,10,"num"],[23,13,16,13],[23,16,16,16,"arrays"],[23,22,16,22],[23,23,16,23,"length"],[23,29,16,29],[24,4,17,4],[25,4,18,4],[25,8,18,8,"num"],[25,11,18,11],[25,16,18,16],[25,17,18,17],[25,19,18,19],[26,6,19,8],[26,13,19,15],[26,15,19,17],[27,4,20,4],[27,5,20,5],[27,11,21,9],[27,15,21,13,"num"],[27,18,21,16],[27,23,21,21],[27,24,21,22],[27,26,21,24],[28,6,22,8],[28,13,22,15,"arrays"],[28,19,22,21],[28,20,22,22],[28,21,22,23],[28,22,22,24],[29,4,23,4],[30,4,24,4],[31,4,25,4],[31,8,25,8,"size"],[31,12,25,12],[31,15,25,15],[31,16,25,16],[32,4,26,4],[32,9,26,9],[32,13,26,13,"i"],[32,14,26,14],[32,17,26,17],[32,18,26,18],[32,20,26,20,"i"],[32,21,26,21],[32,24,26,24,"num"],[32,27,26,27],[32,29,26,29,"i"],[32,30,26,30],[32,32,26,32],[32,34,26,34],[33,6,27,8,"size"],[33,10,27,12],[33,14,27,16,"arrays"],[33,20,27,22],[33,21,27,23,"i"],[33,22,27,24],[33,23,27,25],[33,24,27,26,"length"],[33,30,27,32],[34,4,28,4],[35,4,29,4],[35,10,29,10,"output"],[35,16,29,16],[35,19,29,19],[35,23,29,23,"Array"],[35,28,29,28],[35,29,29,29,"size"],[35,33,29,33],[35,34,29,34],[36,4,30,4],[36,8,30,8,"i"],[36,9,30,9],[36,12,30,12],[36,13,30,13],[36,14,30,14],[37,4,31,4],[37,9,31,9],[37,13,31,13,"j"],[37,14,31,14],[37,17,31,17],[37,18,31,18],[37,20,31,20,"j"],[37,21,31,21],[37,24,31,24,"num"],[37,27,31,27],[37,29,31,29,"j"],[37,30,31,30],[37,32,31,32],[37,34,31,34],[38,6,32,8],[38,12,32,14,"a"],[38,13,32,15],[38,16,32,18,"arrays"],[38,22,32,24],[38,23,32,25,"j"],[38,24,32,26],[38,25,32,27],[39,6,33,8],[40,6,34,8],[40,11,34,13],[40,15,34,17,"e"],[40,16,34,18],[40,19,34,21],[40,20,34,22],[40,22,34,24,"count"],[40,27,34,29],[40,30,34,32,"a"],[40,31,34,33],[40,32,34,34,"length"],[40,38,34,40],[40,40,34,42,"e"],[40,41,34,43],[40,44,34,46,"count"],[40,49,34,51],[40,51,34,53,"e"],[40,52,34,54],[40,54,34,56],[40,56,34,58],[41,8,35,12,"output"],[41,14,35,18],[41,15,35,19],[41,17,35,21,"i"],[41,18,35,22],[41,19,35,23],[41,22,35,26,"a"],[41,23,35,27],[41,24,35,28,"e"],[41,25,35,29],[41,26,35,30],[42,6,36,8],[43,4,37,4],[44,4,38,4],[44,11,38,11,"output"],[44,17,38,17],[45,2,39,0],[46,0,39,1],[46,3]],"functionMap":{"names":["<global>","arrayFlatten"],"mappings":"AAA;OCc;CDwB"},"hasCjsExports":false},"type":"js/module"}]}
@@ -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.isString = isString;\n /**\n * @name isString\n * @summary Tests for a string.\n * @description\n * Checks to see if the input value is a JavaScript string.\n * @example\n * <BR>\n *\n * ```javascript\n * import { isString } from '@polkadot/util';\n *\n * console.log('isString', isString('test')); // => true\n * ```\n */\n function isString(value) {\n return typeof value === 'string' || value instanceof String;\n }\n});","lineCount":25,"map":[[7,2,15,0,"exports"],[7,9,15,0],[7,10,15,0,"isString"],[7,18,15,0],[7,21,15,0,"isString"],[7,29,15,0],[8,2,1,0],[9,0,2,0],[10,0,3,0],[11,0,4,0],[12,0,5,0],[13,0,6,0],[14,0,7,0],[15,0,8,0],[16,0,9,0],[17,0,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,0,14,0],[22,2,15,7],[22,11,15,16,"isString"],[22,19,15,24,"isString"],[22,20,15,25,"value"],[22,25,15,30],[22,27,15,32],[23,4,16,4],[23,11,16,11],[23,18,16,18,"value"],[23,23,16,23],[23,28,16,28],[23,36,16,36],[23,40,16,40,"value"],[23,45,16,45],[23,57,16,57,"String"],[23,63,16,63],[24,2,17,0],[25,0,17,1],[25,3]],"functionMap":{"names":["<global>","isString"],"mappings":"AAA;OCc;CDE"},"hasCjsExports":false},"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
File diff suppressed because one or more lines are too long