Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/0d/6999dc695c53cb68f5cf4be7f7166f3da9861abdac57507aa87d201fd01d2e75185085
T
2025-10-24 02:48:32 +00:00

1 line
5.4 KiB
Plaintext

{"dependencies":[{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}}],"key":"3bOyH77e/8Wc8K55bqHxvmXdM0A=","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.u8aConcat = u8aConcat;\n exports.u8aConcatStrict = u8aConcatStrict;\n var _toU8aJs = require(_dependencyMap[0], \"./toU8a.js\");\n /**\n * @name u8aConcat\n * @summary Creates a concatenated Uint8Array from the inputs.\n * @description\n * Concatenates the input arrays into a single `UInt8Array`.\n * @example\n * <BR>\n *\n * ```javascript\n * import { { u8aConcat } from '@polkadot/util';\n *\n * u8aConcat(\n * new Uint8Array([1, 2, 3]),\n * new Uint8Array([4, 5, 6])\n * ); // [1, 2, 3, 4, 5, 6]\n * ```\n */\n function u8aConcat(...list) {\n const count = list.length;\n const u8as = new Array(count);\n let length = 0;\n for (let i = 0; i < count; i++) {\n u8as[i] = (0, _toU8aJs.u8aToU8a)(list[i]);\n length += u8as[i].length;\n }\n return u8aConcatStrict(u8as, length);\n }\n /**\n * @name u8aConcatStrict\n * @description A strict version of [[u8aConcat]], accepting only Uint8Array inputs\n */\n function u8aConcatStrict(u8as, length = 0) {\n const count = u8as.length;\n let offset = 0;\n if (!length) {\n for (let i = 0; i < count; i++) {\n length += u8as[i].length;\n }\n }\n const result = new Uint8Array(length);\n for (let i = 0; i < count; i++) {\n result.set(u8as[i], offset);\n offset += u8as[i].length;\n }\n return result;\n }\n});","lineCount":56,"map":[[7,2,19,0,"exports"],[7,9,19,0],[7,10,19,0,"u8aConcat"],[7,19,19,0],[7,22,19,0,"u8aConcat"],[7,31,19,0],[8,2,33,0,"exports"],[8,9,33,0],[8,10,33,0,"u8aConcatStrict"],[8,25,33,0],[8,28,33,0,"u8aConcatStrict"],[8,43,33,0],[9,2,1,0],[9,6,1,0,"_toU8aJs"],[9,14,1,0],[9,17,1,0,"require"],[9,24,1,0],[9,25,1,0,"_dependencyMap"],[9,39,1,0],[10,2,2,0],[11,0,3,0],[12,0,4,0],[13,0,5,0],[14,0,6,0],[15,0,7,0],[16,0,8,0],[17,0,9,0],[18,0,10,0],[19,0,11,0],[20,0,12,0],[21,0,13,0],[22,0,14,0],[23,0,15,0],[24,0,16,0],[25,0,17,0],[26,0,18,0],[27,2,19,7],[27,11,19,16,"u8aConcat"],[27,20,19,25,"u8aConcat"],[27,21,19,26],[27,24,19,29,"list"],[27,28,19,33],[27,30,19,35],[28,4,20,4],[28,10,20,10,"count"],[28,15,20,15],[28,18,20,18,"list"],[28,22,20,22],[28,23,20,23,"length"],[28,29,20,29],[29,4,21,4],[29,10,21,10,"u8as"],[29,14,21,14],[29,17,21,17],[29,21,21,21,"Array"],[29,26,21,26],[29,27,21,27,"count"],[29,32,21,32],[29,33,21,33],[30,4,22,4],[30,8,22,8,"length"],[30,14,22,14],[30,17,22,17],[30,18,22,18],[31,4,23,4],[31,9,23,9],[31,13,23,13,"i"],[31,14,23,14],[31,17,23,17],[31,18,23,18],[31,20,23,20,"i"],[31,21,23,21],[31,24,23,24,"count"],[31,29,23,29],[31,31,23,31,"i"],[31,32,23,32],[31,34,23,34],[31,36,23,36],[32,6,24,8,"u8as"],[32,10,24,12],[32,11,24,13,"i"],[32,12,24,14],[32,13,24,15],[32,16,24,18],[32,20,24,18,"u8aToU8a"],[32,28,24,26],[32,29,24,26,"u8aToU8a"],[32,37,24,26],[32,39,24,27,"list"],[32,43,24,31],[32,44,24,32,"i"],[32,45,24,33],[32,46,24,34],[32,47,24,35],[33,6,25,8,"length"],[33,12,25,14],[33,16,25,18,"u8as"],[33,20,25,22],[33,21,25,23,"i"],[33,22,25,24],[33,23,25,25],[33,24,25,26,"length"],[33,30,25,32],[34,4,26,4],[35,4,27,4],[35,11,27,11,"u8aConcatStrict"],[35,26,27,26],[35,27,27,27,"u8as"],[35,31,27,31],[35,33,27,33,"length"],[35,39,27,39],[35,40,27,40],[36,2,28,0],[37,2,29,0],[38,0,30,0],[39,0,31,0],[40,0,32,0],[41,2,33,7],[41,11,33,16,"u8aConcatStrict"],[41,26,33,31,"u8aConcatStrict"],[41,27,33,32,"u8as"],[41,31,33,36],[41,33,33,38,"length"],[41,39,33,44],[41,42,33,47],[41,43,33,48],[41,45,33,50],[42,4,34,4],[42,10,34,10,"count"],[42,15,34,15],[42,18,34,18,"u8as"],[42,22,34,22],[42,23,34,23,"length"],[42,29,34,29],[43,4,35,4],[43,8,35,8,"offset"],[43,14,35,14],[43,17,35,17],[43,18,35,18],[44,4,36,4],[44,8,36,8],[44,9,36,9,"length"],[44,15,36,15],[44,17,36,17],[45,6,37,8],[45,11,37,13],[45,15,37,17,"i"],[45,16,37,18],[45,19,37,21],[45,20,37,22],[45,22,37,24,"i"],[45,23,37,25],[45,26,37,28,"count"],[45,31,37,33],[45,33,37,35,"i"],[45,34,37,36],[45,36,37,38],[45,38,37,40],[46,8,38,12,"length"],[46,14,38,18],[46,18,38,22,"u8as"],[46,22,38,26],[46,23,38,27,"i"],[46,24,38,28],[46,25,38,29],[46,26,38,30,"length"],[46,32,38,36],[47,6,39,8],[48,4,40,4],[49,4,41,4],[49,10,41,10,"result"],[49,16,41,16],[49,19,41,19],[49,23,41,23,"Uint8Array"],[49,33,41,33],[49,34,41,34,"length"],[49,40,41,40],[49,41,41,41],[50,4,42,4],[50,9,42,9],[50,13,42,13,"i"],[50,14,42,14],[50,17,42,17],[50,18,42,18],[50,20,42,20,"i"],[50,21,42,21],[50,24,42,24,"count"],[50,29,42,29],[50,31,42,31,"i"],[50,32,42,32],[50,34,42,34],[50,36,42,36],[51,6,43,8,"result"],[51,12,43,14],[51,13,43,15,"set"],[51,16,43,18],[51,17,43,19,"u8as"],[51,21,43,23],[51,22,43,24,"i"],[51,23,43,25],[51,24,43,26],[51,26,43,28,"offset"],[51,32,43,34],[51,33,43,35],[52,6,44,8,"offset"],[52,12,44,14],[52,16,44,18,"u8as"],[52,20,44,22],[52,21,44,23,"i"],[52,22,44,24],[52,23,44,25],[52,24,44,26,"length"],[52,30,44,32],[53,4,45,4],[54,4,46,4],[54,11,46,11,"result"],[54,17,46,17],[55,2,47,0],[56,0,47,1],[56,3]],"functionMap":{"names":["<global>","u8aConcat","u8aConcatStrict"],"mappings":"AAA;OCkB;CDS;OEK;CFc"},"hasCjsExports":false},"type":"js/module"}]}