Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/56/986754ae96a464a86950e04e91a49218e5093560be17b998b34ddced62e05adad44933
T
2025-10-24 02:48:32 +00:00

1 line
5.4 KiB
Plaintext

{"dependencies":[{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":31,"index":46}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"./NavigationContainerRefContext.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":47},"end":{"line":4,"column":83,"index":130}}],"key":"jyCEN2VkKgpbDgw2/O4lCBd0Gts=","exportNames":["*"],"imports":1}},{"name":"./NavigationContext.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":5,"column":0,"index":131},"end":{"line":5,"column":59,"index":190}}],"key":"RM0XoJ1uy5+hqq85ZlLNt6FYuco=","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 function _interopNamespace(e) {\n if (e && e.__esModule) return e;\n var n = {};\n if (e) Object.keys(e).forEach(function (k) {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () {\n return e[k];\n }\n });\n });\n n.default = e;\n return n;\n }\n exports.useNavigation = useNavigation;\n var _react = require(_dependencyMap[0], \"react\");\n var React = _interopNamespace(_react);\n var _NavigationContainerRefContextJs = require(_dependencyMap[1], \"./NavigationContainerRefContext.js\");\n var _NavigationContextJs = require(_dependencyMap[2], \"./NavigationContext.js\");\n /**\n * Hook to access the navigation prop of the parent screen anywhere.\n *\n * @returns Navigation prop of the parent screen.\n */\n function useNavigation() {\n const root = React.useContext(_NavigationContainerRefContextJs.NavigationContainerRefContext);\n const navigation = React.useContext(_NavigationContextJs.NavigationContext);\n if (navigation === undefined && root === undefined) {\n throw new Error(\"Couldn't find a navigation object. Is your component inside NavigationContainer?\");\n }\n\n // FIXME: Figure out a better way to do this\n return navigation ?? root;\n }\n});","lineCount":42,"map":[[2,2,1,0],[2,14,1,12],[4,2,1,13,"Object"],[4,8,1,13],[4,9,1,13,"defineProperty"],[4,23,1,13],[4,24,1,13,"exports"],[4,31,1,13],[5,4,1,13,"value"],[5,9,1,13],[6,2,1,13],[7,2,1,13],[7,11,1,13,"_interopNamespace"],[7,29,1,13,"e"],[7,30,1,13],[8,4,1,13],[8,8,1,13,"e"],[8,9,1,13],[8,13,1,13,"e"],[8,14,1,13],[8,15,1,13,"__esModule"],[8,25,1,13],[8,34,1,13,"e"],[8,35,1,13],[9,4,1,13],[9,8,1,13,"n"],[9,9,1,13],[10,4,1,13],[10,8,1,13,"e"],[10,9,1,13],[10,11,1,13,"Object"],[10,17,1,13],[10,18,1,13,"keys"],[10,22,1,13],[10,23,1,13,"e"],[10,24,1,13],[10,26,1,13,"forEach"],[10,33,1,13],[10,44,1,13,"k"],[10,45,1,13],[11,6,1,13],[11,10,1,13,"d"],[11,11,1,13],[11,14,1,13,"Object"],[11,20,1,13],[11,21,1,13,"getOwnPropertyDescriptor"],[11,45,1,13],[11,46,1,13,"e"],[11,47,1,13],[11,49,1,13,"k"],[11,50,1,13],[12,6,1,13,"Object"],[12,12,1,13],[12,13,1,13,"defineProperty"],[12,27,1,13],[12,28,1,13,"n"],[12,29,1,13],[12,31,1,13,"k"],[12,32,1,13],[12,34,1,13,"d"],[12,35,1,13],[12,36,1,13,"get"],[12,39,1,13],[12,42,1,13,"d"],[12,43,1,13],[13,8,1,13,"enumerable"],[13,18,1,13],[14,8,1,13,"get"],[14,11,1,13],[14,22,1,13,"get"],[14,23,1,13],[15,10,1,13],[15,17,1,13,"e"],[15,18,1,13],[15,19,1,13,"k"],[15,20,1,13],[16,8,1,13],[17,6,1,13],[18,4,1,13],[19,4,1,13,"n"],[19,5,1,13],[19,6,1,13,"default"],[19,13,1,13],[19,16,1,13,"e"],[19,17,1,13],[20,4,1,13],[20,11,1,13,"n"],[20,12,1,13],[21,2,1,13],[22,2,11,0,"exports"],[22,9,11,0],[22,10,11,0,"useNavigation"],[22,23,11,0],[22,26,11,0,"useNavigation"],[22,39,11,0],[23,2,3,0],[23,6,3,0,"_react"],[23,12,3,0],[23,15,3,0,"require"],[23,22,3,0],[23,23,3,0,"_dependencyMap"],[23,37,3,0],[24,2,3,0],[24,6,3,0,"React"],[24,11,3,0],[24,14,3,0,"_interopNamespace"],[24,31,3,0],[24,32,3,0,"_react"],[24,38,3,0],[25,2,4,0],[25,6,4,0,"_NavigationContainerRefContextJs"],[25,38,4,0],[25,41,4,0,"require"],[25,48,4,0],[25,49,4,0,"_dependencyMap"],[25,63,4,0],[26,2,5,0],[26,6,5,0,"_NavigationContextJs"],[26,26,5,0],[26,29,5,0,"require"],[26,36,5,0],[26,37,5,0,"_dependencyMap"],[26,51,5,0],[27,2,6,0],[28,0,7,0],[29,0,8,0],[30,0,9,0],[31,0,10,0],[32,2,11,7],[32,11,11,16,"useNavigation"],[32,24,11,29,"useNavigation"],[32,25,11,29],[32,27,11,32],[33,4,12,2],[33,10,12,8,"root"],[33,14,12,12],[33,17,12,15,"React"],[33,22,12,20],[33,23,12,21,"useContext"],[33,33,12,31],[33,34,12,32,"NavigationContainerRefContext"],[33,66,12,61],[33,67,12,61,"NavigationContainerRefContext"],[33,96,12,61],[33,97,12,62],[34,4,13,2],[34,10,13,8,"navigation"],[34,20,13,18],[34,23,13,21,"React"],[34,28,13,26],[34,29,13,27,"useContext"],[34,39,13,37],[34,40,13,38,"NavigationContext"],[34,60,13,55],[34,61,13,55,"NavigationContext"],[34,78,13,55],[34,79,13,56],[35,4,14,2],[35,8,14,6,"navigation"],[35,18,14,16],[35,23,14,21,"undefined"],[35,32,14,30],[35,36,14,34,"root"],[35,40,14,38],[35,45,14,43,"undefined"],[35,54,14,52],[35,56,14,54],[36,6,15,4],[36,12,15,10],[36,16,15,14,"Error"],[36,21,15,19],[36,22,15,20],[36,104,15,102],[36,105,15,103],[37,4,16,2],[39,4,18,2],[40,4,19,2],[40,11,19,9,"navigation"],[40,21,19,19],[40,25,19,23,"root"],[40,29,19,27],[41,2,20,0],[42,0,20,1],[42,3]],"functionMap":{"names":["<global>","useNavigation"],"mappings":"AAA;OCU;CDS"},"hasCjsExports":false},"type":"js/module"}]}