mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 05:21:02 +00:00
1 line
6.3 KiB
Plaintext
1 line
6.3 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/x-bigint","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":19,"index":127},"end":{"line":4,"column":48,"index":156}}],"key":"vYT44QPz4/mwSlaWVHyJIDa5mP4=","exportNames":["*"],"imports":1}},{"name":"../hex/toBigInt.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":22,"index":180},"end":{"line":5,"column":51,"index":209}}],"key":"6KYFqsGbMKO+dRNP7uptw54xZGM=","exportNames":["*"],"imports":1}},{"name":"../is/bn.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":6,"column":16,"index":227},"end":{"line":6,"column":38,"index":249}}],"key":"aU8L1KiHIi3XzNRlhvwY1IvPSPM=","exportNames":["*"],"imports":1}},{"name":"../is/hex.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":7,"column":17,"index":268},"end":{"line":7,"column":40,"index":291}}],"key":"r5O71s8renrGaZ4UUjfk0oVB7TM=","exportNames":["*"],"imports":1}},{"name":"../is/toBigInt.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":8,"column":22,"index":315},"end":{"line":8,"column":50,"index":343}}],"key":"5mzLa+Og2pFR4fXFCZSKBK364ME=","exportNames":["*"],"imports":1}},{"name":"../is/toBn.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":9,"column":18,"index":363},"end":{"line":9,"column":42,"index":387}}],"key":"BOF+rMFgZVw92WRImMGqT5NdRj8=","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.nToBigInt = nToBigInt;\n const x_bigint_1 = require(_dependencyMap[0], \"@polkadot/x-bigint\");\n const toBigInt_js_1 = require(_dependencyMap[1], \"../hex/toBigInt.js\");\n const bn_js_1 = require(_dependencyMap[2], \"../is/bn.js\");\n const hex_js_1 = require(_dependencyMap[3], \"../is/hex.js\");\n const toBigInt_js_2 = require(_dependencyMap[4], \"../is/toBigInt.js\");\n const toBn_js_1 = require(_dependencyMap[5], \"../is/toBn.js\");\n /**\n * @name nToBigInt\n * @summary Creates a bigInt value from a BN, bigint, string (base 10 or hex) or number input.\n */\n function nToBigInt(value) {\n return typeof value === 'bigint' ? value : !value ? (0, x_bigint_1.BigInt)(0) : (0, hex_js_1.isHex)(value) ? (0, toBigInt_js_1.hexToBigInt)(value.toString()) : (0, bn_js_1.isBn)(value) ? (0, x_bigint_1.BigInt)(value.toString()) : (0, toBigInt_js_2.isToBigInt)(value) ? value.toBigInt() : (0, toBn_js_1.isToBn)(value) ? (0, x_bigint_1.BigInt)(value.toBn().toString()) : (0, x_bigint_1.BigInt)(value);\n }\n});","lineCount":21,"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,"nToBigInt"],[7,19,3,17],[7,22,3,20,"nToBigInt"],[7,31,3,29],[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,"bn_js_1"],[10,15,6,13],[10,18,6,16,"require"],[10,25,6,23],[10,26,6,23,"_dependencyMap"],[10,40,6,23],[10,58,6,37],[10,59,6,38],[11,2,7,0],[11,8,7,6,"hex_js_1"],[11,16,7,14],[11,19,7,17,"require"],[11,26,7,24],[11,27,7,24,"_dependencyMap"],[11,41,7,24],[11,60,7,39],[11,61,7,40],[12,2,8,0],[12,8,8,6,"toBigInt_js_2"],[12,21,8,19],[12,24,8,22,"require"],[12,31,8,29],[12,32,8,29,"_dependencyMap"],[12,46,8,29],[12,70,8,49],[12,71,8,50],[13,2,9,0],[13,8,9,6,"toBn_js_1"],[13,17,9,15],[13,20,9,18,"require"],[13,27,9,25],[13,28,9,25,"_dependencyMap"],[13,42,9,25],[13,62,9,41],[13,63,9,42],[14,2,10,0],[15,0,11,0],[16,0,12,0],[17,0,13,0],[18,2,14,0],[18,11,14,9,"nToBigInt"],[18,20,14,18,"nToBigInt"],[18,21,14,19,"value"],[18,26,14,24],[18,28,14,26],[19,4,15,4],[19,11,15,11],[19,18,15,18,"value"],[19,23,15,23],[19,28,15,28],[19,36,15,36],[19,39,16,10,"value"],[19,44,16,15],[19,47,17,10],[19,48,17,11,"value"],[19,53,17,16],[19,56,18,14],[19,57,18,15],[19,58,18,16],[19,60,18,18,"x_bigint_1"],[19,70,18,28],[19,71,18,29,"BigInt"],[19,77,18,35],[19,79,18,37],[19,80,18,38],[19,81,18,39],[19,84,19,14],[19,85,19,15],[19,86,19,16],[19,88,19,18,"hex_js_1"],[19,96,19,26],[19,97,19,27,"isHex"],[19,102,19,32],[19,104,19,34,"value"],[19,109,19,39],[19,110,19,40],[19,113,20,18],[19,114,20,19],[19,115,20,20],[19,117,20,22,"toBigInt_js_1"],[19,130,20,35],[19,131,20,36,"hexToBigInt"],[19,142,20,47],[19,144,20,49,"value"],[19,149,20,54],[19,150,20,55,"toString"],[19,158,20,63],[19,159,20,64],[19,160,20,65],[19,161,20,66],[19,164,21,18],[19,165,21,19],[19,166,21,20],[19,168,21,22,"bn_js_1"],[19,175,21,29],[19,176,21,30,"isBn"],[19,180,21,34],[19,182,21,36,"value"],[19,187,21,41],[19,188,21,42],[19,191,22,22],[19,192,22,23],[19,193,22,24],[19,195,22,26,"x_bigint_1"],[19,205,22,36],[19,206,22,37,"BigInt"],[19,212,22,43],[19,214,22,45,"value"],[19,219,22,50],[19,220,22,51,"toString"],[19,228,22,59],[19,229,22,60],[19,230,22,61],[19,231,22,62],[19,234,23,22],[19,235,23,23],[19,236,23,24],[19,238,23,26,"toBigInt_js_2"],[19,251,23,39],[19,252,23,40,"isToBigInt"],[19,262,23,50],[19,264,23,52,"value"],[19,269,23,57],[19,270,23,58],[19,273,24,26,"value"],[19,278,24,31],[19,279,24,32,"toBigInt"],[19,287,24,40],[19,288,24,41],[19,289,24,42],[19,292,25,26],[19,293,25,27],[19,294,25,28],[19,296,25,30,"toBn_js_1"],[19,305,25,39],[19,306,25,40,"isToBn"],[19,312,25,46],[19,314,25,48,"value"],[19,319,25,53],[19,320,25,54],[19,323,26,30],[19,324,26,31],[19,325,26,32],[19,327,26,34,"x_bigint_1"],[19,337,26,44],[19,338,26,45,"BigInt"],[19,344,26,51],[19,346,26,53,"value"],[19,351,26,58],[19,352,26,59,"toBn"],[19,356,26,63],[19,357,26,64],[19,358,26,65],[19,359,26,66,"toString"],[19,367,26,74],[19,368,26,75],[19,369,26,76],[19,370,26,77],[19,373,27,30],[19,374,27,31],[19,375,27,32],[19,377,27,34,"x_bigint_1"],[19,387,27,44],[19,388,27,45,"BigInt"],[19,394,27,51],[19,396,27,53,"value"],[19,401,27,58],[19,402,27,59],[20,2,28,0],[21,0,28,1],[21,3]],"functionMap":{"names":["<global>","nToBigInt"],"mappings":"AAA;ACa;CDc"},"hasCjsExports":true},"type":"js/module"}]} |