mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 07:41:01 +00:00
1 line
3.9 KiB
Plaintext
1 line
3.9 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/interopRequireDefault","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"kslwqCIsh6ew+I1KeA1rlVRjsAk=","exportNames":["*"]}},{"name":"./HMRClient","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":36,"index":36}}],"key":"EEo4TekoYJsBFsj2OtCtiRllucQ=","exportNames":["*"]}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n var _interopRequireDefault = require(_dependencyMap[0], \"@babel/runtime/helpers/interopRequireDefault\");\n var _HMRClient = _interopRequireDefault(require(_dependencyMap[1], \"./HMRClient\"));\n if (typeof window !== 'undefined' &&\n // @ts-expect-error: Added via react-native-webview\n typeof window.ReactNativeWebView !== 'undefined') {\n // Sets up developer tools for web platforms when running in a webview. This ensures that logs are visible in the terminal.\n // We assume full control over the console and send JavaScript logs to Metro.\n const LEVELS = ['trace', 'info', 'warn', 'error', 'log', 'group', 'groupCollapsed', 'groupEnd', 'debug'];\n LEVELS.forEach(level => {\n const originalFunction = console[level];\n console[level] = function (...args) {\n _HMRClient.default.log(level, args);\n originalFunction.apply(console, args);\n };\n });\n _HMRClient.default.log('log', [`[webview] Logs will also appear in the Safari/Chrome debug console`]);\n } else {\n _HMRClient.default.log('log', [`[web] Logs will appear in the browser console`]);\n }\n\n // This is called native on native platforms\n _HMRClient.default.setup({\n isEnabled: true\n });\n});","lineCount":26,"map":[[3,2,1,0],[3,6,1,0,"_HMRClient"],[3,16,1,0],[3,19,1,0,"_interopRequireDefault"],[3,41,1,0],[3,42,1,0,"require"],[3,49,1,0],[3,50,1,0,"_dependencyMap"],[3,64,1,0],[4,2,3,0],[4,6,4,2],[4,13,4,9,"window"],[4,19,4,15],[4,24,4,20],[4,35,4,31],[5,2,5,2],[6,2,6,2],[6,9,6,9,"window"],[6,15,6,15],[6,16,6,16,"ReactNativeWebView"],[6,34,6,34],[6,39,6,39],[6,50,6,50],[6,52,7,2],[7,4,8,2],[8,4,9,2],[9,4,10,2],[9,10,10,8,"LEVELS"],[9,16,10,14],[9,19,10,17],[9,20,11,4],[9,27,11,11],[9,29,12,4],[9,35,12,10],[9,37,13,4],[9,43,13,10],[9,45,14,4],[9,52,14,11],[9,54,15,4],[9,59,15,9],[9,61,16,4],[9,68,16,11],[9,70,17,4],[9,86,17,20],[9,88,18,4],[9,98,18,14],[9,100,19,4],[9,107,19,11],[9,108,20,12],[10,4,21,2,"LEVELS"],[10,10,21,8],[10,11,21,9,"forEach"],[10,18,21,16],[10,19,21,18,"level"],[10,24,21,23],[10,28,21,28],[11,6,22,4],[11,12,22,10,"originalFunction"],[11,28,22,26],[11,31,22,29,"console"],[11,38,22,36],[11,39,22,37,"level"],[11,44,22,42],[11,45,22,43],[12,6,23,4,"console"],[12,13,23,11],[12,14,23,12,"level"],[12,19,23,17],[12,20,23,18],[12,23,23,21],[12,33,23,31],[12,36,23,34,"args"],[12,40,23,45],[12,42,23,47],[13,8,24,6,"HMRClient"],[13,26,24,15],[13,27,24,16,"log"],[13,30,24,19],[13,31,24,20,"level"],[13,36,24,25],[13,38,24,27,"args"],[13,42,24,31],[13,43,24,32],[14,8,25,6,"originalFunction"],[14,24,25,22],[14,25,25,23,"apply"],[14,30,25,28],[14,31,25,29,"console"],[14,38,25,36],[14,40,25,38,"args"],[14,44,25,42],[14,45,25,43],[15,6,26,4],[15,7,26,5],[16,4,27,2],[16,5,27,3],[16,6,27,4],[17,4,28,2,"HMRClient"],[17,22,28,11],[17,23,28,12,"log"],[17,26,28,15],[17,27,28,16],[17,32,28,21],[17,34,28,23],[17,35,28,24],[17,103,28,92],[17,104,28,93],[17,105,28,94],[18,2,29,0],[18,3,29,1],[18,9,29,7],[19,4,30,2,"HMRClient"],[19,22,30,11],[19,23,30,12,"log"],[19,26,30,15],[19,27,30,16],[19,32,30,21],[19,34,30,23],[19,35,30,24],[19,82,30,71],[19,83,30,72],[19,84,30,73],[20,2,31,0],[22,2,33,0],[23,2,34,0,"HMRClient"],[23,20,34,9],[23,21,34,10,"setup"],[23,26,34,15],[23,27,34,16],[24,4,34,18,"isEnabled"],[24,13,34,27],[24,15,34,29],[25,2,34,34],[25,3,34,35],[25,4,34,36],[26,0,34,37],[26,3]],"functionMap":{"names":["<global>","LEVELS.forEach$argument_0","console.level"],"mappings":"AAA;iBCoB;qBCE;KDG;GDC"}},"type":"js/module"}]} |