mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 18:01:02 +00:00
1 line
4.3 KiB
Plaintext
1 line
4.3 KiB
Plaintext
{"dependencies":[{"name":"../config","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":4,"column":15,"index":146},"end":{"line":4,"column":35,"index":166}}],"key":"ZCEQutz0TJPAIQVhAEtbqc1Jeaw=","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.captureError = exports.errorContext = void 0;\n var config_1 = require(_dependencyMap[0], \"../config\");\n var context = null;\n function errorContext(cb) {\n if (config_1.config.useDeprecatedSynchronousErrorHandling) {\n var isRoot = !context;\n if (isRoot) {\n context = {\n errorThrown: false,\n error: null\n };\n }\n cb();\n if (isRoot) {\n var _a = context,\n errorThrown = _a.errorThrown,\n error = _a.error;\n context = null;\n if (errorThrown) {\n throw error;\n }\n }\n } else {\n cb();\n }\n }\n exports.errorContext = errorContext;\n function captureError(err) {\n if (config_1.config.useDeprecatedSynchronousErrorHandling && context) {\n context.errorThrown = true;\n context.error = err;\n }\n }\n exports.captureError = captureError;\n});","lineCount":41,"map":[[2,2,1,0],[2,14,1,12],[4,2,2,0,"Object"],[4,8,2,6],[4,9,2,7,"defineProperty"],[4,23,2,21],[4,24,2,22,"exports"],[4,31,2,29],[4,33,2,31],[4,45,2,43],[4,47,2,45],[5,4,2,47,"value"],[5,9,2,52],[5,11,2,54],[6,2,2,59],[6,3,2,60],[6,4,2,61],[7,2,3,0,"exports"],[7,9,3,7],[7,10,3,8,"captureError"],[7,22,3,20],[7,25,3,23,"exports"],[7,32,3,30],[7,33,3,31,"errorContext"],[7,45,3,43],[7,48,3,46],[7,53,3,51],[7,54,3,52],[8,2,4,0],[8,6,4,4,"config_1"],[8,14,4,12],[8,17,4,15,"require"],[8,24,4,22],[8,25,4,22,"_dependencyMap"],[8,39,4,22],[8,55,4,34],[8,56,4,35],[9,2,5,0],[9,6,5,4,"context"],[9,13,5,11],[9,16,5,14],[9,20,5,18],[10,2,6,0],[10,11,6,9,"errorContext"],[10,23,6,21,"errorContext"],[10,24,6,22,"cb"],[10,26,6,24],[10,28,6,26],[11,4,7,4],[11,8,7,8,"config_1"],[11,16,7,16],[11,17,7,17,"config"],[11,23,7,23],[11,24,7,24,"useDeprecatedSynchronousErrorHandling"],[11,61,7,61],[11,63,7,63],[12,6,8,8],[12,10,8,12,"isRoot"],[12,16,8,18],[12,19,8,21],[12,20,8,22,"context"],[12,27,8,29],[13,6,9,8],[13,10,9,12,"isRoot"],[13,16,9,18],[13,18,9,20],[14,8,10,12,"context"],[14,15,10,19],[14,18,10,22],[15,10,10,24,"errorThrown"],[15,21,10,35],[15,23,10,37],[15,28,10,42],[16,10,10,44,"error"],[16,15,10,49],[16,17,10,51],[17,8,10,56],[17,9,10,57],[18,6,11,8],[19,6,12,8,"cb"],[19,8,12,10],[19,9,12,11],[19,10,12,12],[20,6,13,8],[20,10,13,12,"isRoot"],[20,16,13,18],[20,18,13,20],[21,8,14,12],[21,12,14,16,"_a"],[21,14,14,18],[21,17,14,21,"context"],[21,24,14,28],[22,10,14,30,"errorThrown"],[22,21,14,41],[22,24,14,44,"_a"],[22,26,14,46],[22,27,14,47,"errorThrown"],[22,38,14,58],[23,10,14,60,"error"],[23,15,14,65],[23,18,14,68,"_a"],[23,20,14,70],[23,21,14,71,"error"],[23,26,14,76],[24,8,15,12,"context"],[24,15,15,19],[24,18,15,22],[24,22,15,26],[25,8,16,12],[25,12,16,16,"errorThrown"],[25,23,16,27],[25,25,16,29],[26,10,17,16],[26,16,17,22,"error"],[26,21,17,27],[27,8,18,12],[28,6,19,8],[29,4,20,4],[29,5,20,5],[29,11,21,9],[30,6,22,8,"cb"],[30,8,22,10],[30,9,22,11],[30,10,22,12],[31,4,23,4],[32,2,24,0],[33,2,25,0,"exports"],[33,9,25,7],[33,10,25,8,"errorContext"],[33,22,25,20],[33,25,25,23,"errorContext"],[33,37,25,35],[34,2,26,0],[34,11,26,9,"captureError"],[34,23,26,21,"captureError"],[34,24,26,22,"err"],[34,27,26,25],[34,29,26,27],[35,4,27,4],[35,8,27,8,"config_1"],[35,16,27,16],[35,17,27,17,"config"],[35,23,27,23],[35,24,27,24,"useDeprecatedSynchronousErrorHandling"],[35,61,27,61],[35,65,27,65,"context"],[35,72,27,72],[35,74,27,74],[36,6,28,8,"context"],[36,13,28,15],[36,14,28,16,"errorThrown"],[36,25,28,27],[36,28,28,30],[36,32,28,34],[37,6,29,8,"context"],[37,13,29,15],[37,14,29,16,"error"],[37,19,29,21],[37,22,29,24,"err"],[37,25,29,27],[38,4,30,4],[39,2,31,0],[40,2,32,0,"exports"],[40,9,32,7],[40,10,32,8,"captureError"],[40,22,32,20],[40,25,32,23,"captureError"],[40,37,32,35],[41,0,32,36],[41,3]],"functionMap":{"names":["<global>","errorContext","captureError"],"mappings":"AAA;ACK;CDkB;AEE;CFK"},"hasCjsExports":true},"type":"js/module"}]} |