mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 05:21:02 +00:00
auto-commit for 419f22ef-909a-4d7d-ab8a-e053a891ce1f
This commit is contained in:
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[],"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, \"VALUE_BYTES_LIMIT\", {\n enumerable: true,\n get: function () {\n return VALUE_BYTES_LIMIT;\n }\n });\n exports.byteCountOverLimit = byteCountOverLimit;\n const VALUE_BYTES_LIMIT = 2048;\n // note this probably could be JS-engine dependent\n // inspired by https://stackoverflow.com/a/39488643\n function byteCountOverLimit(value, limit) {\n let bytes = 0;\n for (let i = 0; i < value.length; i++) {\n const codePoint = value.charCodeAt(i);\n // Lone surrogates cannot be passed to encodeURI\n if (codePoint >= 0xd800 && codePoint < 0xe000) {\n if (codePoint < 0xdc00 && i + 1 < value.length) {\n const next = value.charCodeAt(i + 1);\n if (next >= 0xdc00 && next < 0xe000) {\n bytes += 4;\n if (bytes > limit) {\n return true;\n }\n i++;\n continue;\n }\n }\n }\n bytes += codePoint < 0x80 ? 1 : codePoint < 0x800 ? 2 : 3;\n if (bytes > limit) {\n return true;\n }\n }\n return bytes > limit;\n }\n});","lineCount":42,"map":[[7,2,1,0,"Object"],[7,8,1,0],[7,9,1,0,"defineProperty"],[7,23,1,0],[7,24,1,0,"exports"],[7,31,1,0],[8,4,1,0,"enumerable"],[8,14,1,0],[9,4,1,0,"get"],[9,7,1,0],[9,18,1,0,"get"],[9,19,1,0],[10,6,1,0],[10,13,1,0,"VALUE_BYTES_LIMIT"],[10,30,1,0],[11,4,1,0],[12,2,1,0],[13,2,4,0,"exports"],[13,9,4,0],[13,10,4,0,"byteCountOverLimit"],[13,28,4,0],[13,31,4,0,"byteCountOverLimit"],[13,49,4,0],[14,2,1,7],[14,8,1,13,"VALUE_BYTES_LIMIT"],[14,25,1,30],[14,28,1,33],[14,32,1,37],[15,2,2,0],[16,2,3,0],[17,2,4,7],[17,11,4,16,"byteCountOverLimit"],[17,29,4,34,"byteCountOverLimit"],[17,30,4,35,"value"],[17,35,4,40],[17,37,4,42,"limit"],[17,42,4,47],[17,44,4,49],[18,4,5,4],[18,8,5,8,"bytes"],[18,13,5,13],[18,16,5,16],[18,17,5,17],[19,4,6,4],[19,9,6,9],[19,13,6,13,"i"],[19,14,6,14],[19,17,6,17],[19,18,6,18],[19,20,6,20,"i"],[19,21,6,21],[19,24,6,24,"value"],[19,29,6,29],[19,30,6,30,"length"],[19,36,6,36],[19,38,6,38,"i"],[19,39,6,39],[19,41,6,41],[19,43,6,43],[20,6,7,8],[20,12,7,14,"codePoint"],[20,21,7,23],[20,24,7,26,"value"],[20,29,7,31],[20,30,7,32,"charCodeAt"],[20,40,7,42],[20,41,7,43,"i"],[20,42,7,44],[20,43,7,45],[21,6,8,8],[22,6,9,8],[22,10,9,12,"codePoint"],[22,19,9,21],[22,23,9,25],[22,29,9,31],[22,33,9,35,"codePoint"],[22,42,9,44],[22,45,9,47],[22,51,9,53],[22,53,9,55],[23,8,10,12],[23,12,10,16,"codePoint"],[23,21,10,25],[23,24,10,28],[23,30,10,34],[23,34,10,38,"i"],[23,35,10,39],[23,38,10,42],[23,39,10,43],[23,42,10,46,"value"],[23,47,10,51],[23,48,10,52,"length"],[23,54,10,58],[23,56,10,60],[24,10,11,16],[24,16,11,22,"next"],[24,20,11,26],[24,23,11,29,"value"],[24,28,11,34],[24,29,11,35,"charCodeAt"],[24,39,11,45],[24,40,11,46,"i"],[24,41,11,47],[24,44,11,50],[24,45,11,51],[24,46,11,52],[25,10,12,16],[25,14,12,20,"next"],[25,18,12,24],[25,22,12,28],[25,28,12,34],[25,32,12,38,"next"],[25,36,12,42],[25,39,12,45],[25,45,12,51],[25,47,12,53],[26,12,13,20,"bytes"],[26,17,13,25],[26,21,13,29],[26,22,13,30],[27,12,14,20],[27,16,14,24,"bytes"],[27,21,14,29],[27,24,14,32,"limit"],[27,29,14,37],[27,31,14,39],[28,14,15,24],[28,21,15,31],[28,25,15,35],[29,12,16,20],[30,12,17,20,"i"],[30,13,17,21],[30,15,17,23],[31,12,18,20],[32,10,19,16],[33,8,20,12],[34,6,21,8],[35,6,22,8,"bytes"],[35,11,22,13],[35,15,22,17,"codePoint"],[35,24,22,26],[35,27,22,29],[35,31,22,33],[35,34,22,36],[35,35,22,37],[35,38,22,40,"codePoint"],[35,47,22,49],[35,50,22,52],[35,55,22,57],[35,58,22,60],[35,59,22,61],[35,62,22,64],[35,63,22,65],[36,6,23,8],[36,10,23,12,"bytes"],[36,15,23,17],[36,18,23,20,"limit"],[36,23,23,25],[36,25,23,27],[37,8,24,12],[37,15,24,19],[37,19,24,23],[38,6,25,8],[39,4,26,4],[40,4,27,4],[40,11,27,11,"bytes"],[40,16,27,16],[40,19,27,19,"limit"],[40,24,27,24],[41,2,28,0],[42,0,28,1],[42,3]],"functionMap":{"names":["<global>","byteCountOverLimit"],"mappings":"AAA;OCG;CDwB"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"@polkadot/util-crypto","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":52,"index":52}}],"key":"i6n5nZx9jV9OWiqinE0v9Jgj+DA=","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.sign = sign;\n exports.signGeneral = signGeneral;\n var _polkadotUtilCrypto = require(_dependencyMap[0], \"@polkadot/util-crypto\");\n function sign(_registry, signerPair, u8a, options) {\n const encoded = u8a.length > 256 ? (0, _polkadotUtilCrypto.blake2AsU8a)(u8a) : u8a;\n return signerPair.sign(encoded, options);\n }\n function signGeneral(registry, u8a) {\n const encoded = registry.hash(u8a);\n return encoded;\n }\n});","lineCount":18,"map":[[7,2,2,0,"exports"],[7,9,2,0],[7,10,2,0,"sign"],[7,14,2,0],[7,17,2,0,"sign"],[7,21,2,0],[8,2,8,0,"exports"],[8,9,8,0],[8,10,8,0,"signGeneral"],[8,21,8,0],[8,24,8,0,"signGeneral"],[8,35,8,0],[9,2,1,0],[9,6,1,0,"_polkadotUtilCrypto"],[9,25,1,0],[9,28,1,0,"require"],[9,35,1,0],[9,36,1,0,"_dependencyMap"],[9,50,1,0],[10,2,2,7],[10,11,2,16,"sign"],[10,15,2,20,"sign"],[10,16,2,21,"_registry"],[10,25,2,30],[10,27,2,32,"signerPair"],[10,37,2,42],[10,39,2,44,"u8a"],[10,42,2,47],[10,44,2,49,"options"],[10,51,2,56],[10,53,2,58],[11,4,3,4],[11,10,3,10,"encoded"],[11,17,3,17],[11,20,3,20,"u8a"],[11,23,3,23],[11,24,3,24,"length"],[11,30,3,30],[11,33,3,33],[11,36,3,36],[11,39,4,10],[11,43,4,10,"blake2AsU8a"],[11,62,4,21],[11,63,4,21,"blake2AsU8a"],[11,74,4,21],[11,76,4,22,"u8a"],[11,79,4,25],[11,80,4,26],[11,83,5,10,"u8a"],[11,86,5,13],[12,4,6,4],[12,11,6,11,"signerPair"],[12,21,6,21],[12,22,6,22,"sign"],[12,26,6,26],[12,27,6,27,"encoded"],[12,34,6,34],[12,36,6,36,"options"],[12,43,6,43],[12,44,6,44],[13,2,7,0],[14,2,8,7],[14,11,8,16,"signGeneral"],[14,22,8,27,"signGeneral"],[14,23,8,28,"registry"],[14,31,8,36],[14,33,8,38,"u8a"],[14,36,8,41],[14,38,8,43],[15,4,9,4],[15,10,9,10,"encoded"],[15,17,9,17],[15,20,9,20,"registry"],[15,28,9,28],[15,29,9,29,"hash"],[15,33,9,33],[15,34,9,34,"u8a"],[15,37,9,37],[15,38,9,38],[16,4,10,4],[16,11,10,11,"encoded"],[16,18,10,18],[17,2,11,0],[18,0,11,1],[18,3]],"functionMap":{"names":["<global>","sign","signGeneral"],"mappings":"AAA;OCC;CDK;OEC;CFG"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"./mergeAll","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}}],"key":"h6r4nBPKFCPBbXzzz5l5pABP8iI=","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.concatAll = concatAll;\n var _mergeAll = require(_dependencyMap[0], \"./mergeAll\");\n function concatAll() {\n return (0, _mergeAll.mergeAll)(1);\n }\n});","lineCount":12,"map":[[7,2,2,0,"exports"],[7,9,2,0],[7,10,2,0,"concatAll"],[7,19,2,0],[7,22,2,0,"concatAll"],[7,31,2,0],[8,2,1,0],[8,6,1,0,"_mergeAll"],[8,15,1,0],[8,18,1,0,"require"],[8,25,1,0],[8,26,1,0,"_dependencyMap"],[8,40,1,0],[9,2,2,7],[9,11,2,16,"concatAll"],[9,20,2,25,"concatAll"],[9,21,2,25],[9,23,2,28],[10,4,3,4],[10,11,3,11],[10,15,3,11,"mergeAll"],[10,24,3,19],[10,25,3,19,"mergeAll"],[10,33,3,19],[10,35,3,20],[10,36,3,21],[10,37,3,22],[11,2,4,0],[12,0,4,1],[12,3]],"functionMap":{"names":["<global>","concatAll"],"mappings":"AAA;OCC;CDE"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
Reference in New Issue
Block a user