mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 10:01:02 +00:00
1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/classCallCheck","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"yg7e6laZwmpbIvId5jovq9ugXp8=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/createClass","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"Z6pzkVZ2fvxBLkFTgVVOy4UDj30=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/callSuper","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"378KbBHdmndC3iMXZ2Ix8oB3LeE=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/superPropGet","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"b4Lel0pEiTM8mvZZX/d05uR+OmU=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/inherits","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"y0uNg4LxF1CLscQChxzgo5dfjvA=","exportNames":["*"],"imports":1}},{"name":"@babel/runtime/helpers/slicedToArray","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"5y7e5+zC7teYEEC6niD9f5zII1M=","exportNames":["*"],"imports":1}},{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":15,"index":116},"end":{"line":4,"column":40,"index":141}}],"key":"u0mzEw2nilnHoUWtEdZl0JKHutA=","exportNames":["*"],"imports":1}},{"name":"../native/Raw.js","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":5,"column":17,"index":160},"end":{"line":5,"column":44,"index":187}}],"key":"JIo1/P9cZXJs4SdJYojwkHSyV1c=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n var _classCallCheck = require(_dependencyMap[0], \"@babel/runtime/helpers/classCallCheck\").default;\n var _createClass = require(_dependencyMap[1], \"@babel/runtime/helpers/createClass\").default;\n var _callSuper = require(_dependencyMap[2], \"@babel/runtime/helpers/callSuper\").default;\n var _superPropGet = require(_dependencyMap[3], \"@babel/runtime/helpers/superPropGet\").default;\n var _inherits = require(_dependencyMap[4], \"@babel/runtime/helpers/inherits\").default;\n var _slicedToArray = require(_dependencyMap[5], \"@babel/runtime/helpers/slicedToArray\").default;\n Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Bytes = void 0;\n var util_1 = require(_dependencyMap[6], \"@polkadot/util\");\n var Raw_js_1 = require(_dependencyMap[7], \"../native/Raw.js\");\n var MAX_LENGTH = 10 * 1024 * 1024;\n /** @internal */\n function decodeBytesU8a(value) {\n if (!value.length) {\n return [new Uint8Array(), 0];\n }\n // handle all other Uint8Array inputs, these do have a length prefix\n var _ref = (0, util_1.compactFromU8aLim)(value),\n _ref2 = _slicedToArray(_ref, 2),\n offset = _ref2[0],\n length = _ref2[1];\n var total = offset + length;\n if (length > MAX_LENGTH) {\n throw new Error(`Bytes length ${length.toString()} exceeds ${MAX_LENGTH}`);\n } else if (total > value.length) {\n throw new Error(`Bytes: required length less than remainder, expected at least ${total}, found ${value.length}`);\n }\n return [value.subarray(offset, total), total];\n }\n /**\n * @name Bytes\n * @description\n * A Bytes wrapper for Vec<u8>. The significant difference between this and a normal Uint8Array\n * is that this version allows for length-encoding. (i.e. it is a variable-item codec, the same\n * as what is found in [[Text]] and [[Vec]])\n */\n var Bytes = /*#__PURE__*/function (_Raw_js_1$Raw) {\n function Bytes(registry, value) {\n _classCallCheck(this, Bytes);\n var _ref3 = (0, util_1.isU8a)(value) && !(value instanceof Raw_js_1.Raw) ? decodeBytesU8a(value) : Array.isArray(value) || (0, util_1.isString)(value) ? [(0, util_1.u8aToU8a)(value), 0] : [value, 0],\n _ref4 = _slicedToArray(_ref3, 2),\n u8a = _ref4[0],\n decodedLength = _ref4[1];\n return _callSuper(this, Bytes, [registry, u8a, decodedLength]);\n }\n /**\n * @description The length of the value when encoded as a Uint8Array\n */\n _inherits(Bytes, _Raw_js_1$Raw);\n return _createClass(Bytes, [{\n key: \"encodedLength\",\n get: function () {\n return this.length + (0, util_1.compactToU8a)(this.length).length;\n }\n /**\n * @description Returns a breakdown of the hex encoding for this Codec\n */\n }, {\n key: \"inspect\",\n value: function inspect(isBare) {\n var clength = (0, util_1.compactToU8a)(this.length);\n return {\n outer: isBare ? [_superPropGet(Bytes, \"toU8a\", this, 3)([])] : this.length ? [clength, _superPropGet(Bytes, \"toU8a\", this, 3)([])] : [clength]\n };\n }\n /**\n * @description Returns the base runtime type name for this instance\n */\n }, {\n key: \"toRawType\",\n value: function toRawType() {\n return 'Bytes';\n }\n /**\n * @description Encodes the value as a Uint8Array as per the SCALE specifications\n * @param isBare true when the value has none of the type-specific prefixes (internal)\n */\n }, {\n key: \"toU8a\",\n value: function toU8a(isBare) {\n return isBare ? _superPropGet(Bytes, \"toU8a\", this, 3)([isBare]) : (0, util_1.compactAddLength)(this);\n }\n }]);\n }(Raw_js_1.Raw);\n exports.Bytes = Bytes;\n});","lineCount":91,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13],[4,6,1,13,"_classCallCheck"],[4,21,1,13],[4,24,1,13,"require"],[4,31,1,13],[4,32,1,13,"_dependencyMap"],[4,46,1,13],[4,92,1,13,"default"],[4,99,1,13],[5,2,1,13],[5,6,1,13,"_createClass"],[5,18,1,13],[5,21,1,13,"require"],[5,28,1,13],[5,29,1,13,"_dependencyMap"],[5,43,1,13],[5,86,1,13,"default"],[5,93,1,13],[6,2,1,13],[6,6,1,13,"_callSuper"],[6,16,1,13],[6,19,1,13,"require"],[6,26,1,13],[6,27,1,13,"_dependencyMap"],[6,41,1,13],[6,82,1,13,"default"],[6,89,1,13],[7,2,1,13],[7,6,1,13,"_superPropGet"],[7,19,1,13],[7,22,1,13,"require"],[7,29,1,13],[7,30,1,13,"_dependencyMap"],[7,44,1,13],[7,88,1,13,"default"],[7,95,1,13],[8,2,1,13],[8,6,1,13,"_inherits"],[8,15,1,13],[8,18,1,13,"require"],[8,25,1,13],[8,26,1,13,"_dependencyMap"],[8,40,1,13],[8,80,1,13,"default"],[8,87,1,13],[9,2,1,13],[9,6,1,13,"_slicedToArray"],[9,20,1,13],[9,23,1,13,"require"],[9,30,1,13],[9,31,1,13,"_dependencyMap"],[9,45,1,13],[9,90,1,13,"default"],[9,97,1,13],[10,2,2,0,"Object"],[10,8,2,6],[10,9,2,7,"defineProperty"],[10,23,2,21],[10,24,2,22,"exports"],[10,31,2,29],[10,33,2,31],[10,45,2,43],[10,47,2,45],[11,4,2,47,"value"],[11,9,2,52],[11,11,2,54],[12,2,2,59],[12,3,2,60],[12,4,2,61],[13,2,3,0,"exports"],[13,9,3,7],[13,10,3,8,"Bytes"],[13,15,3,13],[13,18,3,16],[13,23,3,21],[13,24,3,22],[14,2,4,0],[14,6,4,6,"util_1"],[14,12,4,12],[14,15,4,15,"require"],[14,22,4,22],[14,23,4,22,"_dependencyMap"],[14,37,4,22],[14,58,4,39],[14,59,4,40],[15,2,5,0],[15,6,5,6,"Raw_js_1"],[15,14,5,14],[15,17,5,17,"require"],[15,24,5,24],[15,25,5,24,"_dependencyMap"],[15,39,5,24],[15,62,5,43],[15,63,5,44],[16,2,6,0],[16,6,6,6,"MAX_LENGTH"],[16,16,6,16],[16,19,6,19],[16,21,6,21],[16,24,6,24],[16,28,6,28],[16,31,6,31],[16,35,6,35],[17,2,7,0],[18,2,8,0],[18,11,8,9,"decodeBytesU8a"],[18,25,8,23,"decodeBytesU8a"],[18,26,8,24,"value"],[18,31,8,29],[18,33,8,31],[19,4,9,4],[19,8,9,8],[19,9,9,9,"value"],[19,14,9,14],[19,15,9,15,"length"],[19,21,9,21],[19,23,9,23],[20,6,10,8],[20,13,10,15],[20,14,10,16],[20,18,10,20,"Uint8Array"],[20,28,10,30],[20,29,10,31],[20,30,10,32],[20,32,10,34],[20,33,10,35],[20,34,10,36],[21,4,11,4],[22,4,12,4],[23,4,13,4],[23,8,13,4,"_ref"],[23,12,13,4],[23,15,13,29],[23,16,13,30],[23,17,13,31],[23,19,13,33,"util_1"],[23,25,13,39],[23,26,13,40,"compactFromU8aLim"],[23,43,13,57],[23,45,13,59,"value"],[23,50,13,64],[23,51,13,65],[24,6,13,65,"_ref2"],[24,11,13,65],[24,14,13,65,"_slicedToArray"],[24,28,13,65],[24,29,13,65,"_ref"],[24,33,13,65],[25,6,13,11,"offset"],[25,12,13,17],[25,15,13,17,"_ref2"],[25,20,13,17],[26,6,13,19,"length"],[26,12,13,25],[26,15,13,25,"_ref2"],[26,20,13,25],[27,4,14,4],[27,8,14,10,"total"],[27,13,14,15],[27,16,14,18,"offset"],[27,22,14,24],[27,25,14,27,"length"],[27,31,14,33],[28,4,15,4],[28,8,15,8,"length"],[28,14,15,14],[28,17,15,17,"MAX_LENGTH"],[28,27,15,27],[28,29,15,29],[29,6,16,8],[29,12,16,14],[29,16,16,18,"Error"],[29,21,16,23],[29,22,16,24],[29,38,16,40,"length"],[29,44,16,46],[29,45,16,47,"toString"],[29,53,16,55],[29,54,16,56],[29,55,16,57],[29,67,16,69,"MAX_LENGTH"],[29,77,16,79],[29,79,16,81],[29,80,16,82],[30,4,17,4],[30,5,17,5],[30,11,18,9],[30,15,18,13,"total"],[30,20,18,18],[30,23,18,21,"value"],[30,28,18,26],[30,29,18,27,"length"],[30,35,18,33],[30,37,18,35],[31,6,19,8],[31,12,19,14],[31,16,19,18,"Error"],[31,21,19,23],[31,22,19,24],[31,87,19,89,"total"],[31,92,19,94],[31,103,19,105,"value"],[31,108,19,110],[31,109,19,111,"length"],[31,115,19,117],[31,117,19,119],[31,118,19,120],[32,4,20,4],[33,4,21,4],[33,11,21,11],[33,12,21,12,"value"],[33,17,21,17],[33,18,21,18,"subarray"],[33,26,21,26],[33,27,21,27,"offset"],[33,33,21,33],[33,35,21,35,"total"],[33,40,21,40],[33,41,21,41],[33,43,21,43,"total"],[33,48,21,48],[33,49,21,49],[34,2,22,0],[35,2,23,0],[36,0,24,0],[37,0,25,0],[38,0,26,0],[39,0,27,0],[40,0,28,0],[41,0,29,0],[42,2,23,0],[42,6,30,6,"Bytes"],[42,11,30,11],[42,37,30,11,"_Raw_js_1$Raw"],[42,50,30,11],[43,4,31,4],[43,13,31,4,"Bytes"],[43,19,31,16,"registry"],[43,27,31,24],[43,29,31,26,"value"],[43,34,31,31],[43,36,31,33],[44,6,31,33,"_classCallCheck"],[44,21,31,33],[44,28,31,33,"Bytes"],[44,33,31,33],[45,6,32,8],[45,10,32,8,"_ref3"],[45,15,32,8],[45,18,32,37],[45,19,32,38],[45,20,32,39],[45,22,32,41,"util_1"],[45,28,32,47],[45,29,32,48,"isU8a"],[45,34,32,53],[45,36,32,55,"value"],[45,41,32,60],[45,42,32,61],[45,46,32,65],[45,48,32,67,"value"],[45,53,32,72],[45,65,32,84,"Raw_js_1"],[45,73,32,92],[45,74,32,93,"Raw"],[45,77,32,96],[45,78,32,97],[45,81,33,14,"decodeBytesU8a"],[45,95,33,28],[45,96,33,29,"value"],[45,101,33,34],[45,102,33,35],[45,105,34,14,"Array"],[45,110,34,19],[45,111,34,20,"isArray"],[45,118,34,27],[45,119,34,28,"value"],[45,124,34,33],[45,125,34,34],[45,129,34,38],[45,130,34,39],[45,131,34,40],[45,133,34,42,"util_1"],[45,139,34,48],[45,140,34,49,"isString"],[45,148,34,57],[45,150,34,59,"value"],[45,155,34,64],[45,156,34,65],[45,159,35,18],[45,160,35,19],[45,161,35,20],[45,162,35,21],[45,164,35,23,"util_1"],[45,170,35,29],[45,171,35,30,"u8aToU8a"],[45,179,35,38],[45,181,35,40,"value"],[45,186,35,45],[45,187,35,46],[45,189,35,48],[45,190,35,49],[45,191,35,50],[45,194,36,18],[45,195,36,19,"value"],[45,200,36,24],[45,202,36,26],[45,203,36,27],[45,204,36,28],[46,8,36,28,"_ref4"],[46,13,36,28],[46,16,36,28,"_slicedToArray"],[46,30,36,28],[46,31,36,28,"_ref3"],[46,36,36,28],[47,8,32,15,"u8a"],[47,11,32,18],[47,14,32,18,"_ref4"],[47,19,32,18],[48,8,32,20,"decodedLength"],[48,21,32,33],[48,24,32,33,"_ref4"],[48,29,32,33],[49,6,36,29],[49,13,36,29,"_callSuper"],[49,23,36,29],[49,30,36,29,"Bytes"],[49,35,36,29],[49,38,37,14,"registry"],[49,46,37,22],[49,48,37,24,"u8a"],[49,51,37,27],[49,53,37,29,"decodedLength"],[49,66,37,42],[50,4,38,4],[51,4,39,4],[52,0,40,0],[53,0,41,0],[54,4,39,4,"_inherits"],[54,13,39,4],[54,14,39,4,"Bytes"],[54,19,39,4],[54,21,39,4,"_Raw_js_1$Raw"],[54,34,39,4],[55,4,39,4],[55,11,39,4,"_createClass"],[55,23,39,4],[55,24,39,4,"Bytes"],[55,29,39,4],[56,6,39,4,"key"],[56,9,39,4],[57,6,39,4,"get"],[57,9,39,4],[57,11,42,4],[57,20,42,4,"get"],[57,21,42,4],[57,23,42,24],[58,8,43,8],[58,15,43,15],[58,19,43,19],[58,20,43,20,"length"],[58,26,43,26],[58,29,43,29],[58,30,43,30],[58,31,43,31],[58,33,43,33,"util_1"],[58,39,43,39],[58,40,43,40,"compactToU8a"],[58,52,43,52],[58,54,43,54],[58,58,43,58],[58,59,43,59,"length"],[58,65,43,65],[58,66,43,66],[58,67,43,67,"length"],[58,73,43,73],[59,6,44,4],[60,6,45,4],[61,0,46,0],[62,0,47,0],[63,4,45,4],[64,6,45,4,"key"],[64,9,45,4],[65,6,45,4,"value"],[65,11,45,4],[65,13,48,4],[65,22,48,4,"inspect"],[65,29,48,11,"inspect"],[65,30,48,12,"isBare"],[65,36,48,18],[65,38,48,20],[66,8,49,8],[66,12,49,14,"clength"],[66,19,49,21],[66,22,49,24],[66,23,49,25],[66,24,49,26],[66,26,49,28,"util_1"],[66,32,49,34],[66,33,49,35,"compactToU8a"],[66,45,49,47],[66,47,49,49],[66,51,49,53],[66,52,49,54,"length"],[66,58,49,60],[66,59,49,61],[67,8,50,8],[67,15,50,15],[68,10,51,12,"outer"],[68,15,51,17],[68,17,51,19,"isBare"],[68,23,51,25],[68,26,52,18],[68,27,52,18,"_superPropGet"],[68,40,52,18],[68,41,52,18,"Bytes"],[68,46,52,18],[68,70,52,33],[68,73,53,18],[68,77,53,22],[68,78,53,23,"length"],[68,84,53,29],[68,87,54,22],[68,88,54,23,"clength"],[68,95,54,30],[68,97,54,30,"_superPropGet"],[68,110,54,30],[68,111,54,30,"Bytes"],[68,116,54,30],[68,140,54,46],[68,143,55,22],[68,144,55,23,"clength"],[68,151,55,30],[69,8,56,8],[69,9,56,9],[70,6,57,4],[71,6,58,4],[72,0,59,0],[73,0,60,0],[74,4,58,4],[75,6,58,4,"key"],[75,9,58,4],[76,6,58,4,"value"],[76,11,58,4],[76,13,61,4],[76,22,61,4,"toRawType"],[76,31,61,13,"toRawType"],[76,32,61,13],[76,34,61,16],[77,8,62,8],[77,15,62,15],[77,22,62,22],[78,6,63,4],[79,6,64,4],[80,0,65,0],[81,0,66,0],[82,0,67,0],[83,4,64,4],[84,6,64,4,"key"],[84,9,64,4],[85,6,64,4,"value"],[85,11,64,4],[85,13,68,4],[85,22,68,4,"toU8a"],[85,27,68,9,"toU8a"],[85,28,68,10,"isBare"],[85,34,68,16],[85,36,68,18],[86,8,69,8],[86,15,69,15,"isBare"],[86,21,69,21],[86,24,69,21,"_superPropGet"],[86,37,69,21],[86,38,69,21,"Bytes"],[86,43,69,21],[86,64,70,26,"isBare"],[86,70,70,32],[86,75,71,14],[86,76,71,15],[86,77,71,16],[86,79,71,18,"util_1"],[86,85,71,24],[86,86,71,25,"compactAddLength"],[86,102,71,41],[86,104,71,43],[86,108,71,47],[86,109,71,48],[87,6,72,4],[88,4,72,5],[89,2,72,5],[89,4,30,20,"Raw_js_1"],[89,12,30,28],[89,13,30,29,"Raw"],[89,16,30,32],[90,2,74,0,"exports"],[90,9,74,7],[90,10,74,8,"Bytes"],[90,15,74,13],[90,18,74,16,"Bytes"],[90,23,74,21],[91,0,74,22],[91,3]],"functionMap":{"names":["<global>","decodeBytesU8a","Bytes","constructor","get__encodedLength","inspect","toRawType","toU8a"],"mappings":"AAA;ACO;CDc;AEQ;ICC;KDO;IEI;KFE;IGI;KHS;III;KJE;IKK;KLI;CFC"},"hasCjsExports":true},"type":"js/module"}]} |