Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/ff/9bfac7d2aa128c0bfea2bed79b2b862dd695d6d49cfd23ddb088f6a53719fab29a2c75
T
2025-11-08 10:06:45 +00:00

1 line
3.5 KiB
Plaintext

{"dependencies":[{"name":"@babel/runtime/helpers/slicedToArray","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"5y7e5+zC7teYEEC6niD9f5zII1M=","exportNames":["*"],"imports":1}},{"name":"./fromU8a.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":21,"index":147},"end":{"line":4,"column":44,"index":170}}],"key":"lpUVNuaYPWUPfqKdGaLcE9Eo3ow=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n var _slicedToArray = require(_dependencyMap[0], \"@babel/runtime/helpers/slicedToArray\").default;\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.compactStripLength = compactStripLength;\n var fromU8a_js_1 = require(_dependencyMap[1], \"./fromU8a.js\");\n /**\n * @name compactStripLength\n * @description Removes the length prefix, returning both the total length (including the value + compact encoding) and the decoded value with the correct length\n * @example\n * <BR>\n *\n * ```javascript\n * import { compactStripLength } from '@polkadot/util';\n *\n * console.log(compactStripLength(new Uint8Array([2 << 2, 0xde, 0xad]))); // [2, Uint8Array[0xde, 0xad]]\n * ```\n */\n function compactStripLength(input) {\n var _ref = (0, fromU8a_js_1.compactFromU8a)(input),\n _ref2 = _slicedToArray(_ref, 2),\n offset = _ref2[0],\n length = _ref2[1];\n var total = offset + length.toNumber();\n return [total, input.subarray(offset, total)];\n }\n});","lineCount":30,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13],[4,6,1,13,"_slicedToArray"],[4,20,1,13],[4,23,1,13,"require"],[4,30,1,13],[4,31,1,13,"_dependencyMap"],[4,45,1,13],[4,90,1,13,"default"],[4,97,1,13],[5,2,2,0,"Object"],[5,8,2,6],[5,9,2,7,"defineProperty"],[5,23,2,21],[5,24,2,22,"exports"],[5,31,2,29],[5,33,2,31],[5,45,2,43],[5,47,2,45],[6,4,2,47,"value"],[6,9,2,52],[6,11,2,54],[7,2,2,59],[7,3,2,60],[7,4,2,61],[8,2,3,0,"exports"],[8,9,3,7],[8,10,3,8,"compactStripLength"],[8,28,3,26],[8,31,3,29,"compactStripLength"],[8,49,3,47],[9,2,4,0],[9,6,4,6,"fromU8a_js_1"],[9,18,4,18],[9,21,4,21,"require"],[9,28,4,28],[9,29,4,28,"_dependencyMap"],[9,43,4,28],[9,62,4,43],[9,63,4,44],[10,2,5,0],[11,0,6,0],[12,0,7,0],[13,0,8,0],[14,0,9,0],[15,0,10,0],[16,0,11,0],[17,0,12,0],[18,0,13,0],[19,0,14,0],[20,0,15,0],[21,0,16,0],[22,2,17,0],[22,11,17,9,"compactStripLength"],[22,29,17,27,"compactStripLength"],[22,30,17,28,"input"],[22,35,17,33],[22,37,17,35],[23,4,18,4],[23,8,18,4,"_ref"],[23,12,18,4],[23,15,18,29],[23,16,18,30],[23,17,18,31],[23,19,18,33,"fromU8a_js_1"],[23,31,18,45],[23,32,18,46,"compactFromU8a"],[23,46,18,60],[23,48,18,62,"input"],[23,53,18,67],[23,54,18,68],[24,6,18,68,"_ref2"],[24,11,18,68],[24,14,18,68,"_slicedToArray"],[24,28,18,68],[24,29,18,68,"_ref"],[24,33,18,68],[25,6,18,11,"offset"],[25,12,18,17],[25,15,18,17,"_ref2"],[25,20,18,17],[26,6,18,19,"length"],[26,12,18,25],[26,15,18,25,"_ref2"],[26,20,18,25],[27,4,19,4],[27,8,19,10,"total"],[27,13,19,15],[27,16,19,18,"offset"],[27,22,19,24],[27,25,19,27,"length"],[27,31,19,33],[27,32,19,34,"toNumber"],[27,40,19,42],[27,41,19,43],[27,42,19,44],[28,4,20,4],[28,11,20,11],[28,12,21,8,"total"],[28,17,21,13],[28,19,22,8,"input"],[28,24,22,13],[28,25,22,14,"subarray"],[28,33,22,22],[28,34,22,23,"offset"],[28,40,22,29],[28,42,22,31,"total"],[28,47,22,36],[28,48,22,37],[28,49,23,5],[29,2,24,0],[30,0,24,1],[30,3]],"functionMap":{"names":["<global>","compactStripLength"],"mappings":"AAA;ACgB;CDO"},"hasCjsExports":true},"type":"js/module"}]}