mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 10:01:02 +00:00
1 line
14 KiB
Plaintext
1 line
14 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":"./EnsureSingleNavigator.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":4,"column":0,"index":47},"end":{"line":4,"column":67,"index":114}}],"key":"Eeoj43oWyPbMgkhKsD7HCEmXypI=","exportNames":["*"]}},{"name":"./NavigationFocusedRouteStateContext.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":5,"column":0,"index":115},"end":{"line":5,"column":93,"index":208}}],"key":"LvPfipyJ1qh0tCX4DRfxx1+v9xA=","exportNames":["*"]}},{"name":"./NavigationStateContext.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":6,"column":0,"index":209},"end":{"line":6,"column":69,"index":278}}],"key":"vPXNy6i2DuFIp7nHtHgSOvNmS+U=","exportNames":["*"]}},{"name":"./StaticContainer.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":7,"column":0,"index":279},"end":{"line":7,"column":55,"index":334}}],"key":"1lwu4xC1c9jAOsqz4Vr70sYD9fs=","exportNames":["*"]}},{"name":"./useOptionsGetters.js","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":8,"column":0,"index":335},"end":{"line":8,"column":59,"index":394}}],"key":"ZNBMaad7yyX2HZIWNdpUkNUSHFc=","exportNames":["*"]}},{"name":"react/jsx-runtime","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":9,"column":0,"index":395},"end":{"line":9,"column":48,"index":443}}],"key":"rKAWVuQOSSDHxC6IWcmkeWszaWg=","exportNames":["*"]}}],"output":[{"data":{"code":"__d(function(g,_r,_i,a,m,_e,d){\"use strict\";Object.defineProperty(_e,\"__esModule\",{value:!0}),_e.SceneView=function({screen:u,route:c,navigation:l,routeState:p,getState:f,setState:y,options:v,clearOptions:k}){const h=e.useRef(void 0),C=e.useCallback(()=>h.current,[]),{addOptionsGetter:b}=(0,o.useOptionsGetters)({key:c.key,options:v,navigation:l}),j=e.useCallback(e=>{h.current=e},[]),S=e.useCallback(()=>{const e=f().routes.find(e=>e.key===c.key);return e?e.state:void 0},[f,c.key]),O=e.useCallback(e=>{const t=f();y({...t,routes:t.routes.map(t=>{if(t.key!==c.key)return t;const n={...t,state:e};if(n.params&&('state'in n.params&&'object'==typeof n.params.state&&null!==n.params.state||'screen'in n.params&&'string'==typeof n.params.screen)){const{state:e,screen:t,params:r,initial:s,...o}=n.params;Object.keys(o).length?n.params=o:delete n.params}return n})})},[f,c.key,y]),_=e.useRef(!0);e.useEffect(()=>{_.current=!1}),e.useEffect(()=>k,[]);const x=e.useCallback(()=>_.current,[]),M=e.useContext(n.NavigationFocusedRouteStateContext),P=e.useMemo(()=>{const e={routes:[{key:c.key,name:c.name,params:c.params,path:c.path}]},t=n=>{const r=n?.routes[0];return r?{routes:[{...r,state:t(r.state)}]}:e};return t(M)},[M,c.key,c.name,c.params,c.path]),w=e.useMemo(()=>({state:p,getState:S,setState:O,getKey:C,setKey:j,getIsInitial:x,addOptionsGetter:b}),[p,S,O,C,j,x,b]),N=u.getComponent?u.getComponent():u.component;return(0,i.jsx)(r.NavigationStateContext.Provider,{value:w,children:(0,i.jsx)(n.NavigationFocusedRouteStateContext.Provider,{value:P,children:(0,i.jsx)(t.EnsureSingleNavigator,{children:(0,i.jsx)(s.StaticContainer,{name:u.name,render:N||u.children,navigation:l,route:c,children:void 0!==N?(0,i.jsx)(N,{navigation:l,route:c}):void 0!==u.children?u.children({navigation:l,route:c}):null})})})})};var e=(function(e,t){if(\"function\"==typeof WeakMap)var n=new WeakMap,r=new WeakMap;return(function(e,t){if(!t&&e&&e.__esModule)return e;var s,o,i={__proto__:null,default:e};if(null===e||\"object\"!=typeof e&&\"function\"!=typeof e)return i;if(s=t?r:n){if(s.has(e))return s.get(e);s.set(e,i)}for(const t in e)\"default\"!==t&&{}.hasOwnProperty.call(e,t)&&((o=(s=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(o.get||o.set)?s(i,t,o):i[t]=e[t]);return i})(e,t)})(_r(d[0])),t=_r(d[1]),n=_r(d[2]),r=_r(d[3]),s=_r(d[4]),o=_r(d[5]),i=_r(d[6])});","lineCount":1,"map":[[1,31,1,0],[1,44,1,13,"Object"],[1,51,1,13,"defineProperty"],[1,66,1,13,"_e"],[1,69,1,13],[1,83,1,13,"value"],[1,90,1,13],[1,94,1,13,"_e"],[1,97,1,13,"SceneView"],[1,107,14,7],[1,117,14,26,"screen"],[1,124,15,2,"screen"],[1,126,15,8,"route"],[1,132,16,2,"route"],[1,134,16,7,"navigation"],[1,145,17,2,"navigation"],[1,147,17,12,"routeState"],[1,158,18,2,"routeState"],[1,160,18,12,"getState"],[1,169,19,2,"getState"],[1,171,19,10,"setState"],[1,180,20,2,"setState"],[1,182,20,10,"options"],[1,190,21,2,"options"],[1,192,21,9,"clearOptions"],[1,205,22,2,"clearOptions"],[1,209,24,2],[1,215,24,8,"navigatorKeyRef"],[1,217,24,26,"React"],[1,219,24,32,"useRef"],[1,231,24,39,"undefined"],[1,234,25,8,"getKey"],[1,236,25,17,"React"],[1,238,25,23,"useCallback"],[1,250,25,35],[1,254,25,41,"navigatorKeyRef"],[1,256,25,57,"current"],[1,264,25,66],[1,269,26,8,"addOptionsGetter"],[1,286,27,4,"addOptionsGetter"],[1,290,28,6],[1,292,28,6,"useOptionsGetters"],[1,313,28,24],[1,314,29,4,"key"],[1,318,29,9,"route"],[1,320,29,15,"key"],[1,324,30,4,"options"],[1,334,31,4,"navigation"],[1,349,33,8,"setKey"],[1,351,33,17,"React"],[1,353,33,23,"useCallback"],[1,365,33,35,"key"],[1,369,34,4,"navigatorKeyRef"],[1,371,34,20,"current"],[1,379,34,30,"key"],[1,382,35,5],[1,386,36,8,"getCurrentState"],[1,388,36,26,"React"],[1,390,36,32,"useCallback"],[1,402,36,44],[1,407,37,4],[1,413,38,10,"currentRoute"],[1,415,37,18,"getState"],[1,419,38,31,"routes"],[1,426,38,38,"find"],[1,431,38,43,"r"],[1,434,38,48,"r"],[1,436,38,50,"key"],[1,442,38,58,"route"],[1,444,38,64,"key"],[1,449,39,4],[1,456,39,11,"currentRoute"],[1,458,39,26,"currentRoute"],[1,460,39,39,"state"],[1,471,39,47,"undefined"],[1,474,40,5],[1,475,40,6,"getState"],[1,477,40,16,"route"],[1,479,40,22,"key"],[1,485,41,8,"setCurrentState"],[1,487,41,26,"React"],[1,489,41,32,"useCallback"],[1,501,41,44,"child"],[1,505,42,4],[1,511,42,10,"state"],[1,513,42,18,"getState"],[1,517,43,4,"setState"],[1,519,43,13],[1,523,44,9,"state"],[1,525,45,6,"routes"],[1,532,45,14,"state"],[1,534,45,20,"routes"],[1,541,45,27,"map"],[1,545,45,31,"r"],[1,549,46,8],[1,552,46,12,"r"],[1,554,46,14,"key"],[1,560,46,22,"route"],[1,562,46,28,"key"],[1,566,47,10],[1,573,47,17,"r"],[1,575,49,8],[1,581,49,14,"nextRoute"],[1,583,49,26],[1,587,50,13,"r"],[1,589,51,10,"state"],[1,595,51,17,"child"],[1,598,56,8],[1,601,56,12,"nextRoute"],[1,603,56,22,"params"],[1,612,56,33],[1,622,56,44,"nextRoute"],[1,624,56,54,"params"],[1,632,56,98],[1,649,56,71,"nextRoute"],[1,651,56,81,"params"],[1,658,56,88,"state"],[1,665,56,137],[1,672,56,110,"nextRoute"],[1,674,56,120,"params"],[1,681,56,127,"state"],[1,688,56,145],[1,699,56,157,"nextRoute"],[1,701,56,167,"params"],[1,709,56,212],[1,726,56,184,"nextRoute"],[1,728,56,194,"params"],[1,735,56,201,"screen"],[1,743,56,223],[1,744,59,10],[1,750,59,16,"state"],[1,756,60,12,"state"],[1,758,60,17,"screen"],[1,765,61,12,"screen"],[1,767,61,18,"params"],[1,774,62,12,"params"],[1,776,62,18,"initial"],[1,784,63,12,"initial"],[1,789,64,15,"rest"],[1,792,65,14,"nextRoute"],[1,794,65,24,"params"],[1,801,66,14,"Object"],[1,808,66,21,"keys"],[1,813,66,26,"rest"],[1,816,66,32,"length"],[1,823,67,12,"nextRoute"],[1,825,67,22,"params"],[1,832,67,31,"rest"],[1,841,69,19,"nextRoute"],[1,843,69,29,"params"],[1,849,71,8],[1,850,72,8],[1,857,72,15,"nextRoute"],[1,864,75,5],[1,865,75,6,"getState"],[1,867,75,16,"route"],[1,869,75,22,"key"],[1,873,75,27,"setState"],[1,877,76,8,"isInitialRef"],[1,879,76,23,"React"],[1,881,76,29,"useRef"],[1,889,76,36],[1,892,77,2,"React"],[1,894,77,8,"useEffect"],[1,904,77,18],[1,909,78,4,"isInitialRef"],[1,911,78,17,"current"],[1,920,78,27],[1,924,82,2,"React"],[1,926,82,8,"useEffect"],[1,936,82,18],[1,940,83,11,"clearOptions"],[1,942,85,5],[1,946,86,2],[1,952,86,8,"getIsInitial"],[1,954,86,23,"React"],[1,956,86,29,"useCallback"],[1,968,86,41],[1,972,86,47,"isInitialRef"],[1,974,86,60,"current"],[1,982,86,69],[1,986,87,8,"parentFocusedRouteState"],[1,988,87,34,"React"],[1,990,87,40,"useContext"],[1,1001,87,51,"NavigationFocusedRouteStateContext"],[1,1039,88,8,"focusedRouteState"],[1,1041,88,28,"React"],[1,1043,88,34,"useMemo"],[1,1051,88,42],[1,1056,89,4],[1,1062,89,10,"state"],[1,1064,89,18],[1,1065,90,6,"routes"],[1,1072,90,14],[1,1073,90,15],[1,1074,91,8,"key"],[1,1078,91,13,"route"],[1,1080,91,19,"key"],[1,1084,92,8,"name"],[1,1089,92,14,"route"],[1,1091,92,20,"name"],[1,1096,93,8,"params"],[1,1103,93,16,"route"],[1,1105,93,22,"params"],[1,1112,94,8,"path"],[1,1117,94,14,"route"],[1,1119,94,20,"path"],[1,1127,99,10,"addState"],[1,1129,99,21,"parent"],[1,1133,100,6],[1,1139,100,12,"parentRoute"],[1,1141,100,26,"parent"],[1,1144,100,34,"routes"],[1,1151,100,41],[1,1154,101,6],[1,1161,101,10,"parentRoute"],[1,1163,102,15],[1,1164,103,10,"routes"],[1,1171,103,18],[1,1172,103,19],[1,1176,104,15,"parentRoute"],[1,1178,105,12,"state"],[1,1184,105,19,"addState"],[1,1186,105,28,"parentRoute"],[1,1188,105,40,"state"],[1,1198,109,13,"state"],[1,1201,111,4],[1,1208,111,11,"addState"],[1,1210,111,20,"parentFocusedRouteState"],[1,1214,112,5],[1,1215,112,6,"parentFocusedRouteState"],[1,1217,112,31,"route"],[1,1219,112,37,"key"],[1,1223,112,42,"route"],[1,1225,112,48,"name"],[1,1230,112,54,"route"],[1,1232,112,60,"params"],[1,1239,112,68,"route"],[1,1241,112,74,"path"],[1,1248,113,8,"context"],[1,1250,113,18,"React"],[1,1252,113,24,"useMemo"],[1,1260,113,32],[1,1266,114,4,"state"],[1,1272,114,11,"routeState"],[1,1274,115,4,"getState"],[1,1283,115,14,"getCurrentState"],[1,1285,116,4,"setState"],[1,1294,116,14,"setCurrentState"],[1,1296,117,4,"getKey"],[1,1305,118,4,"setKey"],[1,1314,119,4,"getIsInitial"],[1,1329,120,4,"addOptionsGetter"],[1,1350,121,6],[1,1351,121,7,"routeState"],[1,1353,121,19,"getCurrentState"],[1,1355,121,36,"setCurrentState"],[1,1357,121,53,"getKey"],[1,1359,121,61,"setKey"],[1,1361,121,69,"getIsInitial"],[1,1363,121,83,"addOptionsGetter"],[1,1367,122,8,"ScreenComponent"],[1,1369,122,26,"screen"],[1,1371,122,33,"getComponent"],[1,1384,122,48,"screen"],[1,1386,122,55,"getComponent"],[1,1401,122,72,"screen"],[1,1403,122,79,"component"],[1,1413,123,2],[1,1420,123,22],[1,1422,123,22,"_jsx"],[1,1429,123,27,"NavigationStateContext"],[1,1454,123,50,"Provider"],[1,1463,123,60],[1,1464,124,4,"value"],[1,1470,124,11,"context"],[1,1472,125,4,"children"],[1,1482,125,27],[1,1484,125,27,"_jsx"],[1,1491,125,32,"NavigationFocusedRouteStateContext"],[1,1528,125,67,"Provider"],[1,1537,125,77],[1,1538,126,6,"value"],[1,1544,126,13,"focusedRouteState"],[1,1546,127,6,"children"],[1,1556,127,29],[1,1558,127,29,"_jsx"],[1,1565,127,34,"EnsureSingleNavigator"],[1,1589,127,57],[1,1590,128,8,"children"],[1,1600,128,31],[1,1602,128,31,"_jsx"],[1,1609,128,36,"StaticContainer"],[1,1627,128,53],[1,1628,129,10,"name"],[1,1633,129,16,"screen"],[1,1635,129,23,"name"],[1,1640,130,10,"render"],[1,1647,130,18,"ScreenComponent"],[1,1650,130,37,"screen"],[1,1652,130,44,"children"],[1,1661,131,10,"navigation"],[1,1672,131,22,"navigation"],[1,1674,132,10,"route"],[1,1680,132,17,"route"],[1,1682,133,10,"children"],[1,1696,133,40,"undefined"],[1,1700,133,20,"ScreenComponent"],[1,1703,133,65],[1,1705,133,65,"_jsx"],[1,1712,133,70,"ScreenComponent"],[1,1714,133,87],[1,1715,134,12,"navigation"],[1,1726,134,24,"navigation"],[1,1728,135,12,"route"],[1,1734,135,19,"route"],[1,1743,136,35,"undefined"],[1,1747,136,15,"screen"],[1,1749,136,22,"children"],[1,1758,136,47,"screen"],[1,1760,136,54,"children"],[1,1769,136,63],[1,1770,137,12,"navigation"],[1,1783,138,12,"route"],[1,1793,139,15],[1,1805,144,0],[1,1807,3,0],[1,1811,3,0,"React"],[1,1814,9,48],[1,1823,9,48,"e"],[1,1825,9,48,"t"],[1,1828,9,48],[1,1850,9,48,"WeakMap"],[1,1858,9,48],[1,1862,9,48,"r"],[1,1864,9,48],[1,1868,9,48,"WeakMap"],[1,1876,9,48,"n"],[1,1878,9,48],[1,1882,9,48,"WeakMap"],[1,1890,9,48],[1,1906,9,48,"e"],[1,1908,9,48,"t"],[1,1911,9,48],[1,1915,9,48,"t"],[1,1918,9,48,"e"],[1,1923,9,48,"__esModule"],[1,1934,9,48],[1,1941,9,48,"e"],[1,1943,9,48],[1,1947,9,48,"o"],[1,1949,9,48,"i"],[1,1951,9,48,"f"],[1,1953,9,48],[1,1954,9,48,"__proto__"],[1,1964,9,48],[1,1969,9,48,"default"],[1,1977,9,48,"e"],[1,1980,9,48],[1,1990,9,48,"e"],[1,1993,9,48],[1,2010,9,48,"e"],[1,2013,9,48],[1,2032,9,48,"e"],[1,2034,9,48],[1,2041,9,48,"f"],[1,2043,9,48],[1,2046,9,48,"o"],[1,2048,9,48,"t"],[1,2050,9,48,"n"],[1,2052,9,48,"r"],[1,2054,9,48],[1,2058,9,48,"o"],[1,2060,9,48,"has"],[1,2064,9,48,"e"],[1,2067,9,48],[1,2074,9,48,"o"],[1,2076,9,48,"get"],[1,2080,9,48,"e"],[1,2083,9,48,"o"],[1,2085,9,48,"set"],[1,2089,9,48,"e"],[1,2091,9,48,"f"],[1,2093,9,48],[1,2104,9,48,"t"],[1,2109,9,48,"e"],[1,2111,9,48],[1,2123,9,48,"t"],[1,2126,9,48],[1,2129,9,48,"hasOwnProperty"],[1,2144,9,48,"call"],[1,2149,9,48,"e"],[1,2151,9,48,"t"],[1,2157,9,48,"i"],[1,2160,9,48,"o"],[1,2162,9,48,"Object"],[1,2169,9,48,"defineProperty"],[1,2186,9,48,"Object"],[1,2193,9,48,"getOwnPropertyDescriptor"],[1,2218,9,48,"e"],[1,2220,9,48,"t"],[1,2226,9,48,"i"],[1,2228,9,48,"get"],[1,2233,9,48,"i"],[1,2235,9,48,"set"],[1,2240,9,48,"o"],[1,2242,9,48,"f"],[1,2244,9,48,"t"],[1,2246,9,48,"i"],[1,2249,9,48,"f"],[1,2251,9,48,"t"],[1,2254,9,48,"e"],[1,2256,9,48,"t"],[1,2260,9,48],[1,2267,9,48,"f"],[1,2268,9,48],[1,2271,9,48,"e"],[1,2273,9,48,"t"],[1,2275,9,48],[1,2277,3,0,"_interopRequireWildcard"],[1,2278,3,0,"_r"],[1,2281,3,0,"d"],[1,2283,3,0],[1,2288,4,0,"_EnsureSingleNavigator"],[1,2290,4,0,"_r"],[1,2293,4,0,"d"],[1,2295,4,0],[1,2299,5,0,"_NavigationFocusedRouteStateContext"],[1,2301,5,0,"_r"],[1,2304,5,0,"d"],[1,2306,5,0],[1,2310,6,0,"_NavigationStateContext"],[1,2312,6,0,"_r"],[1,2315,6,0,"d"],[1,2317,6,0],[1,2321,7,0,"_StaticContainer"],[1,2323,7,0,"_r"],[1,2326,7,0,"d"],[1,2328,7,0],[1,2332,8,0,"_useOptionsGetters"],[1,2334,8,0,"_r"],[1,2337,8,0,"d"],[1,2339,8,0],[1,2343,9,0,"_jsxRuntime"],[1,2345,9,0,"_r"],[1,2348,9,0,"d"],[1,2350,9,0],[1,2353,144,1],[1,2356]],"functionMap":{"names":["<global>","SceneView","getKey","setKey","getCurrentState","state.routes.find$argument_0","setCurrentState","state.routes.map$argument_0","React.useEffect$argument_0","getIsInitial","React.useMemo$argument_0","addState"],"mappings":"AAA;OCa;mCCW,6BD;mCEQ;GFE;4CGC;2CCE,wBD;GHE;4CKC;+BCI;OD4B;GLE;kBOE;GPE;kBOG;GPG;yCQC,0BR;0CSE;qBCW;KDW;GTE;gCSC;ITQ;CDuB"}},"type":"js/module"}]} |