mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 07:41:01 +00:00
1 line
5.1 KiB
Plaintext
1 line
5.1 KiB
Plaintext
{"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 exports.typeToConstructor = typeToConstructor;\n exports.typesToConstructors = typesToConstructors;\n exports.mapToTypeMap = mapToTypeMap;\n /**\n * @internal\n * From a type string or class, return the associated type class\n */\n function typeToConstructor(registry, type) {\n return typeof type === 'function' ? type : registry.createClassUnsafe(type);\n }\n /**\n * @internal\n * Takes an input array of types and returns the associated classes for it\n */\n function typesToConstructors(registry, types) {\n const count = types.length;\n const result = new Array(count);\n for (let i = 0; i < count; i++) {\n result[i] = typeToConstructor(registry, types[i]);\n }\n return result;\n }\n /**\n * @internal\n * Takes an input map of the form `{ [string]: string | CodecClass }` and returns a map of `{ [string]: CodecClass }`\n */\n function mapToTypeMap(registry, input) {\n const entries = Object.entries(input);\n const count = entries.length;\n const output = [new Array(count), new Array(count)];\n for (let i = 0; i < count; i++) {\n output[1][i] = entries[i][0];\n output[0][i] = typeToConstructor(registry, entries[i][1]);\n }\n return output;\n }\n});","lineCount":43,"map":[[7,2,5,0,"exports"],[7,9,5,0],[7,10,5,0,"typeToConstructor"],[7,27,5,0],[7,30,5,0,"typeToConstructor"],[7,47,5,0],[8,2,14,0,"exports"],[8,9,14,0],[8,10,14,0,"typesToConstructors"],[8,29,14,0],[8,32,14,0,"typesToConstructors"],[8,51,14,0],[9,2,26,0,"exports"],[9,9,26,0],[9,10,26,0,"mapToTypeMap"],[9,22,26,0],[9,25,26,0,"mapToTypeMap"],[9,37,26,0],[10,2,1,0],[11,0,2,0],[12,0,3,0],[13,0,4,0],[14,2,5,7],[14,11,5,16,"typeToConstructor"],[14,28,5,33,"typeToConstructor"],[14,29,5,34,"registry"],[14,37,5,42],[14,39,5,44,"type"],[14,43,5,48],[14,45,5,50],[15,4,6,4],[15,11,6,11],[15,18,6,18,"type"],[15,22,6,22],[15,27,6,27],[15,37,6,37],[15,40,7,10,"type"],[15,44,7,14],[15,47,8,10,"registry"],[15,55,8,18],[15,56,8,19,"createClassUnsafe"],[15,73,8,36],[15,74,8,37,"type"],[15,78,8,41],[15,79,8,42],[16,2,9,0],[17,2,10,0],[18,0,11,0],[19,0,12,0],[20,0,13,0],[21,2,14,7],[21,11,14,16,"typesToConstructors"],[21,30,14,35,"typesToConstructors"],[21,31,14,36,"registry"],[21,39,14,44],[21,41,14,46,"types"],[21,46,14,51],[21,48,14,53],[22,4,15,4],[22,10,15,10,"count"],[22,15,15,15],[22,18,15,18,"types"],[22,23,15,23],[22,24,15,24,"length"],[22,30,15,30],[23,4,16,4],[23,10,16,10,"result"],[23,16,16,16],[23,19,16,19],[23,23,16,23,"Array"],[23,28,16,28],[23,29,16,29,"count"],[23,34,16,34],[23,35,16,35],[24,4,17,4],[24,9,17,9],[24,13,17,13,"i"],[24,14,17,14],[24,17,17,17],[24,18,17,18],[24,20,17,20,"i"],[24,21,17,21],[24,24,17,24,"count"],[24,29,17,29],[24,31,17,31,"i"],[24,32,17,32],[24,34,17,34],[24,36,17,36],[25,6,18,8,"result"],[25,12,18,14],[25,13,18,15,"i"],[25,14,18,16],[25,15,18,17],[25,18,18,20,"typeToConstructor"],[25,35,18,37],[25,36,18,38,"registry"],[25,44,18,46],[25,46,18,48,"types"],[25,51,18,53],[25,52,18,54,"i"],[25,53,18,55],[25,54,18,56],[25,55,18,57],[26,4,19,4],[27,4,20,4],[27,11,20,11,"result"],[27,17,20,17],[28,2,21,0],[29,2,22,0],[30,0,23,0],[31,0,24,0],[32,0,25,0],[33,2,26,7],[33,11,26,16,"mapToTypeMap"],[33,23,26,28,"mapToTypeMap"],[33,24,26,29,"registry"],[33,32,26,37],[33,34,26,39,"input"],[33,39,26,44],[33,41,26,46],[34,4,27,4],[34,10,27,10,"entries"],[34,17,27,17],[34,20,27,20,"Object"],[34,26,27,26],[34,27,27,27,"entries"],[34,34,27,34],[34,35,27,35,"input"],[34,40,27,40],[34,41,27,41],[35,4,28,4],[35,10,28,10,"count"],[35,15,28,15],[35,18,28,18,"entries"],[35,25,28,25],[35,26,28,26,"length"],[35,32,28,32],[36,4,29,4],[36,10,29,10,"output"],[36,16,29,16],[36,19,29,19],[36,20,29,20],[36,24,29,24,"Array"],[36,29,29,29],[36,30,29,30,"count"],[36,35,29,35],[36,36,29,36],[36,38,29,38],[36,42,29,42,"Array"],[36,47,29,47],[36,48,29,48,"count"],[36,53,29,53],[36,54,29,54],[36,55,29,55],[37,4,30,4],[37,9,30,9],[37,13,30,13,"i"],[37,14,30,14],[37,17,30,17],[37,18,30,18],[37,20,30,20,"i"],[37,21,30,21],[37,24,30,24,"count"],[37,29,30,29],[37,31,30,31,"i"],[37,32,30,32],[37,34,30,34],[37,36,30,36],[38,6,31,8,"output"],[38,12,31,14],[38,13,31,15],[38,14,31,16],[38,15,31,17],[38,16,31,18,"i"],[38,17,31,19],[38,18,31,20],[38,21,31,23,"entries"],[38,28,31,30],[38,29,31,31,"i"],[38,30,31,32],[38,31,31,33],[38,32,31,34],[38,33,31,35],[38,34,31,36],[39,6,32,8,"output"],[39,12,32,14],[39,13,32,15],[39,14,32,16],[39,15,32,17],[39,16,32,18,"i"],[39,17,32,19],[39,18,32,20],[39,21,32,23,"typeToConstructor"],[39,38,32,40],[39,39,32,41,"registry"],[39,47,32,49],[39,49,32,51,"entries"],[39,56,32,58],[39,57,32,59,"i"],[39,58,32,60],[39,59,32,61],[39,60,32,62],[39,61,32,63],[39,62,32,64],[39,63,32,65],[40,4,33,4],[41,4,34,4],[41,11,34,11,"output"],[41,17,34,17],[42,2,35,0],[43,0,35,1],[43,3]],"functionMap":{"names":["<global>","typeToConstructor","typesToConstructors","mapToTypeMap"],"mappings":"AAA;OCI;CDI;OEK;CFO;OGK;CHS"},"hasCjsExports":false},"type":"js/module"}]} |