Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/ae/3f1996568b42de18f22d528ddb4bbacb99a86ac7b125cf008cdeca6b894b8e8a4410e8
T
2025-10-24 02:46:57 +00:00

1 line
2.7 KiB
Plaintext

{"dependencies":[{"name":"@polkadot/x-global","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":45,"index":45}}],"key":"PYu8VlTe0834YhVn6dAxSOA534w=","exportNames":["*"],"imports":1}},{"name":"../has.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":2,"column":0,"index":46},"end":{"line":2,"column":38,"index":84}}],"key":"J/sPmHzvXUOJACTO6wjg8r25hT4=","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.u8aToBuffer = u8aToBuffer;\n var _polkadotXGlobal = require(_dependencyMap[0], \"@polkadot/x-global\");\n var _hasJs = require(_dependencyMap[1], \"../has.js\");\n /**\n * @name u8aToBuffer\n * @summary Creates a Buffer object from a hex string.\n * @description\n * `null` inputs returns an empty `Buffer` result. `UInt8Array` input values return the actual bytes value converted to a `Buffer`. Anything that is not a `UInt8Array` throws an error.\n * @example\n * <BR>\n *\n * ```javascript\n * import { u8aToBuffer } from '@polkadot/util';\n *\n * console.log('Buffer', u8aToBuffer(new Uint8Array([1, 2, 3])));\n * ```\n */\n function u8aToBuffer(value) {\n return _hasJs.hasBuffer ? _polkadotXGlobal.xglobal.Buffer.from(value || []) : new Uint8Array(value || []);\n }\n});","lineCount":27,"map":[[7,2,17,0,"exports"],[7,9,17,0],[7,10,17,0,"u8aToBuffer"],[7,21,17,0],[7,24,17,0,"u8aToBuffer"],[7,35,17,0],[8,2,1,0],[8,6,1,0,"_polkadotXGlobal"],[8,22,1,0],[8,25,1,0,"require"],[8,32,1,0],[8,33,1,0,"_dependencyMap"],[8,47,1,0],[9,2,2,0],[9,6,2,0,"_hasJs"],[9,12,2,0],[9,15,2,0,"require"],[9,22,2,0],[9,23,2,0,"_dependencyMap"],[9,37,2,0],[10,2,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,0,15,0],[23,0,16,0],[24,2,17,7],[24,11,17,16,"u8aToBuffer"],[24,22,17,27,"u8aToBuffer"],[24,23,17,28,"value"],[24,28,17,33],[24,30,17,35],[25,4,18,4],[25,11,18,11,"hasBuffer"],[25,17,18,20],[25,18,18,20,"hasBuffer"],[25,27,18,20],[25,30,19,10,"xglobal"],[25,46,19,17],[25,47,19,17,"xglobal"],[25,54,19,17],[25,55,19,18,"Buffer"],[25,61,19,24],[25,62,19,25,"from"],[25,66,19,29],[25,67,19,30,"value"],[25,72,19,35],[25,76,19,39],[25,78,19,41],[25,79,19,42],[25,82,20,10],[25,86,20,14,"Uint8Array"],[25,96,20,24],[25,97,20,25,"value"],[25,102,20,30],[25,106,20,34],[25,108,20,36],[25,109,20,37],[26,2,21,0],[27,0,21,1],[27,3]],"functionMap":{"names":["<global>","u8aToBuffer"],"mappings":"AAA;OCgB;CDI"},"hasCjsExports":false},"type":"js/module"}]}