mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 14:31:02 +00:00
1 line
9.1 KiB
Plaintext
1 line
9.1 KiB
Plaintext
{"dependencies":[{"name":"@polkadot/util","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":49,"index":49}}],"key":"ISHU1ovvPMrCldqRjtd1JhW9dyo=","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 Object.defineProperty(exports, \"bool\", {\n enumerable: true,\n get: function () {\n return bool;\n }\n });\n var _polkadotUtil = require(_dependencyMap[0], \"@polkadot/util\");\n /**\n * @name bool\n * @description\n * Representation for a boolean value in the system. It extends the base JS `Boolean` class\n * @noInheritDoc\n */\n class bool extends Boolean {\n initialU8aLength = 1;\n constructor(registry, value = false) {\n super((0, _polkadotUtil.isU8a)(value) ? value[0] === 1 : value instanceof Boolean ? value.valueOf() : !!value);\n this.registry = registry;\n }\n /**\n * @description The length of the value when encoded as a Uint8Array\n */\n get encodedLength() {\n return 1 | 0;\n }\n /**\n * @description returns a hash of the contents\n */\n get hash() {\n return this.registry.hash(this.toU8a());\n }\n /**\n * @description Checks if the value is an empty value (true when it wraps false/default)\n */\n get isEmpty() {\n return this.isFalse;\n }\n /**\n * @description Checks if the value is an empty value (always false)\n */\n get isFalse() {\n return !this.isTrue;\n }\n /**\n * @description Checks if the value is an empty value (always false)\n */\n get isTrue() {\n return this.valueOf();\n }\n /**\n * @description Compares the value of the input to see if there is a match\n */\n eq(other) {\n return this.valueOf() === (other instanceof Boolean ? other.valueOf() : other);\n }\n /**\n * @description Returns a breakdown of the hex encoding for this Codec\n */\n inspect() {\n return {\n outer: [this.toU8a()]\n };\n }\n /**\n * @description Returns a hex string representation of the value\n */\n toHex() {\n return (0, _polkadotUtil.u8aToHex)(this.toU8a());\n }\n /**\n * @description Converts the Object to to a human-friendly JSON, with additional fields, expansion and formatting of information\n */\n toHuman() {\n return this.toJSON();\n }\n /**\n * @description Converts the Object to JSON, typically used for RPC transfers\n */\n toJSON() {\n return this.valueOf();\n }\n /**\n * @description Converts the value in a best-fit primitive form\n */\n toPrimitive() {\n return this.toJSON();\n }\n /**\n * @description Returns the base runtime type name for this instance\n */\n toRawType() {\n return 'bool';\n }\n /**\n * @description Returns the string representation of the value\n */\n toString() {\n return this.toJSON().toString();\n }\n /**\n * @description Encodes the value as a Uint8Array as per the SCALE specifications\n */\n toU8a(_isBare) {\n return new Uint8Array([this.valueOf() ? 1 : 0]);\n }\n }\n});","lineCount":113,"map":[[7,2,8,0,"Object"],[7,8,8,0],[7,9,8,0,"defineProperty"],[7,23,8,0],[7,24,8,0,"exports"],[7,31,8,0],[8,4,8,0,"enumerable"],[8,14,8,0],[9,4,8,0,"get"],[9,7,8,0],[9,18,8,0,"get"],[9,19,8,0],[10,6,8,0],[10,13,8,0,"bool"],[10,17,8,0],[11,4,8,0],[12,2,8,0],[13,2,1,0],[13,6,1,0,"_polkadotUtil"],[13,19,1,0],[13,22,1,0,"require"],[13,29,1,0],[13,30,1,0,"_dependencyMap"],[13,44,1,0],[14,2,2,0],[15,0,3,0],[16,0,4,0],[17,0,5,0],[18,0,6,0],[19,0,7,0],[20,2,8,7],[20,8,8,13,"bool"],[20,12,8,17],[20,21,8,26,"Boolean"],[20,28,8,33],[20,29,8,34],[21,4,11,4,"initialU8aLength"],[21,20,11,20],[21,23,11,23],[21,24,11,24],[22,4,13,4,"constructor"],[22,15,13,15,"constructor"],[22,16,13,16,"registry"],[22,24,13,24],[22,26,13,26,"value"],[22,31,13,31],[22,34,13,34],[22,39,13,39],[22,41,13,41],[23,6,14,8],[23,11,14,13],[23,12,14,14],[23,16,14,14,"isU8a"],[23,29,14,19],[23,30,14,19,"isU8a"],[23,35,14,19],[23,37,14,20,"value"],[23,42,14,25],[23,43,14,26],[23,46,15,14,"value"],[23,51,15,19],[23,52,15,20],[23,53,15,21],[23,54,15,22],[23,59,15,27],[23,60,15,28],[23,63,16,14,"value"],[23,68,16,19],[23,80,16,31,"Boolean"],[23,87,16,38],[23,90,17,18,"value"],[23,95,17,23],[23,96,17,24,"valueOf"],[23,103,17,31],[23,104,17,32],[23,105,17,33],[23,108,18,18],[23,109,18,19],[23,110,18,20,"value"],[23,115,18,25],[23,116,18,26],[24,6,19,8],[24,10,19,12],[24,11,19,13,"registry"],[24,19,19,21],[24,22,19,24,"registry"],[24,30,19,32],[25,4,20,4],[26,4,21,4],[27,0,22,0],[28,0,23,0],[29,4,24,4],[29,8,24,8,"encodedLength"],[29,21,24,21,"encodedLength"],[29,22,24,21],[29,24,24,24],[30,6,25,8],[30,13,25,15],[30,14,25,16],[30,17,25,19],[30,18,25,20],[31,4,26,4],[32,4,27,4],[33,0,28,0],[34,0,29,0],[35,4,30,4],[35,8,30,8,"hash"],[35,12,30,12,"hash"],[35,13,30,12],[35,15,30,15],[36,6,31,8],[36,13,31,15],[36,17,31,19],[36,18,31,20,"registry"],[36,26,31,28],[36,27,31,29,"hash"],[36,31,31,33],[36,32,31,34],[36,36,31,38],[36,37,31,39,"toU8a"],[36,42,31,44],[36,43,31,45],[36,44,31,46],[36,45,31,47],[37,4,32,4],[38,4,33,4],[39,0,34,0],[40,0,35,0],[41,4,36,4],[41,8,36,8,"isEmpty"],[41,15,36,15,"isEmpty"],[41,16,36,15],[41,18,36,18],[42,6,37,8],[42,13,37,15],[42,17,37,19],[42,18,37,20,"isFalse"],[42,25,37,27],[43,4,38,4],[44,4,39,4],[45,0,40,0],[46,0,41,0],[47,4,42,4],[47,8,42,8,"isFalse"],[47,15,42,15,"isFalse"],[47,16,42,15],[47,18,42,18],[48,6,43,8],[48,13,43,15],[48,14,43,16],[48,18,43,20],[48,19,43,21,"isTrue"],[48,25,43,27],[49,4,44,4],[50,4,45,4],[51,0,46,0],[52,0,47,0],[53,4,48,4],[53,8,48,8,"isTrue"],[53,14,48,14,"isTrue"],[53,15,48,14],[53,17,48,17],[54,6,49,8],[54,13,49,15],[54,17,49,19],[54,18,49,20,"valueOf"],[54,25,49,27],[54,26,49,28],[54,27,49,29],[55,4,50,4],[56,4,51,4],[57,0,52,0],[58,0,53,0],[59,4,54,4,"eq"],[59,6,54,6,"eq"],[59,7,54,7,"other"],[59,12,54,12],[59,14,54,14],[60,6,55,8],[60,13,55,15],[60,17,55,19],[60,18,55,20,"valueOf"],[60,25,55,27],[60,26,55,28],[60,27,55,29],[60,33,55,35,"other"],[60,38,55,40],[60,50,55,52,"Boolean"],[60,57,55,59],[60,60,56,14,"other"],[60,65,56,19],[60,66,56,20,"valueOf"],[60,73,56,27],[60,74,56,28],[60,75,56,29],[60,78,57,14,"other"],[60,83,57,19],[60,84,57,20],[61,4,58,4],[62,4,59,4],[63,0,60,0],[64,0,61,0],[65,4,62,4,"inspect"],[65,11,62,11,"inspect"],[65,12,62,11],[65,14,62,14],[66,6,63,8],[66,13,63,15],[67,8,64,12,"outer"],[67,13,64,17],[67,15,64,19],[67,16,64,20],[67,20,64,24],[67,21,64,25,"toU8a"],[67,26,64,30],[67,27,64,31],[67,28,64,32],[68,6,65,8],[68,7,65,9],[69,4,66,4],[70,4,67,4],[71,0,68,0],[72,0,69,0],[73,4,70,4,"toHex"],[73,9,70,9,"toHex"],[73,10,70,9],[73,12,70,12],[74,6,71,8],[74,13,71,15],[74,17,71,15,"u8aToHex"],[74,30,71,23],[74,31,71,23,"u8aToHex"],[74,39,71,23],[74,41,71,24],[74,45,71,28],[74,46,71,29,"toU8a"],[74,51,71,34],[74,52,71,35],[74,53,71,36],[74,54,71,37],[75,4,72,4],[76,4,73,4],[77,0,74,0],[78,0,75,0],[79,4,76,4,"toHuman"],[79,11,76,11,"toHuman"],[79,12,76,11],[79,14,76,14],[80,6,77,8],[80,13,77,15],[80,17,77,19],[80,18,77,20,"toJSON"],[80,24,77,26],[80,25,77,27],[80,26,77,28],[81,4,78,4],[82,4,79,4],[83,0,80,0],[84,0,81,0],[85,4,82,4,"toJSON"],[85,10,82,10,"toJSON"],[85,11,82,10],[85,13,82,13],[86,6,83,8],[86,13,83,15],[86,17,83,19],[86,18,83,20,"valueOf"],[86,25,83,27],[86,26,83,28],[86,27,83,29],[87,4,84,4],[88,4,85,4],[89,0,86,0],[90,0,87,0],[91,4,88,4,"toPrimitive"],[91,15,88,15,"toPrimitive"],[91,16,88,15],[91,18,88,18],[92,6,89,8],[92,13,89,15],[92,17,89,19],[92,18,89,20,"toJSON"],[92,24,89,26],[92,25,89,27],[92,26,89,28],[93,4,90,4],[94,4,91,4],[95,0,92,0],[96,0,93,0],[97,4,94,4,"toRawType"],[97,13,94,13,"toRawType"],[97,14,94,13],[97,16,94,16],[98,6,95,8],[98,13,95,15],[98,19,95,21],[99,4,96,4],[100,4,97,4],[101,0,98,0],[102,0,99,0],[103,4,100,4,"toString"],[103,12,100,12,"toString"],[103,13,100,12],[103,15,100,15],[104,6,101,8],[104,13,101,15],[104,17,101,19],[104,18,101,20,"toJSON"],[104,24,101,26],[104,25,101,27],[104,26,101,28],[104,27,101,29,"toString"],[104,35,101,37],[104,36,101,38],[104,37,101,39],[105,4,102,4],[106,4,103,4],[107,0,104,0],[108,0,105,0],[109,4,106,4,"toU8a"],[109,9,106,9,"toU8a"],[109,10,106,10,"_isBare"],[109,17,106,17],[109,19,106,19],[110,6,107,8],[110,13,107,15],[110,17,107,19,"Uint8Array"],[110,27,107,29],[110,28,107,30],[110,29,107,31],[110,33,107,35],[110,34,107,36,"valueOf"],[110,41,107,43],[110,42,107,44],[110,43,107,45],[110,46,107,48],[110,47,107,49],[110,50,107,52],[110,51,107,53],[110,52,107,54],[110,53,107,55],[111,4,108,4],[112,2,109,0],[113,0,109,1],[113,3]],"functionMap":{"names":["<global>","bool","bool#constructor","bool#get__encodedLength","bool#get__hash","bool#get__isEmpty","bool#get__isFalse","bool#get__isTrue","bool#eq","bool#inspect","bool#toHex","bool#toHuman","bool#toJSON","bool#toPrimitive","bool#toRawType","bool#toString","bool#toU8a"],"mappings":"AAA;OCO;ICK;KDO;IEI;KFE;IGI;KHE;III;KJE;IKI;KLE;IMI;KNE;IOI;KPI;IQI;KRI;ISI;KTE;IUI;KVE;IWI;KXE;IYI;KZE;IaI;KbE;IcI;KdE;IeI;KfE;CDC"},"hasCjsExports":false},"type":"js/module"}]} |