mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 12:21:01 +00:00
1 line
14 KiB
Plaintext
1 line
14 KiB
Plaintext
{"dependencies":[{"name":"@babel/runtime/helpers/interopRequireDefault","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"kslwqCIsh6ew+I1KeA1rlVRjsAk=","exportNames":["*"]}},{"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":["*"]}},{"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":["*"]}},{"name":"react-native-web/dist/exports/StyleSheet","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"MK7+k1V+KnvCVW7Kj2k/ydtjmVU=","exportNames":["*"]}},{"name":"react-native-web/dist/exports/Text","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"JKIzsQ5YQ0gDj0MIyY0Q7F1zJtU=","exportNames":["*"]}},{"name":"react-native-web/dist/exports/View","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"4kYBDC6LJJXoH7P9rWDi3vkLVB0=","exportNames":["*"]}},{"name":"react/jsx-dev-runtime","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"L9D70Z4hi4aGuui1ysja/oQ5ytI=","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 Object.defineProperty(exports, \"__esModule\", {\n value: true\n });\n exports.Ansi = Ansi;\n var _anser = _interopRequireDefault(require(_dependencyMap[1], \"anser\"));\n var _react = _interopRequireDefault(require(_dependencyMap[2], \"react\"));\n var _StyleSheet = _interopRequireDefault(require(_dependencyMap[3], \"react-native-web/dist/exports/StyleSheet\"));\n var _Text = _interopRequireDefault(require(_dependencyMap[4], \"react-native-web/dist/exports/Text\"));\n var _View = _interopRequireDefault(require(_dependencyMap[5], \"react-native-web/dist/exports/View\"));\n var _jsxDevRuntime = require(_dependencyMap[6], \"react/jsx-dev-runtime\");\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 // 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, _jsxDevRuntime.jsxDEV)(_jsxDevRuntime.Fragment, {\n children: parsedLines.map((items, i) => /*#__PURE__*/(0, _jsxDevRuntime.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, _jsxDevRuntime.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":103,"map":[[7,2,8,0],[7,6,8,0,"_anser"],[7,12,8,0],[7,15,8,0,"_interopRequireDefault"],[7,37,8,0],[7,38,8,0,"require"],[7,45,8,0],[7,46,8,0,"_dependencyMap"],[7,60,8,0],[8,2,9,0],[8,6,9,0,"_react"],[8,12,9,0],[8,15,9,0,"_interopRequireDefault"],[8,37,9,0],[8,38,9,0,"require"],[8,45,9,0],[8,46,9,0,"_dependencyMap"],[8,60,9,0],[9,2,9,26],[9,6,9,26,"_StyleSheet"],[9,17,9,26],[9,20,9,26,"_interopRequireDefault"],[9,42,9,26],[9,43,9,26,"require"],[9,50,9,26],[9,51,9,26,"_dependencyMap"],[9,65,9,26],[10,2,9,26],[10,6,9,26,"_Text"],[10,11,9,26],[10,14,9,26,"_interopRequireDefault"],[10,36,9,26],[10,37,9,26,"require"],[10,44,9,26],[10,45,9,26,"_dependencyMap"],[10,59,9,26],[11,2,9,26],[11,6,9,26,"_View"],[11,11,9,26],[11,14,9,26,"_interopRequireDefault"],[11,36,9,26],[11,37,9,26,"require"],[11,44,9,26],[11,45,9,26,"_dependencyMap"],[11,59,9,26],[12,2,9,26],[12,6,9,26,"_jsxDevRuntime"],[12,20,9,26],[12,23,9,26,"require"],[12,30,9,26],[12,31,9,26,"_dependencyMap"],[12,45,9,26],[13,2,9,26],[13,6,9,26,"_jsxFileName"],[13,18,9,26],[14,2,1,0],[15,0,2,0],[16,0,3,0],[17,0,4,0],[18,0,5,0],[19,0,6,0],[20,0,7,0],[21,2,13,0],[22,2,14,0],[22,8,14,6,"COLORS"],[22,14,14,36],[22,17,14,39],[23,4,15,2],[23,16,15,14],[23,18,15,16],[23,35,15,33],[24,4,16,2],[24,14,16,12],[24,16,16,14],[24,34,16,32],[25,4,17,2],[25,16,17,14],[25,18,17,16],[25,37,17,35],[26,4,18,2],[26,17,18,15],[26,19,18,17],[26,39,18,37],[27,4,19,2],[27,15,19,13],[27,17,19,15],[27,37,19,35],[28,4,20,2],[28,18,20,16],[28,20,20,18],[28,40,20,38],[29,4,21,2],[29,15,21,13],[29,17,21,15],[29,37,21,35],[30,4,22,2],[31,4,23,2],[32,4,24,2],[32,23,24,21],[32,25,24,23],[32,42,24,40],[33,4,25,2],[33,21,25,19],[33,23,25,21],[33,41,25,39],[34,4,26,2],[34,23,26,21],[34,25,26,23],[34,44,26,42],[35,4,27,2],[35,24,27,22],[35,26,27,24],[35,46,27,44],[36,4,28,2],[36,22,28,20],[36,24,28,22],[36,44,28,42],[37,4,29,2],[37,25,29,23],[37,27,29,25],[37,47,29,45],[38,4,30,2],[38,22,30,20],[38,24,30,22],[38,44,30,42],[39,4,31,2],[39,23,31,21],[39,25,31,23],[40,2,32,0],[40,3,32,1],[41,2,34,7],[41,11,34,16,"Ansi"],[41,15,34,20,"Ansi"],[41,16,34,21],[42,4,34,23,"text"],[42,8,34,27],[43,4,34,29,"style"],[44,2,34,82],[44,3,34,83],[44,5,34,85],[45,4,35,2],[45,8,35,6,"commonWhitespaceLength"],[45,30,35,28],[45,33,35,31,"Infinity"],[45,41,35,39],[46,4,36,2],[46,10,36,8,"parsedLines"],[46,21,36,19],[46,24,36,22,"text"],[46,28,36,26],[46,29,36,27,"split"],[46,34,36,32],[46,35,36,33],[46,39,36,37],[46,40,36,38],[46,41,36,39,"map"],[46,44,36,42],[46,45,36,44,"line"],[46,49,36,48],[46,53,37,4,"Anser"],[46,67,37,9],[46,68,37,10,"ansiToJson"],[46,78,37,20],[46,79,37,21,"line"],[46,83,37,25],[46,85,37,27],[47,6,38,6,"json"],[47,10,38,10],[47,12,38,12],[47,16,38,16],[48,6,39,6,"remove_empty"],[48,18,39,18],[48,20,39,20],[48,24,39,24],[49,6,40,6,"use_classes"],[49,17,40,17],[49,19,40,19],[50,4,41,4],[50,5,41,5],[50,6,42,2],[50,7,42,3],[51,4,44,2,"parsedLines"],[51,15,44,13],[51,16,44,14,"map"],[51,19,44,17],[51,20,44,19,"lines"],[51,25,44,24],[51,29,44,29],[52,6,45,4],[53,6,46,4],[54,6,47,4],[55,6,48,4],[55,12,48,10,"match"],[55,17,48,15],[55,20,48,18,"lines"],[55,25,48,23],[55,26,48,24],[55,27,48,25],[55,28,48,26],[55,32,48,30,"lines"],[55,37,48,35],[55,38,48,36],[55,39,48,37],[55,40,48,38],[55,42,48,40,"content"],[55,49,48,47],[55,51,48,49,"match"],[55,56,48,54],[55,57,48,55],[55,62,48,60],[55,63,48,61],[56,6,49,4],[56,12,49,10,"whitespaceLength"],[56,28,49,26],[56,31,49,30,"match"],[56,36,49,35],[56,40,49,39,"match"],[56,45,49,44],[56,46,49,45],[56,47,49,46],[56,48,49,47],[56,50,49,49,"length"],[56,56,49,55],[56,60,49,60],[56,61,49,61],[57,6,50,4],[57,10,50,8,"whitespaceLength"],[57,26,50,24],[57,29,50,27,"commonWhitespaceLength"],[57,51,50,49],[57,53,50,51],[58,8,51,6,"commonWhitespaceLength"],[58,30,51,28],[58,33,51,31,"whitespaceLength"],[58,49,51,47],[59,6,52,4],[60,4,53,2],[60,5,53,3],[60,6,53,4],[61,4,55,2],[61,10,55,8,"getText"],[61,17,55,15],[61,20,55,18,"getText"],[61,21,55,19,"content"],[61,28,55,34],[61,30,55,36,"key"],[61,33,55,47],[61,38,55,52],[62,6,56,4],[62,10,56,8,"key"],[62,13,56,11],[62,18,56,16],[62,19,56,17],[62,21,56,19],[63,8,57,6],[64,8,58,6],[64,15,58,13,"content"],[64,22,58,20],[64,23,58,21,"replace"],[64,30,58,28],[64,31,58,29],[64,37,58,35],[64,39,58,37],[64,42,58,40],[64,43,58,41],[65,6,59,4],[65,7,59,5],[65,13,59,11],[65,17,59,15,"key"],[65,20,59,18],[65,25,59,23],[65,26,59,24],[65,30,59,28,"commonWhitespaceLength"],[65,52,59,50],[65,55,59,53,"Infinity"],[65,63,59,61],[65,65,59,63],[66,8,60,6],[67,8,61,6],[67,15,61,13,"content"],[67,22,61,20],[67,23,61,21,"substr"],[67,29,61,27],[67,30,61,28,"commonWhitespaceLength"],[67,52,61,50],[67,53,61,51],[68,6,62,4],[68,7,62,5],[68,13,62,11],[69,8,63,6],[69,15,63,13,"content"],[69,22,63,20],[70,6,64,4],[71,4,65,2],[71,5,65,3],[72,4,67,2],[72,24,68,4],[72,28,68,4,"_jsxDevRuntime"],[72,42,68,4],[72,43,68,4,"jsxDEV"],[72,49,68,4],[72,51,68,4,"_jsxDevRuntime"],[72,65,68,4],[72,66,68,4,"Fragment"],[72,74,68,4],[73,6,68,4,"children"],[73,14,68,4],[73,16,69,7,"parsedLines"],[73,27,69,18],[73,28,69,19,"map"],[73,31,69,22],[73,32,69,23],[73,33,69,24,"items"],[73,38,69,29],[73,40,69,31,"i"],[73,41,69,32],[73,59,70,8],[73,63,70,8,"_jsxDevRuntime"],[73,77,70,8],[73,78,70,8,"jsxDEV"],[73,84,70,8],[73,86,70,9,"_View"],[73,91,70,9],[73,92,70,9,"default"],[73,99,70,13],[74,8,70,14,"style"],[74,13,70,19],[74,15,70,21,"styles"],[74,21,70,27],[74,22,70,28,"line"],[74,26,70,33],[75,8,70,33,"children"],[75,16,70,33],[75,18,71,11,"items"],[75,23,71,16],[75,24,71,17,"map"],[75,27,71,20],[75,28,71,21],[75,29,71,22,"bundle"],[75,35,71,28],[75,37,71,30,"key"],[75,40,71,33],[75,45,71,38],[76,10,72,12],[76,16,72,18,"textStyle"],[76,25,72,27],[76,28,73,14,"bundle"],[76,34,73,20],[76,35,73,21,"fg"],[76,37,73,23],[76,41,73,27,"COLORS"],[76,47,73,33],[76,48,73,34,"bundle"],[76,54,73,40],[76,55,73,41,"fg"],[76,57,73,43],[76,58,73,44],[76,61,74,18],[77,12,75,20,"backgroundColor"],[77,27,75,35],[77,29,75,37,"bundle"],[77,35,75,43],[77,36,75,44,"bg"],[77,38,75,46],[77,42,75,50,"COLORS"],[77,48,75,56],[77,49,75,57,"bundle"],[77,55,75,63],[77,56,75,64,"bg"],[77,58,75,66],[77,59,75,67],[78,12,76,20,"color"],[78,17,76,25],[78,19,76,27,"bundle"],[78,25,76,33],[78,26,76,34,"fg"],[78,28,76,36],[78,32,76,40,"COLORS"],[78,38,76,46],[78,39,76,47,"bundle"],[78,45,76,53],[78,46,76,54,"fg"],[78,48,76,56],[79,10,77,18],[79,11,77,19],[79,14,78,18],[80,12,79,20,"backgroundColor"],[80,27,79,35],[80,29,79,37,"bundle"],[80,35,79,43],[80,36,79,44,"bg"],[80,38,79,46],[80,42,79,50,"COLORS"],[80,48,79,56],[80,49,79,57,"bundle"],[80,55,79,63],[80,56,79,64,"bg"],[80,58,79,66],[81,10,80,18],[81,11,80,19],[82,10,81,12],[82,30,82,14],[82,34,82,14,"_jsxDevRuntime"],[82,48,82,14],[82,49,82,14,"jsxDEV"],[82,55,82,14],[82,57,82,15,"_Text"],[82,62,82,15],[82,63,82,15,"default"],[82,70,82,19],[83,12,82,20,"style"],[83,17,82,25],[83,19,82,27],[83,20,82,28,"style"],[83,25,82,33],[83,27,82,35,"textStyle"],[83,36,82,44],[83,37,82,46],[84,12,82,46,"children"],[84,20,82,46],[84,22,83,17,"getText"],[84,29,83,24],[84,30,83,25,"bundle"],[84,36,83,31],[84,37,83,32,"content"],[84,44,83,39],[84,46,83,41,"key"],[84,49,83,44],[85,10,83,45],[85,13,82,52,"key"],[85,16,82,55],[86,12,82,55,"fileName"],[86,20,82,55],[86,22,82,55,"_jsxFileName"],[86,34,82,55],[87,12,82,55,"lineNumber"],[87,22,82,55],[88,12,82,55,"columnNumber"],[88,24,82,55],[89,10,82,55],[89,17,84,20],[89,18,84,21],[90,8,86,10],[90,9,86,11],[91,6,86,12],[91,9,70,39,"i"],[91,10,70,40],[92,8,70,40,"fileName"],[92,16,70,40],[92,18,70,40,"_jsxFileName"],[92,30,70,40],[93,8,70,40,"lineNumber"],[93,18,70,40],[94,8,70,40,"columnNumber"],[94,20,70,40],[95,6,70,40],[95,13,87,14],[95,14,88,7],[96,4,88,8],[96,20,89,6],[96,21,89,7],[97,2,91,0],[98,2,93,0],[98,8,93,6,"styles"],[98,14,93,12],[98,17,93,15,"StyleSheet"],[98,36,93,25],[98,37,93,26,"create"],[98,43,93,32],[98,44,93,33],[99,4,94,2,"line"],[99,8,94,6],[99,10,94,8],[100,6,95,4,"flexDirection"],[100,19,95,17],[100,21,95,19],[101,4,96,2],[102,2,97,0],[102,3,97,1],[102,4,97,2],[103,0,97,3],[103,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"}},"type":"js/module"}]} |