mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 13:31:00 +00:00
1 line
15 KiB
Plaintext
1 line
15 KiB
Plaintext
{"dependencies":[{"name":"anser","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":8,"column":0,"index":224},"end":{"line":8,"column":26,"index":250}}],"key":"JT6SizGAYEJyYwZibfChXukG8nY=","exportNames":["*"],"imports":1}},{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":9,"column":0,"index":251},"end":{"line":9,"column":26,"index":277}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/StyleSheet","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"MK7+k1V+KnvCVW7Kj2k/ydtjmVU=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/Text","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"JKIzsQ5YQ0gDj0MIyY0Q7F1zJtU=","exportNames":["*"],"imports":1}},{"name":"react-native-web/dist/exports/View","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"4kYBDC6LJJXoH7P9rWDi3vkLVB0=","exportNames":["*"],"imports":1}},{"name":"react/jsx-dev-runtime","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"L9D70Z4hi4aGuui1ysja/oQ5ytI=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n var _jsxFileName = \"/app/frontend/node_modules/@expo/metro-runtime/src/error-overlay/UI/AnsiHighlight.tsx\";\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 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.Ansi = Ansi;\n var _anser = require(_dependencyMap[0], \"anser\");\n var Anser = _interopDefault(_anser);\n require(_dependencyMap[1], \"react\");\n var _reactNativeWebDistExportsStyleSheet = require(_dependencyMap[2], \"react-native-web/dist/exports/StyleSheet\");\n var StyleSheet = _interopDefault(_reactNativeWebDistExportsStyleSheet);\n var _reactNativeWebDistExportsText = require(_dependencyMap[3], \"react-native-web/dist/exports/Text\");\n var Text = _interopDefault(_reactNativeWebDistExportsText);\n var _reactNativeWebDistExportsView = require(_dependencyMap[4], \"react-native-web/dist/exports/View\");\n var View = _interopDefault(_reactNativeWebDistExportsView);\n var _reactJsxDevRuntime = require(_dependencyMap[5], \"react/jsx-dev-runtime\");\n // Afterglow theme from https://iterm2colorschemes.com/\n const COLORS = {\n 'ansi-black': 'rgb(27, 27, 27)',\n 'ansi-red': 'rgb(187, 86, 83)',\n 'ansi-green': 'rgb(144, 157, 98)',\n 'ansi-yellow': 'rgb(234, 193, 121)',\n 'ansi-blue': 'rgb(125, 169, 199)',\n 'ansi-magenta': 'rgb(176, 101, 151)',\n 'ansi-cyan': 'rgb(140, 220, 216)',\n // Instead of white, use the default color provided to the component\n // 'ansi-white': 'rgb(216, 216, 216)',\n 'ansi-bright-black': 'rgb(98, 98, 98)',\n 'ansi-bright-red': 'rgb(187, 86, 83)',\n 'ansi-bright-green': 'rgb(144, 157, 98)',\n 'ansi-bright-yellow': 'rgb(234, 193, 121)',\n 'ansi-bright-blue': 'rgb(125, 169, 199)',\n 'ansi-bright-magenta': 'rgb(176, 101, 151)',\n 'ansi-bright-cyan': 'rgb(140, 220, 216)',\n 'ansi-bright-white': 'rgb(247, 247, 247)'\n };\n function Ansi({\n text,\n style\n }) {\n let commonWhitespaceLength = Infinity;\n const parsedLines = text.split(/\\n/).map(line => Anser.default.ansiToJson(line, {\n json: true,\n remove_empty: true,\n use_classes: true\n }));\n parsedLines.map(lines => {\n // The third item on each line includes the whitespace of the source code.\n // We are looking for the least amount of common whitespace to trim all lines.\n // Example: Array [\" \", \" 96 |\", \" text\", ...]\n const match = lines[2] && lines[2]?.content?.match(/^ +/);\n const whitespaceLength = match && match[0]?.length || 0;\n if (whitespaceLength < commonWhitespaceLength) {\n commonWhitespaceLength = whitespaceLength;\n }\n });\n const getText = (content, key) => {\n if (key === 1) {\n // Remove the vertical bar after line numbers\n return content.replace(/\\| $/, ' ');\n } else if (key === 2 && commonWhitespaceLength < Infinity) {\n // Remove common whitespace at the beginning of the line\n return content.substr(commonWhitespaceLength);\n } else {\n return content;\n }\n };\n return /*#__PURE__*/(0, _reactJsxDevRuntime.jsxDEV)(_reactJsxDevRuntime.Fragment, {\n children: parsedLines.map((items, i) => /*#__PURE__*/(0, _reactJsxDevRuntime.jsxDEV)(View.default, {\n style: styles.line,\n children: items.map((bundle, key) => {\n const textStyle = bundle.fg && COLORS[bundle.fg] ? {\n backgroundColor: bundle.bg && COLORS[bundle.bg],\n color: bundle.fg && COLORS[bundle.fg]\n } : {\n backgroundColor: bundle.bg && COLORS[bundle.bg]\n };\n return /*#__PURE__*/(0, _reactJsxDevRuntime.jsxDEV)(Text.default, {\n style: [style, textStyle],\n children: getText(bundle.content, key)\n }, key, false, {\n fileName: _jsxFileName,\n lineNumber: 82,\n columnNumber: 15\n }, this);\n })\n }, i, false, {\n fileName: _jsxFileName,\n lineNumber: 70,\n columnNumber: 9\n }, this))\n }, void 0, false);\n }\n const styles = StyleSheet.default.create({\n line: {\n flexDirection: 'row'\n }\n });\n});","lineCount":113,"map":[[5,2,1,0],[6,0,2,0],[7,0,3,0],[8,0,4,0],[9,0,5,0],[10,0,6,0],[11,0,7,0],[12,2,1,0,"Object"],[12,8,1,0],[12,9,1,0,"defineProperty"],[12,23,1,0],[12,24,1,0,"exports"],[12,31,1,0],[13,4,1,0,"value"],[13,9,1,0],[14,2,1,0],[15,2,1,0],[15,11,1,0,"_interopDefault"],[15,27,1,0,"e"],[15,28,1,0],[16,4,1,0],[16,11,1,0,"e"],[16,12,1,0],[16,16,1,0,"e"],[16,17,1,0],[16,18,1,0,"__esModule"],[16,28,1,0],[16,31,1,0,"e"],[16,32,1,0],[17,6,1,0,"default"],[17,13,1,0],[17,15,1,0,"e"],[18,4,1,0],[19,2,1,0],[20,2,34,0,"exports"],[20,9,34,0],[20,10,34,0,"Ansi"],[20,14,34,0],[20,17,34,0,"Ansi"],[20,21,34,0],[21,2,8,0],[21,6,8,0,"_anser"],[21,12,8,0],[21,15,8,0,"require"],[21,22,8,0],[21,23,8,0,"_dependencyMap"],[21,37,8,0],[22,2,8,0],[22,6,8,0,"Anser"],[22,11,8,0],[22,14,8,0,"_interopDefault"],[22,29,8,0],[22,30,8,0,"_anser"],[22,36,8,0],[23,2,9,0,"require"],[23,9,9,0],[23,10,9,0,"_dependencyMap"],[23,24,9,0],[24,2,9,26],[24,6,9,26,"_reactNativeWebDistExportsStyleSheet"],[24,42,9,26],[24,45,9,26,"require"],[24,52,9,26],[24,53,9,26,"_dependencyMap"],[24,67,9,26],[25,2,9,26],[25,6,9,26,"StyleSheet"],[25,16,9,26],[25,19,9,26,"_interopDefault"],[25,34,9,26],[25,35,9,26,"_reactNativeWebDistExportsStyleSheet"],[25,71,9,26],[26,2,9,26],[26,6,9,26,"_reactNativeWebDistExportsText"],[26,36,9,26],[26,39,9,26,"require"],[26,46,9,26],[26,47,9,26,"_dependencyMap"],[26,61,9,26],[27,2,9,26],[27,6,9,26,"Text"],[27,10,9,26],[27,13,9,26,"_interopDefault"],[27,28,9,26],[27,29,9,26,"_reactNativeWebDistExportsText"],[27,59,9,26],[28,2,9,26],[28,6,9,26,"_reactNativeWebDistExportsView"],[28,36,9,26],[28,39,9,26,"require"],[28,46,9,26],[28,47,9,26,"_dependencyMap"],[28,61,9,26],[29,2,9,26],[29,6,9,26,"View"],[29,10,9,26],[29,13,9,26,"_interopDefault"],[29,28,9,26],[29,29,9,26,"_reactNativeWebDistExportsView"],[29,59,9,26],[30,2,9,26],[30,6,9,26,"_reactJsxDevRuntime"],[30,25,9,26],[30,28,9,26,"require"],[30,35,9,26],[30,36,9,26,"_dependencyMap"],[30,50,9,26],[31,2,13,0],[32,2,14,0],[32,8,14,6,"COLORS"],[32,14,14,36],[32,17,14,39],[33,4,15,2],[33,16,15,14],[33,18,15,16],[33,35,15,33],[34,4,16,2],[34,14,16,12],[34,16,16,14],[34,34,16,32],[35,4,17,2],[35,16,17,14],[35,18,17,16],[35,37,17,35],[36,4,18,2],[36,17,18,15],[36,19,18,17],[36,39,18,37],[37,4,19,2],[37,15,19,13],[37,17,19,15],[37,37,19,35],[38,4,20,2],[38,18,20,16],[38,20,20,18],[38,40,20,38],[39,4,21,2],[39,15,21,13],[39,17,21,15],[39,37,21,35],[40,4,22,2],[41,4,23,2],[42,4,24,2],[42,23,24,21],[42,25,24,23],[42,42,24,40],[43,4,25,2],[43,21,25,19],[43,23,25,21],[43,41,25,39],[44,4,26,2],[44,23,26,21],[44,25,26,23],[44,44,26,42],[45,4,27,2],[45,24,27,22],[45,26,27,24],[45,46,27,44],[46,4,28,2],[46,22,28,20],[46,24,28,22],[46,44,28,42],[47,4,29,2],[47,25,29,23],[47,27,29,25],[47,47,29,45],[48,4,30,2],[48,22,30,20],[48,24,30,22],[48,44,30,42],[49,4,31,2],[49,23,31,21],[49,25,31,23],[50,2,32,0],[50,3,32,1],[51,2,34,7],[51,11,34,16,"Ansi"],[51,15,34,20,"Ansi"],[51,16,34,21],[52,4,34,23,"text"],[52,8,34,27],[53,4,34,29,"style"],[54,2,34,82],[54,3,34,83],[54,5,34,85],[55,4,35,2],[55,8,35,6,"commonWhitespaceLength"],[55,30,35,28],[55,33,35,31,"Infinity"],[55,41,35,39],[56,4,36,2],[56,10,36,8,"parsedLines"],[56,21,36,19],[56,24,36,22,"text"],[56,28,36,26],[56,29,36,27,"split"],[56,34,36,32],[56,35,36,33],[56,39,36,37],[56,40,36,38],[56,41,36,39,"map"],[56,44,36,42],[56,45,36,44,"line"],[56,49,36,48],[56,53,37,4,"Anser"],[56,58,37,9],[56,59,37,9,"default"],[56,66,37,9],[56,67,37,10,"ansiToJson"],[56,77,37,20],[56,78,37,21,"line"],[56,82,37,25],[56,84,37,27],[57,6,38,6,"json"],[57,10,38,10],[57,12,38,12],[57,16,38,16],[58,6,39,6,"remove_empty"],[58,18,39,18],[58,20,39,20],[58,24,39,24],[59,6,40,6,"use_classes"],[59,17,40,17],[59,19,40,19],[60,4,41,4],[60,5,41,5],[60,6,42,2],[60,7,42,3],[61,4,44,2,"parsedLines"],[61,15,44,13],[61,16,44,14,"map"],[61,19,44,17],[61,20,44,19,"lines"],[61,25,44,24],[61,29,44,29],[62,6,45,4],[63,6,46,4],[64,6,47,4],[65,6,48,4],[65,12,48,10,"match"],[65,17,48,15],[65,20,48,18,"lines"],[65,25,48,23],[65,26,48,24],[65,27,48,25],[65,28,48,26],[65,32,48,30,"lines"],[65,37,48,35],[65,38,48,36],[65,39,48,37],[65,40,48,38],[65,42,48,40,"content"],[65,49,48,47],[65,51,48,49,"match"],[65,56,48,54],[65,57,48,55],[65,62,48,60],[65,63,48,61],[66,6,49,4],[66,12,49,10,"whitespaceLength"],[66,28,49,26],[66,31,49,30,"match"],[66,36,49,35],[66,40,49,39,"match"],[66,45,49,44],[66,46,49,45],[66,47,49,46],[66,48,49,47],[66,50,49,49,"length"],[66,56,49,55],[66,60,49,60],[66,61,49,61],[67,6,50,4],[67,10,50,8,"whitespaceLength"],[67,26,50,24],[67,29,50,27,"commonWhitespaceLength"],[67,51,50,49],[67,53,50,51],[68,8,51,6,"commonWhitespaceLength"],[68,30,51,28],[68,33,51,31,"whitespaceLength"],[68,49,51,47],[69,6,52,4],[70,4,53,2],[70,5,53,3],[70,6,53,4],[71,4,55,2],[71,10,55,8,"getText"],[71,17,55,15],[71,20,55,18,"getText"],[71,21,55,19,"content"],[71,28,55,34],[71,30,55,36,"key"],[71,33,55,47],[71,38,55,52],[72,6,56,4],[72,10,56,8,"key"],[72,13,56,11],[72,18,56,16],[72,19,56,17],[72,21,56,19],[73,8,57,6],[74,8,58,6],[74,15,58,13,"content"],[74,22,58,20],[74,23,58,21,"replace"],[74,30,58,28],[74,31,58,29],[74,37,58,35],[74,39,58,37],[74,42,58,40],[74,43,58,41],[75,6,59,4],[75,7,59,5],[75,13,59,11],[75,17,59,15,"key"],[75,20,59,18],[75,25,59,23],[75,26,59,24],[75,30,59,28,"commonWhitespaceLength"],[75,52,59,50],[75,55,59,53,"Infinity"],[75,63,59,61],[75,65,59,63],[76,8,60,6],[77,8,61,6],[77,15,61,13,"content"],[77,22,61,20],[77,23,61,21,"substr"],[77,29,61,27],[77,30,61,28,"commonWhitespaceLength"],[77,52,61,50],[77,53,61,51],[78,6,62,4],[78,7,62,5],[78,13,62,11],[79,8,63,6],[79,15,63,13,"content"],[79,22,63,20],[80,6,64,4],[81,4,65,2],[81,5,65,3],[82,4,67,2],[82,24,68,4],[82,28,68,4,"_reactJsxDevRuntime"],[82,47,68,4],[82,48,68,4,"jsxDEV"],[82,54,68,4],[82,56,68,4,"_reactJsxDevRuntime"],[82,75,68,4],[82,76,68,4,"Fragment"],[82,84,68,4],[83,6,68,4,"children"],[83,14,68,4],[83,16,69,7,"parsedLines"],[83,27,69,18],[83,28,69,19,"map"],[83,31,69,22],[83,32,69,23],[83,33,69,24,"items"],[83,38,69,29],[83,40,69,31,"i"],[83,41,69,32],[83,59,70,8],[83,63,70,8,"_reactJsxDevRuntime"],[83,82,70,8],[83,83,70,8,"jsxDEV"],[83,89,70,8],[83,91,70,9,"View"],[83,95,70,13],[83,96,70,13,"default"],[83,103,70,13],[84,8,70,14,"style"],[84,13,70,19],[84,15,70,21,"styles"],[84,21,70,27],[84,22,70,28,"line"],[84,26,70,33],[85,8,70,33,"children"],[85,16,70,33],[85,18,71,11,"items"],[85,23,71,16],[85,24,71,17,"map"],[85,27,71,20],[85,28,71,21],[85,29,71,22,"bundle"],[85,35,71,28],[85,37,71,30,"key"],[85,40,71,33],[85,45,71,38],[86,10,72,12],[86,16,72,18,"textStyle"],[86,25,72,27],[86,28,73,14,"bundle"],[86,34,73,20],[86,35,73,21,"fg"],[86,37,73,23],[86,41,73,27,"COLORS"],[86,47,73,33],[86,48,73,34,"bundle"],[86,54,73,40],[86,55,73,41,"fg"],[86,57,73,43],[86,58,73,44],[86,61,74,18],[87,12,75,20,"backgroundColor"],[87,27,75,35],[87,29,75,37,"bundle"],[87,35,75,43],[87,36,75,44,"bg"],[87,38,75,46],[87,42,75,50,"COLORS"],[87,48,75,56],[87,49,75,57,"bundle"],[87,55,75,63],[87,56,75,64,"bg"],[87,58,75,66],[87,59,75,67],[88,12,76,20,"color"],[88,17,76,25],[88,19,76,27,"bundle"],[88,25,76,33],[88,26,76,34,"fg"],[88,28,76,36],[88,32,76,40,"COLORS"],[88,38,76,46],[88,39,76,47,"bundle"],[88,45,76,53],[88,46,76,54,"fg"],[88,48,76,56],[89,10,77,18],[89,11,77,19],[89,14,78,18],[90,12,79,20,"backgroundColor"],[90,27,79,35],[90,29,79,37,"bundle"],[90,35,79,43],[90,36,79,44,"bg"],[90,38,79,46],[90,42,79,50,"COLORS"],[90,48,79,56],[90,49,79,57,"bundle"],[90,55,79,63],[90,56,79,64,"bg"],[90,58,79,66],[91,10,80,18],[91,11,80,19],[92,10,81,12],[92,30,82,14],[92,34,82,14,"_reactJsxDevRuntime"],[92,53,82,14],[92,54,82,14,"jsxDEV"],[92,60,82,14],[92,62,82,15,"Text"],[92,66,82,19],[92,67,82,19,"default"],[92,74,82,19],[93,12,82,20,"style"],[93,17,82,25],[93,19,82,27],[93,20,82,28,"style"],[93,25,82,33],[93,27,82,35,"textStyle"],[93,36,82,44],[93,37,82,46],[94,12,82,46,"children"],[94,20,82,46],[94,22,83,17,"getText"],[94,29,83,24],[94,30,83,25,"bundle"],[94,36,83,31],[94,37,83,32,"content"],[94,44,83,39],[94,46,83,41,"key"],[94,49,83,44],[95,10,83,45],[95,13,82,52,"key"],[95,16,82,55],[96,12,82,55,"fileName"],[96,20,82,55],[96,22,82,55,"_jsxFileName"],[96,34,82,55],[97,12,82,55,"lineNumber"],[97,22,82,55],[98,12,82,55,"columnNumber"],[98,24,82,55],[99,10,82,55],[99,17,84,20],[99,18,84,21],[100,8,86,10],[100,9,86,11],[101,6,86,12],[101,9,70,39,"i"],[101,10,70,40],[102,8,70,40,"fileName"],[102,16,70,40],[102,18,70,40,"_jsxFileName"],[102,30,70,40],[103,8,70,40,"lineNumber"],[103,18,70,40],[104,8,70,40,"columnNumber"],[104,20,70,40],[105,6,70,40],[105,13,87,14],[105,14,88,7],[106,4,88,8],[106,20,89,6],[106,21,89,7],[107,2,91,0],[108,2,93,0],[108,8,93,6,"styles"],[108,14,93,12],[108,17,93,15,"StyleSheet"],[108,27,93,25],[108,28,93,25,"default"],[108,35,93,25],[108,36,93,26,"create"],[108,42,93,32],[108,43,93,33],[109,4,94,2,"line"],[109,8,94,6],[109,10,94,8],[110,6,95,4,"flexDirection"],[110,19,95,17],[110,21,95,19],[111,4,96,2],[112,2,97,0],[112,3,97,1],[112,4,97,2],[113,0,97,3],[113,3]],"functionMap":{"names":["<global>","Ansi","text.split.map$argument_0","parsedLines.map$argument_0","getText","items.map$argument_0"],"mappings":"AAA;OCiC;2CCE;MDK;kBEG;GFS;kBGE;GHU;uBEI;qBEE;WFe;OFE;CDG"},"hasCjsExports":false},"type":"js/module"}]} |