Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/4a/fa434ef4d72134b4827f318d8600efe264927d3f365872627801c76e9da04495b6d7c1
T
2025-11-08 10:46:19 +00:00

1 line
6.1 KiB
Plaintext

{"dependencies":[{"name":"@babel/runtime/helpers/asyncToGenerator","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"YisBBiy2Xm9DEVdFebZ2nbgAHBo=","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 function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n exports.createWasmFn = createWasmFn;\n var _babelRuntimeHelpersAsyncToGenerator = require(_dependencyMap[0], \"@babel/runtime/helpers/asyncToGenerator\");\n var _asyncToGenerator = _interopDefault(_babelRuntimeHelpersAsyncToGenerator);\n /**\n * @name createWasmFn\n * @description\n * Create a WASM (or ASM.js) creator interface based on the supplied information.\n *\n * It will attempt to create a WASM interface first and if this fails or is not available in\n * the environment, will fallback to attempting to create an ASM.js interface.\n */\n function createWasmFn(root, wasmBytes, asmFn) {\n return /*#__PURE__*/function () {\n var _ref = (0, _asyncToGenerator.default)(function* (wbg) {\n var result = {\n error: null,\n type: 'none',\n wasm: null\n };\n try {\n if (!(wasmBytes != null && wasmBytes.length)) {\n throw new Error('No WebAssembly provided for initialization');\n } else if (typeof WebAssembly !== 'object' || typeof WebAssembly.instantiate !== 'function') {\n throw new Error('WebAssembly is not available in your environment');\n }\n var source = yield WebAssembly.instantiate(wasmBytes, {\n wbg: wbg\n });\n result.wasm = source.instance.exports;\n result.type = 'wasm';\n } catch (error) {\n // if we have a valid supplied asm.js, return that\n if (typeof asmFn === 'function') {\n result.wasm = asmFn(wbg);\n result.type = 'asm';\n } else {\n result.error = `FATAL: Unable to initialize @polkadot/wasm-${root}:: ${error.message}`;\n console.error(result.error);\n }\n }\n return result;\n });\n return function (_x) {\n return _ref.apply(this, arguments);\n };\n }();\n }\n});","lineCount":59,"map":[[12,2,9,0,"exports"],[12,9,9,0],[12,10,9,0,"createWasmFn"],[12,22,9,0],[12,25,9,0,"createWasmFn"],[12,37,9,0],[13,2,40,1],[13,6,40,1,"_babelRuntimeHelpersAsyncToGenerator"],[13,42,40,1],[13,45,40,1,"require"],[13,52,40,1],[13,53,40,1,"_dependencyMap"],[13,67,40,1],[14,2,40,1],[14,6,40,1,"_asyncToGenerator"],[14,23,40,1],[14,26,40,1,"_interopDefault"],[14,41,40,1],[14,42,40,1,"_babelRuntimeHelpersAsyncToGenerator"],[14,78,40,1],[15,2,1,0],[16,0,2,0],[17,0,3,0],[18,0,4,0],[19,0,5,0],[20,0,6,0],[21,0,7,0],[22,0,8,0],[23,2,9,7],[23,11,9,16,"createWasmFn"],[23,23,9,28,"createWasmFn"],[23,24,9,29,"root"],[23,28,9,33],[23,30,9,35,"wasmBytes"],[23,39,9,44],[23,41,9,46,"asmFn"],[23,46,9,51],[23,48,9,53],[24,4,10,4],[25,6,10,4],[25,10,10,4,"_ref"],[25,14,10,4],[25,21,10,4,"_asyncToGenerator"],[25,38,10,4],[25,39,10,4,"default"],[25,46,10,4],[25,48,10,11],[25,59,10,18,"wbg"],[25,62,10,21],[25,64,10,26],[26,8,11,8],[26,12,11,14,"result"],[26,18,11,20],[26,21,11,23],[27,10,12,12,"error"],[27,15,12,17],[27,17,12,19],[27,21,12,23],[28,10,13,12,"type"],[28,14,13,16],[28,16,13,18],[28,22,13,24],[29,10,14,12,"wasm"],[29,14,14,16],[29,16,14,18],[30,8,15,8],[30,9,15,9],[31,8,16,8],[31,12,16,12],[32,10,17,12],[32,14,17,16],[32,16,17,17,"wasmBytes"],[32,25,17,26],[32,37,17,17,"wasmBytes"],[32,46,17,26],[32,47,17,28,"length"],[32,53,17,34],[32,56,17,36],[33,12,18,16],[33,18,18,22],[33,22,18,26,"Error"],[33,27,18,31],[33,28,18,32],[33,72,18,76],[33,73,18,77],[34,10,19,12],[34,11,19,13],[34,17,20,17],[34,21,20,21],[34,28,20,28,"WebAssembly"],[34,39,20,39],[34,44,20,44],[34,52,20,52],[34,56,20,56],[34,63,20,63,"WebAssembly"],[34,74,20,74],[34,75,20,75,"instantiate"],[34,86,20,86],[34,91,20,91],[34,101,20,101],[34,103,20,103],[35,12,21,16],[35,18,21,22],[35,22,21,26,"Error"],[35,27,21,31],[35,28,21,32],[35,78,21,82],[35,79,21,83],[36,10,22,12],[37,10,23,12],[37,14,23,18,"source"],[37,20,23,24],[37,29,23,33,"WebAssembly"],[37,40,23,44],[37,41,23,45,"instantiate"],[37,52,23,56],[37,53,23,57,"wasmBytes"],[37,62,23,66],[37,64,23,68],[38,12,23,70,"wbg"],[38,15,23,73],[38,17,23,70,"wbg"],[39,10,23,74],[39,11,23,75],[39,12,23,76],[40,10,24,12,"result"],[40,16,24,18],[40,17,24,19,"wasm"],[40,21,24,23],[40,24,24,26,"source"],[40,30,24,32],[40,31,24,33,"instance"],[40,39,24,41],[40,40,24,42,"exports"],[40,47,24,49],[41,10,25,12,"result"],[41,16,25,18],[41,17,25,19,"type"],[41,21,25,23],[41,24,25,26],[41,30,25,32],[42,8,26,8],[42,9,26,9],[42,10,27,8],[42,17,27,15,"error"],[42,22,27,20],[42,24,27,22],[43,10,28,12],[44,10,29,12],[44,14,29,16],[44,21,29,23,"asmFn"],[44,26,29,28],[44,31,29,33],[44,41,29,43],[44,43,29,45],[45,12,30,16,"result"],[45,18,30,22],[45,19,30,23,"wasm"],[45,23,30,27],[45,26,30,30,"asmFn"],[45,31,30,35],[45,32,30,36,"wbg"],[45,35,30,39],[45,36,30,40],[46,12,31,16,"result"],[46,18,31,22],[46,19,31,23,"type"],[46,23,31,27],[46,26,31,30],[46,31,31,35],[47,10,32,12],[47,11,32,13],[47,17,33,17],[48,12,34,16,"result"],[48,18,34,22],[48,19,34,23,"error"],[48,24,34,28],[48,27,34,31],[48,73,34,77,"root"],[48,77,34,81],[48,83,34,87,"error"],[48,88,34,92],[48,89,34,93,"message"],[48,96,34,100],[48,98,34,102],[49,12,35,16,"console"],[49,19,35,23],[49,20,35,24,"error"],[49,25,35,29],[49,26,35,30,"result"],[49,32,35,36],[49,33,35,37,"error"],[49,38,35,42],[49,39,35,43],[50,10,36,12],[51,8,37,8],[52,8,38,8],[52,15,38,15,"result"],[52,21,38,21],[53,6,39,4],[53,7,39,5],[54,6,39,5],[54,23,39,5,"_x"],[54,25,39,5],[55,8,39,5],[55,15,39,5,"_ref"],[55,19,39,5],[55,20,39,5,"apply"],[55,25,39,5],[55,32,39,5,"arguments"],[55,41,39,5],[56,6,39,5],[57,4,39,5],[58,2,40,0],[59,0,40,1],[59,3]],"functionMap":{"names":["<global>","createWasmFn","<anonymous>"],"mappings":"AAA;OCQ;WCC;KD6B;CDC"},"hasCjsExports":false},"type":"js/module"}]}