mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 19:11:02 +00:00
1 line
6.9 KiB
Plaintext
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":"./NavigationBuilderContext.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":47},"end":{"line":4,"column":73,"index":120}}],"key":"vvb+tbs8cGp9hlTxgL5PZCjRz5E=","exportNames":["*"]}},{"name":"./useClientLayoutEffect.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":5,"column":0,"index":121},"end":{"line":5,"column":67,"index":188}}],"key":"LhoNk5P88pw/w9+MH8FRVAlr+OQ=","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.useScheduleUpdate = useScheduleUpdate;\n var React = _interopRequireWildcard(require(_dependencyMap[0], \"react\"));\n var _NavigationBuilderContext = require(_dependencyMap[1], \"./NavigationBuilderContext.js\");\n var _useClientLayoutEffect = require(_dependencyMap[2], \"./useClientLayoutEffect.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 (var _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 * When screen config changes, we want to update the navigator in the same update phase.\n * However, navigation state is in the root component and React won't let us update it from a child.\n * This is a workaround for that, the scheduled update is stored in the ref without actually calling setState.\n * It lets all subsequent updates access the latest state so it stays correct.\n * Then we call setState during after the component updates.\n */\n function useScheduleUpdate(callback) {\n var _React$useContext = React.useContext(_NavigationBuilderContext.NavigationBuilderContext),\n scheduleUpdate = _React$useContext.scheduleUpdate,\n flushUpdates = _React$useContext.flushUpdates;\n\n // FIXME: This is potentially unsafe\n // However, since we are using sync store, it might be fine\n scheduleUpdate(callback);\n (0, _useClientLayoutEffect.useClientLayoutEffect)(flushUpdates);\n }\n});","lineCount":29,"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,"useScheduleUpdate"],[7,27,1,13],[7,30,1,13,"useScheduleUpdate"],[7,47,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,"_NavigationBuilderContext"],[9,31,4,0],[9,34,4,0,"require"],[9,41,4,0],[9,42,4,0,"_dependencyMap"],[9,56,4,0],[10,2,5,0],[10,6,5,0,"_useClientLayoutEffect"],[10,28,5,0],[10,31,5,0,"require"],[10,38,5,0],[10,39,5,0,"_dependencyMap"],[10,53,5,0],[11,2,5,67],[11,11,5,67,"_interopRequireWildcard"],[11,35,5,67,"e"],[11,36,5,67],[11,38,5,67,"t"],[11,39,5,67],[11,68,5,67,"WeakMap"],[11,75,5,67],[11,81,5,67,"r"],[11,82,5,67],[11,89,5,67,"WeakMap"],[11,96,5,67],[11,100,5,67,"n"],[11,101,5,67],[11,108,5,67,"WeakMap"],[11,115,5,67],[11,127,5,67,"_interopRequireWildcard"],[11,150,5,67],[11,162,5,67,"_interopRequireWildcard"],[11,163,5,67,"e"],[11,164,5,67],[11,166,5,67,"t"],[11,167,5,67],[11,176,5,67,"t"],[11,177,5,67],[11,181,5,67,"e"],[11,182,5,67],[11,186,5,67,"e"],[11,187,5,67],[11,188,5,67,"__esModule"],[11,198,5,67],[11,207,5,67,"e"],[11,208,5,67],[11,214,5,67,"o"],[11,215,5,67],[11,217,5,67,"i"],[11,218,5,67],[11,220,5,67,"f"],[11,221,5,67],[11,226,5,67,"__proto__"],[11,235,5,67],[11,243,5,67,"default"],[11,250,5,67],[11,252,5,67,"e"],[11,253,5,67],[11,270,5,67,"e"],[11,271,5,67],[11,294,5,67,"e"],[11,295,5,67],[11,320,5,67,"e"],[11,321,5,67],[11,330,5,67,"f"],[11,331,5,67],[11,337,5,67,"o"],[11,338,5,67],[11,341,5,67,"t"],[11,342,5,67],[11,345,5,67,"n"],[11,346,5,67],[11,349,5,67,"r"],[11,350,5,67],[11,358,5,67,"o"],[11,359,5,67],[11,360,5,67,"has"],[11,363,5,67],[11,364,5,67,"e"],[11,365,5,67],[11,375,5,67,"o"],[11,376,5,67],[11,377,5,67,"get"],[11,380,5,67],[11,381,5,67,"e"],[11,382,5,67],[11,385,5,67,"o"],[11,386,5,67],[11,387,5,67,"set"],[11,390,5,67],[11,391,5,67,"e"],[11,392,5,67],[11,394,5,67,"f"],[11,395,5,67],[11,409,5,67,"_t"],[11,411,5,67],[11,415,5,67,"e"],[11,416,5,67],[11,432,5,67,"_t"],[11,434,5,67],[11,441,5,67,"hasOwnProperty"],[11,455,5,67],[11,456,5,67,"call"],[11,460,5,67],[11,461,5,67,"e"],[11,462,5,67],[11,464,5,67,"_t"],[11,466,5,67],[11,473,5,67,"i"],[11,474,5,67],[11,478,5,67,"o"],[11,479,5,67],[11,482,5,67,"Object"],[11,488,5,67],[11,489,5,67,"defineProperty"],[11,503,5,67],[11,508,5,67,"Object"],[11,514,5,67],[11,515,5,67,"getOwnPropertyDescriptor"],[11,539,5,67],[11,540,5,67,"e"],[11,541,5,67],[11,543,5,67,"_t"],[11,545,5,67],[11,552,5,67,"i"],[11,553,5,67],[11,554,5,67,"get"],[11,557,5,67],[11,561,5,67,"i"],[11,562,5,67],[11,563,5,67,"set"],[11,566,5,67],[11,570,5,67,"o"],[11,571,5,67],[11,572,5,67,"f"],[11,573,5,67],[11,575,5,67,"_t"],[11,577,5,67],[11,579,5,67,"i"],[11,580,5,67],[11,584,5,67,"f"],[11,585,5,67],[11,586,5,67,"_t"],[11,588,5,67],[11,592,5,67,"e"],[11,593,5,67],[11,594,5,67,"_t"],[11,596,5,67],[11,607,5,67,"f"],[11,608,5,67],[11,613,5,67,"e"],[11,614,5,67],[11,616,5,67,"t"],[11,617,5,67],[12,2,7,0],[13,0,8,0],[14,0,9,0],[15,0,10,0],[16,0,11,0],[17,0,12,0],[18,0,13,0],[19,2,14,7],[19,11,14,16,"useScheduleUpdate"],[19,28,14,33,"useScheduleUpdate"],[19,29,14,34,"callback"],[19,37,14,42],[19,39,14,44],[20,4,15,2],[20,8,15,2,"_React$useContext"],[20,25,15,2],[20,28,18,6,"React"],[20,33,18,11],[20,34,18,12,"useContext"],[20,44,18,22],[20,45,18,23,"NavigationBuilderContext"],[20,95,18,47],[20,96,18,48],[21,6,16,4,"scheduleUpdate"],[21,20,16,18],[21,23,16,18,"_React$useContext"],[21,40,16,18],[21,41,16,4,"scheduleUpdate"],[21,55,16,18],[22,6,17,4,"flushUpdates"],[22,18,17,16],[22,21,17,16,"_React$useContext"],[22,38,17,16],[22,39,17,4,"flushUpdates"],[22,51,17,16],[24,4,20,2],[25,4,21,2],[26,4,22,2,"scheduleUpdate"],[26,18,22,16],[26,19,22,17,"callback"],[26,27,22,25],[26,28,22,26],[27,4,23,2],[27,8,23,2,"useClientLayoutEffect"],[27,52,23,23],[27,54,23,24,"flushUpdates"],[27,66,23,36],[27,67,23,37],[28,2,24,0],[29,0,24,1],[29,3]],"functionMap":{"names":["<global>","useScheduleUpdate"],"mappings":"AAA;OCa;CDU"}},"type":"js/module"}]} |