mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 19:11:02 +00:00
1 line
5.9 KiB
Plaintext
1 line
5.9 KiB
Plaintext
{"dependencies":[{"name":"@react-navigation/core","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":3,"column":0,"index":15},"end":{"line":3,"column":71,"index":86}}],"key":"Wm75LgE4xYscVWo0KoLFlflJQCo=","exportNames":["*"],"imports":1}},{"name":"react","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":87},"end":{"line":4,"column":31,"index":118}}],"key":"RtGiGa+/H7VrI7GDQDLhO1UbpU8=","exportNames":["*"],"imports":1}},{"name":"./useLinkBuilder.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":5,"column":0,"index":119},"end":{"line":5,"column":53,"index":172}}],"key":"GFkuOnxplgG4Cj6Xcb1yAsF8qu4=","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.useLinkTo = useLinkTo;\n var _reactNavigationCore = require(_dependencyMap[0], \"@react-navigation/core\");\n var _react = require(_dependencyMap[1], \"react\");\n var React = _interopNamespace(_react);\n var _useLinkBuilderJs = require(_dependencyMap[2], \"./useLinkBuilder.js\");\n /**\n * Helper to navigate to a screen using a href based on the linking options.\n *\n * @returns function that receives the href to navigate to.\n */\n function useLinkTo() {\n const navigation = React.useContext(_reactNavigationCore.NavigationContainerRefContext);\n const {\n buildAction\n } = (0, _useLinkBuilderJs.useLinkBuilder)();\n const linkTo = React.useCallback(href => {\n if (navigation === undefined) {\n throw new Error(\"Couldn't find a navigation object. Is your component inside NavigationContainer?\");\n }\n const action = buildAction(href);\n navigation.dispatch(action);\n }, [buildAction, navigation]);\n return linkTo;\n }\n});","lineCount":46,"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,12,0,"exports"],[22,9,12,0],[22,10,12,0,"useLinkTo"],[22,19,12,0],[22,22,12,0,"useLinkTo"],[22,31,12,0],[23,2,3,0],[23,6,3,0,"_reactNavigationCore"],[23,26,3,0],[23,29,3,0,"require"],[23,36,3,0],[23,37,3,0,"_dependencyMap"],[23,51,3,0],[24,2,4,0],[24,6,4,0,"_react"],[24,12,4,0],[24,15,4,0,"require"],[24,22,4,0],[24,23,4,0,"_dependencyMap"],[24,37,4,0],[25,2,4,0],[25,6,4,0,"React"],[25,11,4,0],[25,14,4,0,"_interopNamespace"],[25,31,4,0],[25,32,4,0,"_react"],[25,38,4,0],[26,2,5,0],[26,6,5,0,"_useLinkBuilderJs"],[26,23,5,0],[26,26,5,0,"require"],[26,33,5,0],[26,34,5,0,"_dependencyMap"],[26,48,5,0],[27,2,7,0],[28,0,8,0],[29,0,9,0],[30,0,10,0],[31,0,11,0],[32,2,12,7],[32,11,12,16,"useLinkTo"],[32,20,12,25,"useLinkTo"],[32,21,12,25],[32,23,12,28],[33,4,13,2],[33,10,13,8,"navigation"],[33,20,13,18],[33,23,13,21,"React"],[33,28,13,26],[33,29,13,27,"useContext"],[33,39,13,37],[33,40,13,38,"NavigationContainerRefContext"],[33,60,13,67],[33,61,13,67,"NavigationContainerRefContext"],[33,90,13,67],[33,91,13,68],[34,4,14,2],[34,10,14,8],[35,6,15,4,"buildAction"],[36,4,16,2],[36,5,16,3],[36,8,16,6],[36,12,16,6,"useLinkBuilder"],[36,29,16,20],[36,30,16,20,"useLinkBuilder"],[36,44,16,20],[36,46,16,21],[36,47,16,22],[37,4,17,2],[37,10,17,8,"linkTo"],[37,16,17,14],[37,19,17,17,"React"],[37,24,17,22],[37,25,17,23,"useCallback"],[37,36,17,34],[37,37,17,35,"href"],[37,41,17,39],[37,45,17,43],[38,6,18,4],[38,10,18,8,"navigation"],[38,20,18,18],[38,25,18,23,"undefined"],[38,34,18,32],[38,36,18,34],[39,8,19,6],[39,14,19,12],[39,18,19,16,"Error"],[39,23,19,21],[39,24,19,22],[39,106,19,104],[39,107,19,105],[40,6,20,4],[41,6,21,4],[41,12,21,10,"action"],[41,18,21,16],[41,21,21,19,"buildAction"],[41,32,21,30],[41,33,21,31,"href"],[41,37,21,35],[41,38,21,36],[42,6,22,4,"navigation"],[42,16,22,14],[42,17,22,15,"dispatch"],[42,25,22,23],[42,26,22,24,"action"],[42,32,22,30],[42,33,22,31],[43,4,23,2],[43,5,23,3],[43,7,23,5],[43,8,23,6,"buildAction"],[43,19,23,17],[43,21,23,19,"navigation"],[43,31,23,29],[43,32,23,30],[43,33,23,31],[44,4,24,2],[44,11,24,9,"linkTo"],[44,17,24,15],[45,2,25,0],[46,0,25,1],[46,3]],"functionMap":{"names":["<global>","useLinkTo","linkTo"],"mappings":"AAA;OCW;mCCK;GDM;CDE"},"hasCjsExports":false},"type":"js/module"}]} |