{"dependencies":[{"name":"@polkadot/x-bigint","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":19,"index":131},"end":{"line":4,"column":48,"index":160}}],"key":"vYT44QPz4/mwSlaWVHyJIDa5mP4=","exportNames":["*"],"imports":1}},{"name":"../u8a/toBigInt.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":22,"index":184},"end":{"line":5,"column":51,"index":213}}],"key":"XIfifKQfAR3QNcgGlmj++DCI3Tg=","exportNames":["*"],"imports":1}},{"name":"./toU8a.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":19,"index":234},"end":{"line":6,"column":40,"index":255}}],"key":"Tcj3fJY+iCFcEHg4eIK/gqKeizo=","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.hexToBigInt = hexToBigInt;\n const x_bigint_1 = require(_dependencyMap[0], \"@polkadot/x-bigint\");\n const toBigInt_js_1 = require(_dependencyMap[1], \"../u8a/toBigInt.js\");\n const toU8a_js_1 = require(_dependencyMap[2], \"./toU8a.js\");\n /**\n * @name hexToBigInt\n * @summary Creates a BigInt instance object from a hex string.\n */\n function hexToBigInt(value, {\n isLe = false,\n isNegative = false\n } = {}) {\n return !value || value === '0x' ? (0, x_bigint_1.BigInt)(0) : (0, toBigInt_js_1.u8aToBigInt)((0, toU8a_js_1.hexToU8a)(value), {\n isLe,\n isNegative\n });\n }\n});","lineCount":24,"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,"hexToBigInt"],[7,21,3,19],[7,24,3,22,"hexToBigInt"],[7,35,3,33],[8,2,4,0],[8,8,4,6,"x_bigint_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,"toBigInt_js_1"],[9,21,5,19],[9,24,5,22,"require"],[9,31,5,29],[9,32,5,29,"_dependencyMap"],[9,46,5,29],[9,71,5,50],[9,72,5,51],[10,2,6,0],[10,8,6,6,"toU8a_js_1"],[10,18,6,16],[10,21,6,19,"require"],[10,28,6,26],[10,29,6,26,"_dependencyMap"],[10,43,6,26],[10,60,6,39],[10,61,6,40],[11,2,7,0],[12,0,8,0],[13,0,9,0],[14,0,10,0],[15,2,11,0],[15,11,11,9,"hexToBigInt"],[15,22,11,20,"hexToBigInt"],[15,23,11,21,"value"],[15,28,11,26],[15,30,11,28],[16,4,11,30,"isLe"],[16,8,11,34],[16,11,11,37],[16,16,11,42],[17,4,11,44,"isNegative"],[17,14,11,54],[17,17,11,57],[18,2,11,63],[18,3,11,64],[18,6,11,67],[18,7,11,68],[18,8,11,69],[18,10,11,71],[19,4,12,4],[19,11,12,11],[19,12,12,12,"value"],[19,17,12,17],[19,21,12,21,"value"],[19,26,12,26],[19,31,12,31],[19,35,12,35],[19,38,13,10],[19,39,13,11],[19,40,13,12],[19,42,13,14,"x_bigint_1"],[19,52,13,24],[19,53,13,25,"BigInt"],[19,59,13,31],[19,61,13,33],[19,62,13,34],[19,63,13,35],[19,66,14,10],[19,67,14,11],[19,68,14,12],[19,70,14,14,"toBigInt_js_1"],[19,83,14,27],[19,84,14,28,"u8aToBigInt"],[19,95,14,39],[19,97,14,41],[19,98,14,42],[19,99,14,43],[19,101,14,45,"toU8a_js_1"],[19,111,14,55],[19,112,14,56,"hexToU8a"],[19,120,14,64],[19,122,14,66,"value"],[19,127,14,71],[19,128,14,72],[19,130,14,74],[20,6,14,76,"isLe"],[20,10,14,80],[21,6,14,82,"isNegative"],[22,4,14,93],[22,5,14,94],[22,6,14,95],[23,2,15,0],[24,0,15,1],[24,3]],"functionMap":{"names":["","hexToBigInt"],"mappings":"AAA;ACU;CDI"},"hasCjsExports":true},"type":"js/module"}]}