{"version":3,"file":"app-DqUes0q0.js","sources":["../../../app/javascript/components/app.tsx"],"sourcesContent":["import React from 'react'\nimport {\n createBrowserRouter,\n createRoutesFromElements,\n Navigate,\n Route,\n RouterProvider,\n} from 'react-router-dom'\n\nimport App from './Website'\nimport ComponentList from './Website/src/pages/ComponentList'\nimport ComponentShow from './Website/src/pages/ComponentShow'\nimport CategoryShow from './Website/src/pages/CategoryShow'\nimport IconList from './Website/src/pages/IconList'\nimport Error from './Error'\nimport { CategoryLoader, ComponentsLoader, ComponentShowLoader, } from './Website/src/hooks/loaders'\n\nconst router = createBrowserRouter(\n createRoutesFromElements(\n }\n loader={ComponentsLoader}\n path=\"/beta\"\n errorElement={}\n >\n }\n loader={ComponentsLoader}\n path=\"kits\"\n >\n }\n loader={ComponentShowLoader}\n path=\":name\"\n />\n }\n loader={ComponentShowLoader}\n path=\":name\"\n />\n \n }\n loader={CategoryLoader}\n path=\"kit_category/:category\"\n />\n }\n path=\"icons\"\n />\n\n \n )\n)\n\nexport const Website = () => \n"],"names":["router","createBrowserRouter","createRoutesFromElements","jsxs","Route","App","ComponentsLoader","Error","ComponentList","jsx","ComponentShow","ComponentShowLoader","Navigate","CategoryShow","CategoryLoader","IconList","Website","RouterProvider"],"mappings":"4mCAiBA,MAAMA,EAASC,EACbC,EACEC,EAAA,KAACC,EAAA,CACG,cAAUC,EAAI,EAAA,EACd,OAAQC,EACR,KAAK,QACL,mBAAeC,EAAM,EAAA,EAEvB,SAAA,CAAAJ,EAAA,KAACC,EAAA,CACG,cAAUI,EAAc,EAAA,EACxB,OAAQF,EACR,KAAK,OAEP,SAAA,CAAAG,EAAA,IAACL,EAAA,CACG,cAAUM,EAAc,EAAA,EACxB,OAAQC,EACR,KAAK,OAAA,CACT,EACAF,EAAA,IAACL,EAAA,CACG,QAASK,EAAAA,IAACG,EAAS,CAAA,GAAG,OAAQ,CAAA,EAC9B,OAAQD,EACR,KAAK,OAAA,CACT,CAAA,CAAA,CACF,EACAF,EAAA,IAACL,EAAA,CACG,cAAUS,EAAa,EAAA,EACvB,OAAQC,EACR,KAAK,wBAAA,CACT,EACAL,EAAA,IAACL,EAAA,CACG,cAAUW,EAAS,EAAA,EACnB,KAAK,OAAA,CACT,CAAA,CAAA,CAEF,CACF,CACF,EAEaC,EAAU,IAAOP,EAAAA,IAAAQ,EAAA,CAAe,OAAAjB,CAAgB,CAAA"}