the-forest/client/node_modules/.cache/babel-loader/e47f3e201409c3ce328894fe75bbc8f79cee4475ca075b603eda0c7651ea3b6e.json

1 line
4.5 KiB
JSON
Raw Normal View History

2024-09-17 20:35:18 -04:00
{"ast":null,"code":"var _jsxFileName = \"/Users/shoofle/Projects/the-forest/src/App.js\";\nimport { BrowserRouter, Routes, Route } from 'react-router-dom';\nimport Landing from './Landing.jsx';\nimport PageView from './PageView.jsx';\nimport { QueryClient, QueryClientProvider, useQuery } from '@tanstack/react-query';\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nexport const queryClient = new QueryClient();\nfunction App() {\n return /*#__PURE__*/_jsxDEV(QueryClientProvider, {\n client: queryClient,\n children: /*#__PURE__*/_jsxDEV(BrowserRouter, {\n children: /*#__PURE__*/_jsxDEV(Routes, {\n children: [/*#__PURE__*/_jsxDEV(Route, {\n path: \"/\",\n element: /*#__PURE__*/_jsxDEV(Landing, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 36\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 13,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/:pagenumber\",\n element: /*#__PURE__*/_jsxDEV(PageView, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 47\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 11\n }, this), /*#__PURE__*/_jsxDEV(Route, {\n path: \"/:pagenumber/edit\",\n element: /*#__PURE__*/_jsxDEV(EditPage, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 52\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 11\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 12,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 7\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 5\n }, this);\n}\n_c = App;\nexport default App;\nvar _c;\n$RefreshReg$(_c, \"App\");","map":{"version":3,"names":["BrowserRouter","Routes","Route","Landing","PageView","QueryClient","QueryClientProvider","useQuery","jsxDEV","_jsxDEV","queryClient","App","client","children","path","element","fileName","_jsxFileName","lineNumber","columnNumber","EditPage","_c","$RefreshReg$"],"sources":["/Users/shoofle/Projects/the-forest/src/App.js"],"sourcesContent":["import { BrowserRouter, Routes, Route } from 'react-router-dom';\nimport Landing from './Landing.jsx'\nimport PageView from './PageView.jsx'\nimport { QueryClient, QueryClientProvider, useQuery } from '@tanstack/react-query'\n\nexport const queryClient = new QueryClient();\n\nfunction App() {\n return (\n <QueryClientProvider client={queryClient}>\n <BrowserRouter>\n <Routes>\n <Route path=\"/\" element={<Landing/>}/>\n <Route path=\"/:pagenumber\" element={<PageView/>}/>\n <Route path=\"/:pagenumber/edit\" element={<EditPage/>}/>\n </Routes>\n </BrowserRouter>\n </QueryClientProvider>\n );\n}\n\nexport default App;\n"],"mappings":";AAAA,SAASA,aAAa,EAAEC,MAAM,EAAEC,KAAK,QAAQ,kBAAkB;AAC/D,OAAOC,OAAO,MAAM,eAAe;AACnC,OAAOC,QAAQ,MAAM,gBAAgB;AACrC,SAASC,WAAW,EAAEC,mBAAmB,EAAEC,QAAQ,QAAQ,uBAAuB;AAAA,SAAAC,MAAA,IAAAC,OAAA;AAElF,OAAO,MAAMC,WAAW,GAAG,IAAIL,WAAW,CAAC,CAAC;AAE5C,SAASM,GAAGA,CAAA,EAAG;EACb,oBACEF,OAAA,CAACH,mBAAmB;IAACM,MAAM,EAAEF,WAAY;IAAAG,QAAA,eACvCJ,OAAA,CAACT,aAAa;MAAAa,QAAA,eACZJ,OAAA,CAACR,MAAM;QAAAY,QAAA,gBACLJ,OAAA,CAACP,KAAK;UAACY,IAAI,EAAC,GAAG;UAACC,OAAO,eAAEN,OAAA,CAACN,OAAO;YAAAa,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAC;QAAE;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAAC,CAAC,eACtCV,OAAA,CAACP,KAAK;UAACY,IAAI,EAAC,cAAc;UAACC,OAAO,eAAEN,OAAA,CAACL,QAAQ;YAAAY,QAAA,EAAAC,YAAA;YAAAC,UAAA;YAAAC,YAAA;UAAA,OAAC;QAAE;UAAAH,QAAA,EAAAC,YAAA;UAAAC,UAAA;UAAAC,YAAA;QAAA,OAAC,CAAC,eAClDV,OA