Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/97/e63c9b3ed41e1a4443b6b627d443cb0bea7765475b23b17aa2230345ee0cd6f51e1627
T
2025-10-24 02:40:54 +00:00

1 line
6.9 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":["*"]}},{"name":"./useNavigation.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":47},"end":{"line":4,"column":51,"index":98}}],"key":"QYUBGacr5qSJ4R+u3laZK0wRG3s=","exportNames":["*"]}}],"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 exports.useIsFocused = useIsFocused;\n var React = _interopRequireWildcard(require(_dependencyMap[0], \"react\"));\n var _useNavigation = require(_dependencyMap[1], \"./useNavigation.js\");\n function _interopRequireWildcard(e, t) { if (\"function\" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || \"object\" != typeof e && \"function\" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) \"default\" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }\n /**\n * Hook to get the current focus state of the screen. Returns a `true` if screen is focused, otherwise `false`.\n * This can be used if a component needs to render something based on the focus state.\n */\n function useIsFocused() {\n const navigation = (0, _useNavigation.useNavigation)();\n const subscribe = React.useCallback(callback => {\n const unsubscribeFocus = navigation.addListener('focus', callback);\n const unsubscribeBlur = navigation.addListener('blur', callback);\n return () => {\n unsubscribeFocus();\n unsubscribeBlur();\n };\n }, [navigation]);\n const value = React.useSyncExternalStore(subscribe, navigation.isFocused, navigation.isFocused);\n return value;\n }\n});","lineCount":28,"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,"exports"],[7,9,1,13],[7,10,1,13,"useIsFocused"],[7,22,1,13],[7,25,1,13,"useIsFocused"],[7,37,1,13],[8,2,3,0],[8,6,3,0,"React"],[8,11,3,0],[8,14,3,0,"_interopRequireWildcard"],[8,37,3,0],[8,38,3,0,"require"],[8,45,3,0],[8,46,3,0,"_dependencyMap"],[8,60,3,0],[9,2,4,0],[9,6,4,0,"_useNavigation"],[9,20,4,0],[9,23,4,0,"require"],[9,30,4,0],[9,31,4,0,"_dependencyMap"],[9,45,4,0],[10,2,4,51],[10,11,4,51,"_interopRequireWildcard"],[10,35,4,51,"e"],[10,36,4,51],[10,38,4,51,"t"],[10,39,4,51],[10,68,4,51,"WeakMap"],[10,75,4,51],[10,81,4,51,"r"],[10,82,4,51],[10,89,4,51,"WeakMap"],[10,96,4,51],[10,100,4,51,"n"],[10,101,4,51],[10,108,4,51,"WeakMap"],[10,115,4,51],[10,127,4,51,"_interopRequireWildcard"],[10,150,4,51],[10,162,4,51,"_interopRequireWildcard"],[10,163,4,51,"e"],[10,164,4,51],[10,166,4,51,"t"],[10,167,4,51],[10,176,4,51,"t"],[10,177,4,51],[10,181,4,51,"e"],[10,182,4,51],[10,186,4,51,"e"],[10,187,4,51],[10,188,4,51,"__esModule"],[10,198,4,51],[10,207,4,51,"e"],[10,208,4,51],[10,214,4,51,"o"],[10,215,4,51],[10,217,4,51,"i"],[10,218,4,51],[10,220,4,51,"f"],[10,221,4,51],[10,226,4,51,"__proto__"],[10,235,4,51],[10,243,4,51,"default"],[10,250,4,51],[10,252,4,51,"e"],[10,253,4,51],[10,270,4,51,"e"],[10,271,4,51],[10,294,4,51,"e"],[10,295,4,51],[10,320,4,51,"e"],[10,321,4,51],[10,330,4,51,"f"],[10,331,4,51],[10,337,4,51,"o"],[10,338,4,51],[10,341,4,51,"t"],[10,342,4,51],[10,345,4,51,"n"],[10,346,4,51],[10,349,4,51,"r"],[10,350,4,51],[10,358,4,51,"o"],[10,359,4,51],[10,360,4,51,"has"],[10,363,4,51],[10,364,4,51,"e"],[10,365,4,51],[10,375,4,51,"o"],[10,376,4,51],[10,377,4,51,"get"],[10,380,4,51],[10,381,4,51,"e"],[10,382,4,51],[10,385,4,51,"o"],[10,386,4,51],[10,387,4,51,"set"],[10,390,4,51],[10,391,4,51,"e"],[10,392,4,51],[10,394,4,51,"f"],[10,395,4,51],[10,411,4,51,"t"],[10,412,4,51],[10,416,4,51,"e"],[10,417,4,51],[10,433,4,51,"t"],[10,434,4,51],[10,441,4,51,"hasOwnProperty"],[10,455,4,51],[10,456,4,51,"call"],[10,460,4,51],[10,461,4,51,"e"],[10,462,4,51],[10,464,4,51,"t"],[10,465,4,51],[10,472,4,51,"i"],[10,473,4,51],[10,477,4,51,"o"],[10,478,4,51],[10,481,4,51,"Object"],[10,487,4,51],[10,488,4,51,"defineProperty"],[10,502,4,51],[10,507,4,51,"Object"],[10,513,4,51],[10,514,4,51,"getOwnPropertyDescriptor"],[10,538,4,51],[10,539,4,51,"e"],[10,540,4,51],[10,542,4,51,"t"],[10,543,4,51],[10,550,4,51,"i"],[10,551,4,51],[10,552,4,51,"get"],[10,555,4,51],[10,559,4,51,"i"],[10,560,4,51],[10,561,4,51,"set"],[10,564,4,51],[10,568,4,51,"o"],[10,569,4,51],[10,570,4,51,"f"],[10,571,4,51],[10,573,4,51,"t"],[10,574,4,51],[10,576,4,51,"i"],[10,577,4,51],[10,581,4,51,"f"],[10,582,4,51],[10,583,4,51,"t"],[10,584,4,51],[10,588,4,51,"e"],[10,589,4,51],[10,590,4,51,"t"],[10,591,4,51],[10,602,4,51,"f"],[10,603,4,51],[10,608,4,51,"e"],[10,609,4,51],[10,611,4,51,"t"],[10,612,4,51],[11,2,6,0],[12,0,7,0],[13,0,8,0],[14,0,9,0],[15,2,10,7],[15,11,10,16,"useIsFocused"],[15,23,10,28,"useIsFocused"],[15,24,10,28],[15,26,10,31],[16,4,11,2],[16,10,11,8,"navigation"],[16,20,11,18],[16,23,11,21],[16,27,11,21,"useNavigation"],[16,55,11,34],[16,57,11,35],[16,58,11,36],[17,4,12,2],[17,10,12,8,"subscribe"],[17,19,12,17],[17,22,12,20,"React"],[17,27,12,25],[17,28,12,26,"useCallback"],[17,39,12,37],[17,40,12,38,"callback"],[17,48,12,46],[17,52,12,50],[18,6,13,4],[18,12,13,10,"unsubscribeFocus"],[18,28,13,26],[18,31,13,29,"navigation"],[18,41,13,39],[18,42,13,40,"addListener"],[18,53,13,51],[18,54,13,52],[18,61,13,59],[18,63,13,61,"callback"],[18,71,13,69],[18,72,13,70],[19,6,14,4],[19,12,14,10,"unsubscribeBlur"],[19,27,14,25],[19,30,14,28,"navigation"],[19,40,14,38],[19,41,14,39,"addListener"],[19,52,14,50],[19,53,14,51],[19,59,14,57],[19,61,14,59,"callback"],[19,69,14,67],[19,70,14,68],[20,6,15,4],[20,13,15,11],[20,19,15,17],[21,8,16,6,"unsubscribeFocus"],[21,24,16,22],[21,25,16,23],[21,26,16,24],[22,8,17,6,"unsubscribeBlur"],[22,23,17,21],[22,24,17,22],[22,25,17,23],[23,6,18,4],[23,7,18,5],[24,4,19,2],[24,5,19,3],[24,7,19,5],[24,8,19,6,"navigation"],[24,18,19,16],[24,19,19,17],[24,20,19,18],[25,4,20,2],[25,10,20,8,"value"],[25,15,20,13],[25,18,20,16,"React"],[25,23,20,21],[25,24,20,22,"useSyncExternalStore"],[25,44,20,42],[25,45,20,43,"subscribe"],[25,54,20,52],[25,56,20,54,"navigation"],[25,66,20,64],[25,67,20,65,"isFocused"],[25,76,20,74],[25,78,20,76,"navigation"],[25,88,20,86],[25,89,20,87,"isFocused"],[25,98,20,96],[25,99,20,97],[26,4,21,2],[26,11,21,9,"value"],[26,16,21,14],[27,2,22,0],[28,0,22,1],[28,3]],"functionMap":{"names":["<global>","useIsFocused","subscribe","<anonymous>"],"mappings":"AAA;OCS;sCCE;WCG;KDG;GDC;CDG"}},"type":"js/module"}]}