mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 21:31:02 +00:00
1 line
18 KiB
Plaintext
1 line
18 KiB
Plaintext
{"dependencies":[{"name":"./Data/LogBoxData","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":9,"column":0,"index":225},"end":{"line":9,"column":59,"index":284}}],"key":"FcZz6T1PfQ3V75b51ZE2xBq3vms=","exportNames":["*"],"imports":1}},{"name":"./Data/parseLogBoxLog","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":10,"column":0,"index":285},"end":{"line":10,"column":62,"index":347}}],"key":"UHD94YEqeFyYMUmYH0xpXoYaOQs=","exportNames":["*"],"imports":1}},{"name":"./Data/LogBoxData","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":31,"column":21,"index":802},"end":{"line":31,"column":49,"index":830}}],"key":"flH9/u65tQgLoIbElTTjW+2MqGo=","exportNames":["*"],"imports":1}},{"name":"./Data/parseLogBoxLog","data":{"asyncType":null,"isESMImport":false,"locs":[{"start":{"line":33,"column":4,"index":885},"end":{"line":33,"column":36,"index":917}}],"key":"Zro9/BpYrdGqIuVqjY+69dKkFpQ=","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 Object.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _default;\n }\n });\n Object.defineProperty(exports, \"LogData\", {\n enumerable: true,\n get: function () {\n return _DataLogBoxData.LogData;\n }\n });\n Object.defineProperty(exports, \"ExtendedExceptionData\", {\n enumerable: true,\n get: function () {\n return _DataParseLogBoxLog.ExtendedExceptionData;\n }\n });\n Object.defineProperty(exports, \"IgnorePattern\", {\n enumerable: true,\n get: function () {\n return _DataLogBoxData.IgnorePattern;\n }\n });\n var _DataLogBoxData = require(_dependencyMap[0], \"./Data/LogBoxData\");\n var _DataParseLogBoxLog = require(_dependencyMap[1], \"./Data/parseLogBoxLog\");\n /**\n * Copyright (c) 650 Industries.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n let LogBox;\n /**\n * LogBox displays logs in the app.\n */\n if (__DEV__) {\n const LogBoxData = require(_dependencyMap[2], \"./Data/LogBoxData\");\n const {\n parseLogBoxLog,\n parseInterpolation\n } = require(_dependencyMap[3], \"./Data/parseLogBoxLog\");\n let originalConsoleError;\n let consoleErrorImpl;\n let isLogBoxInstalled = false;\n LogBox = {\n install() {\n if (isLogBoxInstalled) {\n return;\n }\n isLogBoxInstalled = true;\n\n // Trigger lazy initialization of module.\n // require(\"../NativeModules/specs/NativeLogBox\");\n\n // IMPORTANT: we only overwrite `console.error` and `console.warn` once.\n // When we uninstall we keep the same reference and only change its\n // internal implementation\n const isFirstInstall = originalConsoleError == null;\n if (isFirstInstall) {\n originalConsoleError = console.error.bind(console);\n console.error = (...args) => {\n consoleErrorImpl?.(...args);\n };\n }\n consoleErrorImpl = registerError;\n if (process.env.NODE_ENV === 'test') {\n LogBoxData.setDisabled(true);\n }\n },\n uninstall() {\n if (!isLogBoxInstalled) {\n return;\n }\n isLogBoxInstalled = false;\n\n // IMPORTANT: we don't re-assign to `console` in case the method has been\n // decorated again after installing LogBox. E.g.:\n // Before uninstalling: original > LogBox > OtherErrorHandler\n // After uninstalling: original > LogBox (noop) > OtherErrorHandler\n consoleErrorImpl = originalConsoleError;\n delete console.disableLogBox;\n },\n isInstalled() {\n return isLogBoxInstalled;\n },\n ignoreLogs(patterns) {\n LogBoxData.addIgnorePatterns(patterns);\n },\n ignoreAllLogs(value) {\n LogBoxData.setDisabled(value == null ? true : value);\n },\n clearAllLogs() {\n LogBoxData.clear();\n },\n addLog(log) {\n if (isLogBoxInstalled) {\n LogBoxData.addLog(log);\n }\n },\n addException(error) {\n if (isLogBoxInstalled) {\n LogBoxData.addException(error);\n }\n }\n };\n const isWarningModuleWarning = (...args) => {\n return typeof args[0] === 'string' && args[0].startsWith('Warning: ');\n };\n const registerError = (...args) => {\n // Let errors within LogBox itself fall through.\n if (LogBoxData.isLogBoxErrorMessage(args[0])) {\n originalConsoleError?.(...args);\n return;\n }\n try {\n if (!isWarningModuleWarning(...args)) {\n // Only show LogBox for the 'warning' module, otherwise pass through.\n // By passing through, this will get picked up by the React console override,\n // potentially adding the component stack. React then passes it back to the\n // React Native ExceptionsManager, which reports it to LogBox as an error.\n //\n // The 'warning' module needs to be handled here because React internally calls\n // `console.error('Warning: ')` with the component stack already included.\n originalConsoleError?.(...args);\n return;\n }\n const {\n category,\n message,\n componentStack\n } = parseLogBoxLog(args);\n if (!LogBoxData.isMessageIgnored(message.content)) {\n // Interpolate the message so they are formatted for adb and other CLIs.\n // This is different than the message.content above because it includes component stacks.\n const interpolated = parseInterpolation(args);\n originalConsoleError?.(interpolated.message.content);\n LogBoxData.addLog({\n // Always show the static rendering issues as full screen since they\n // are too confusing otherwise.\n level: /did not match\\. Server:/.test(message.content) ? 'fatal' : 'error',\n category,\n message,\n componentStack\n });\n }\n } catch (err) {\n LogBoxData.reportUnexpectedLogBoxError(err);\n }\n };\n } else {\n LogBox = {\n install() {},\n uninstall() {},\n isInstalled() {\n return false;\n },\n ignoreLogs(_patterns) {},\n ignoreAllLogs(_value) {},\n clearAllLogs() {},\n addLog(_log) {},\n addException(_ex) {}\n };\n }\n var _default = LogBox;\n});","lineCount":174,"map":[[7,2,174,0,"Object"],[7,8,174,0],[7,9,174,0,"defineProperty"],[7,23,174,0],[7,24,174,0,"exports"],[7,31,174,0],[8,4,174,0,"enumerable"],[8,14,174,0],[9,4,174,0,"get"],[9,7,174,0],[9,18,174,0,"get"],[9,19,174,0],[10,6,174,0],[10,13,174,0,"_default"],[10,21,174,0],[11,4,174,0],[12,2,174,0],[13,2,12,0,"Object"],[13,8,12,0],[13,9,12,0,"defineProperty"],[13,23,12,0],[13,24,12,0,"exports"],[13,31,12,0],[14,4,12,0,"enumerable"],[14,14,12,0],[15,4,12,0,"get"],[15,7,12,0],[15,18,12,0,"get"],[15,19,12,0],[16,6,12,0],[16,13,12,9,"LogData"],[16,28,12,16],[16,29,12,16,"LogData"],[16,36,12,16],[17,4,12,16],[18,2,12,16],[19,2,12,0,"Object"],[19,8,12,0],[19,9,12,0,"defineProperty"],[19,23,12,0],[19,24,12,0,"exports"],[19,31,12,0],[20,4,12,0,"enumerable"],[20,14,12,0],[21,4,12,0,"get"],[21,7,12,0],[21,18,12,0,"get"],[21,19,12,0],[22,6,12,0],[22,13,12,18,"ExtendedExceptionData"],[22,32,12,39],[22,33,12,39,"ExtendedExceptionData"],[22,54,12,39],[23,4,12,39],[24,2,12,39],[25,2,12,0,"Object"],[25,8,12,0],[25,9,12,0,"defineProperty"],[25,23,12,0],[25,24,12,0,"exports"],[25,31,12,0],[26,4,12,0,"enumerable"],[26,14,12,0],[27,4,12,0,"get"],[27,7,12,0],[27,18,12,0,"get"],[27,19,12,0],[28,6,12,0],[28,13,12,41,"IgnorePattern"],[28,28,12,54],[28,29,12,54,"IgnorePattern"],[28,42,12,54],[29,4,12,54],[30,2,12,54],[31,2,9,0],[31,6,9,0,"_DataLogBoxData"],[31,21,9,0],[31,24,9,0,"require"],[31,31,9,0],[31,32,9,0,"_dependencyMap"],[31,46,9,0],[32,2,10,0],[32,6,10,0,"_DataParseLogBoxLog"],[32,25,10,0],[32,28,10,0,"require"],[32,35,10,0],[32,36,10,0,"_dependencyMap"],[32,50,10,0],[33,2,1,0],[34,0,2,0],[35,0,3,0],[36,0,4,0],[37,0,5,0],[38,0,6,0],[39,0,7,0],[41,2,14,0],[41,6,14,4,"LogBox"],[41,12,14,19],[42,2,27,0],[43,0,28,0],[44,0,29,0],[45,2,30,0],[45,6,30,4,"__DEV__"],[45,13,30,11],[45,15,30,13],[46,4,31,2],[46,10,31,8,"LogBoxData"],[46,20,31,18],[46,23,31,21,"require"],[46,30,31,28],[46,31,31,28,"_dependencyMap"],[46,45,31,28],[46,69,31,48],[46,70,31,49],[47,4,32,2],[47,10,32,8],[48,6,32,10,"parseLogBoxLog"],[48,20,32,24],[49,6,32,26,"parseInterpolation"],[50,4,32,45],[50,5,32,46],[50,8,33,4,"require"],[50,15,33,11],[50,16,33,11,"_dependencyMap"],[50,30,33,11],[50,58,33,35],[50,59,33,78],[51,4,35,2],[51,8,35,6,"originalConsoleError"],[51,28,35,60],[52,4,36,2],[52,8,36,6,"consoleErrorImpl"],[52,24,36,56],[53,4,38,2],[53,8,38,6,"isLogBoxInstalled"],[53,25,38,32],[53,28,38,35],[53,33,38,40],[54,4,40,2,"LogBox"],[54,10,40,8],[54,13,40,11],[55,6,41,4,"install"],[55,13,41,11,"install"],[55,14,41,11],[55,16,41,20],[56,8,42,6],[56,12,42,10,"isLogBoxInstalled"],[56,29,42,27],[56,31,42,29],[57,10,43,8],[58,8,44,6],[59,8,46,6,"isLogBoxInstalled"],[59,25,46,23],[59,28,46,26],[59,32,46,30],[61,8,48,6],[62,8,49,6],[64,8,51,6],[65,8,52,6],[66,8,53,6],[67,8,54,6],[67,14,54,12,"isFirstInstall"],[67,28,54,26],[67,31,54,29,"originalConsoleError"],[67,51,54,49],[67,55,54,53],[67,59,54,57],[68,8,55,6],[68,12,55,10,"isFirstInstall"],[68,26,55,24],[68,28,55,26],[69,10,56,8,"originalConsoleError"],[69,30,56,28],[69,33,56,31,"console"],[69,40,56,38],[69,41,56,39,"error"],[69,46,56,44],[69,47,56,45,"bind"],[69,51,56,49],[69,52,56,50,"console"],[69,59,56,57],[69,60,56,58],[70,10,58,8,"console"],[70,17,58,15],[70,18,58,16,"error"],[70,23,58,21],[70,26,58,24],[70,27,58,25],[70,30,58,28,"args"],[70,34,58,32],[70,39,58,37],[71,12,59,10,"consoleErrorImpl"],[71,28,59,26],[71,31,59,29],[71,34,59,32,"args"],[71,38,59,36],[71,39,59,37],[72,10,60,8],[72,11,60,9],[73,8,61,6],[74,8,63,6,"consoleErrorImpl"],[74,24,63,22],[74,27,63,25,"registerError"],[74,40,63,38],[75,8,65,6],[75,12,65,10,"process"],[75,19,65,17],[75,20,65,18,"env"],[75,23,65,21],[75,24,65,22,"NODE_ENV"],[75,32,65,30],[75,37,65,35],[75,43,65,41],[75,45,65,43],[76,10,66,8,"LogBoxData"],[76,20,66,18],[76,21,66,19,"setDisabled"],[76,32,66,30],[76,33,66,31],[76,37,66,35],[76,38,66,36],[77,8,67,6],[78,6,68,4],[78,7,68,5],[79,6,70,4,"uninstall"],[79,15,70,13,"uninstall"],[79,16,70,13],[79,18,70,22],[80,8,71,6],[80,12,71,10],[80,13,71,11,"isLogBoxInstalled"],[80,30,71,28],[80,32,71,30],[81,10,72,8],[82,8,73,6],[83,8,75,6,"isLogBoxInstalled"],[83,25,75,23],[83,28,75,26],[83,33,75,31],[85,8,77,6],[86,8,78,6],[87,8,79,6],[88,8,80,6],[89,8,81,6,"consoleErrorImpl"],[89,24,81,22],[89,27,81,25,"originalConsoleError"],[89,47,81,45],[90,8,82,6],[90,15,82,14,"console"],[90,22,82,21],[90,23,82,30,"disableLogBox"],[90,36,82,43],[91,6,83,4],[91,7,83,5],[92,6,85,4,"isInstalled"],[92,17,85,15,"isInstalled"],[92,18,85,15],[92,20,85,27],[93,8,86,6],[93,15,86,13,"isLogBoxInstalled"],[93,32,86,30],[94,6,87,4],[94,7,87,5],[95,6,89,4,"ignoreLogs"],[95,16,89,14,"ignoreLogs"],[95,17,89,15,"patterns"],[95,25,89,49],[95,27,89,57],[96,8,90,6,"LogBoxData"],[96,18,90,16],[96,19,90,17,"addIgnorePatterns"],[96,36,90,34],[96,37,90,35,"patterns"],[96,45,90,43],[96,46,90,44],[97,6,91,4],[97,7,91,5],[98,6,93,4,"ignoreAllLogs"],[98,19,93,17,"ignoreAllLogs"],[98,20,93,18,"value"],[98,25,93,33],[98,27,93,41],[99,8,94,6,"LogBoxData"],[99,18,94,16],[99,19,94,17,"setDisabled"],[99,30,94,28],[99,31,94,29,"value"],[99,36,94,34],[99,40,94,38],[99,44,94,42],[99,47,94,45],[99,51,94,49],[99,54,94,52,"value"],[99,59,94,57],[99,60,94,58],[100,6,95,4],[100,7,95,5],[101,6,97,4,"clearAllLogs"],[101,18,97,16,"clearAllLogs"],[101,19,97,16],[101,21,97,25],[102,8,98,6,"LogBoxData"],[102,18,98,16],[102,19,98,17,"clear"],[102,24,98,22],[102,25,98,23],[102,26,98,24],[103,6,99,4],[103,7,99,5],[104,6,101,4,"addLog"],[104,12,101,10,"addLog"],[104,13,101,11,"log"],[104,16,101,23],[104,18,101,31],[105,8,102,6],[105,12,102,10,"isLogBoxInstalled"],[105,29,102,27],[105,31,102,29],[106,10,103,8,"LogBoxData"],[106,20,103,18],[106,21,103,19,"addLog"],[106,27,103,25],[106,28,103,26,"log"],[106,31,103,29],[106,32,103,30],[107,8,104,6],[108,6,105,4],[108,7,105,5],[109,6,107,4,"addException"],[109,18,107,16,"addException"],[109,19,107,17,"error"],[109,24,107,45],[109,26,107,53],[110,8,108,6],[110,12,108,10,"isLogBoxInstalled"],[110,29,108,27],[110,31,108,29],[111,10,109,8,"LogBoxData"],[111,20,109,18],[111,21,109,19,"addException"],[111,33,109,31],[111,34,109,32,"error"],[111,39,109,37],[111,40,109,38],[112,8,110,6],[113,6,111,4],[114,4,112,2],[114,5,112,3],[115,4,114,2],[115,10,114,8,"isWarningModuleWarning"],[115,32,114,30],[115,35,114,33,"isWarningModuleWarning"],[115,36,114,34],[115,39,114,37,"args"],[115,43,114,46],[115,48,114,51],[116,6,115,4],[116,13,115,11],[116,20,115,18,"args"],[116,24,115,22],[116,25,115,23],[116,26,115,24],[116,27,115,25],[116,32,115,30],[116,40,115,38],[116,44,115,42,"args"],[116,48,115,46],[116,49,115,47],[116,50,115,48],[116,51,115,49],[116,52,115,50,"startsWith"],[116,62,115,60],[116,63,115,61],[116,74,115,72],[116,75,115,73],[117,4,116,2],[117,5,116,3],[118,4,118,2],[118,10,118,8,"registerError"],[118,23,118,21],[118,26,118,24,"registerError"],[118,27,118,25],[118,30,118,28,"args"],[118,34,118,66],[118,39,118,77],[119,6,119,4],[120,6,120,4],[120,10,120,8,"LogBoxData"],[120,20,120,18],[120,21,120,19,"isLogBoxErrorMessage"],[120,41,120,39],[120,42,120,40,"args"],[120,46,120,44],[120,47,120,45],[120,48,120,46],[120,49,120,47],[120,50,120,48],[120,52,120,50],[121,8,121,6,"originalConsoleError"],[121,28,121,26],[121,31,121,29],[121,34,121,32,"args"],[121,38,121,36],[121,39,121,37],[122,8,122,6],[123,6,123,4],[124,6,125,4],[124,10,125,8],[125,8,126,6],[125,12,126,10],[125,13,126,11,"isWarningModuleWarning"],[125,35,126,33],[125,36,126,34],[125,39,126,37,"args"],[125,43,126,41],[125,44,126,42],[125,46,126,44],[126,10,127,8],[127,10,128,8],[128,10,129,8],[129,10,130,8],[130,10,131,8],[131,10,132,8],[132,10,133,8],[133,10,134,8,"originalConsoleError"],[133,30,134,28],[133,33,134,31],[133,36,134,34,"args"],[133,40,134,38],[133,41,134,39],[134,10,135,8],[135,8,136,6],[136,8,138,6],[136,14,138,12],[137,10,138,14,"category"],[137,18,138,22],[138,10,138,24,"message"],[138,17,138,31],[139,10,138,33,"componentStack"],[140,8,138,48],[140,9,138,49],[140,12,138,52,"parseLogBoxLog"],[140,26,138,66],[140,27,138,67,"args"],[140,31,138,71],[140,32,138,72],[141,8,140,6],[141,12,140,10],[141,13,140,11,"LogBoxData"],[141,23,140,21],[141,24,140,22,"isMessageIgnored"],[141,40,140,38],[141,41,140,39,"message"],[141,48,140,46],[141,49,140,47,"content"],[141,56,140,54],[141,57,140,55],[141,59,140,57],[142,10,141,8],[143,10,142,8],[144,10,143,8],[144,16,143,14,"interpolated"],[144,28,143,26],[144,31,143,29,"parseInterpolation"],[144,49,143,47],[144,50,143,48,"args"],[144,54,143,52],[144,55,143,53],[145,10,144,8,"originalConsoleError"],[145,30,144,28],[145,33,144,31,"interpolated"],[145,45,144,43],[145,46,144,44,"message"],[145,53,144,51],[145,54,144,52,"content"],[145,61,144,59],[145,62,144,60],[146,10,146,8,"LogBoxData"],[146,20,146,18],[146,21,146,19,"addLog"],[146,27,146,25],[146,28,146,26],[147,12,147,10],[148,12,148,10],[149,12,149,10,"level"],[149,17,149,15],[149,19,149,17],[149,44,149,42],[149,45,149,43,"test"],[149,49,149,47],[149,50,149,48,"message"],[149,57,149,55],[149,58,149,56,"content"],[149,65,149,63],[149,66,149,64],[149,69,149,67],[149,76,149,74],[149,79,149,77],[149,86,149,84],[150,12,150,10,"category"],[150,20,150,18],[151,12,151,10,"message"],[151,19,151,17],[152,12,152,10,"componentStack"],[153,10,153,8],[153,11,153,9],[153,12,153,10],[154,8,154,6],[155,6,155,4],[155,7,155,5],[155,8,155,6],[155,15,155,13,"err"],[155,18,155,16],[155,20,155,18],[156,8,156,6,"LogBoxData"],[156,18,156,16],[156,19,156,17,"reportUnexpectedLogBoxError"],[156,46,156,44],[156,47,156,45,"err"],[156,50,156,48],[156,51,156,49],[157,6,157,4],[158,4,158,2],[158,5,158,3],[159,2,159,0],[159,3,159,1],[159,9,159,7],[160,4,160,2,"LogBox"],[160,10,160,8],[160,13,160,11],[161,6,161,4,"install"],[161,13,161,11,"install"],[161,14,161,11],[161,16,161,20],[161,17,161,21],[161,18,161,22],[162,6,162,4,"uninstall"],[162,15,162,13,"uninstall"],[162,16,162,13],[162,18,162,22],[162,19,162,23],[162,20,162,24],[163,6,163,4,"isInstalled"],[163,17,163,15,"isInstalled"],[163,18,163,15],[163,20,163,27],[164,8,164,6],[164,15,164,13],[164,20,164,18],[165,6,165,4],[165,7,165,5],[166,6,166,4,"ignoreLogs"],[166,16,166,14,"ignoreLogs"],[166,17,166,15,"_patterns"],[166,26,166,50],[166,28,166,58],[166,29,166,59],[166,30,166,60],[167,6,167,4,"ignoreAllLogs"],[167,19,167,17,"ignoreAllLogs"],[167,20,167,18,"_value"],[167,26,167,34],[167,28,167,42],[167,29,167,43],[167,30,167,44],[168,6,168,4,"clearAllLogs"],[168,18,168,16,"clearAllLogs"],[168,19,168,16],[168,21,168,25],[168,22,168,26],[168,23,168,27],[169,6,169,4,"addLog"],[169,12,169,10,"addLog"],[169,13,169,11,"_log"],[169,17,169,24],[169,19,169,32],[169,20,169,33],[169,21,169,34],[170,6,170,4,"addException"],[170,18,170,16,"addException"],[170,19,170,17,"_ex"],[170,22,170,43],[170,24,170,51],[170,25,170,52],[171,4,171,2],[171,5,171,3],[172,2,172,0],[173,2,174,0],[173,6,174,0,"_default"],[173,14,174,0],[173,17,174,15,"LogBox"],[173,23,174,21],[174,0,174,22],[174,3]],"functionMap":{"names":["<global>","install","console.error","uninstall","isInstalled","ignoreLogs","ignoreAllLogs","clearAllLogs","addLog","addException","isWarningModuleWarning","registerError"],"mappings":"AAA;ICwC;wBCiB;SDE;KDQ;IGE;KHa;IIE;KJE;IKE;KLE;IME;KNE;IOE;KPE;IQE;KRI;ISE;KTI;iCUG;GVE;wBWE;GXwC;ICG,kBD;IGC,oBH;IIC;KJE;IKC,wDL;IMC,wCN;IOC,uBP;IQC,8BR;ISC,iDT"},"hasCjsExports":false},"type":"js/module"}]} |