{"version":3,"file":"App.mjs","sources":["../../../admin/src/pages/App.tsx"],"sourcesContent":["/**\n *\n * This component is the skeleton around the actual pages, and should only\n * contain code that should be seen on all pages. (e.g. navigation bar)\n *\n */\n\nimport { Page, useAppInfo } from '@strapi/strapi/admin';\nimport { Navigate, Routes, Route } from 'react-router-dom';\n\nimport { HomePage } from './HomePage';\n\nconst App = () => {\n const currentEnvironment = useAppInfo('CloudApp', (state) => state.currentEnvironment);\n\n if (currentEnvironment === 'production') {\n return ;\n }\n\n return (\n
\n \n } />\n } />\n \n
\n );\n};\n\nexport { App };\n"],"names":["App","currentEnvironment","useAppInfo","state","_jsx","Navigate","to","replace","div","_jsxs","Routes","Route","index","element","HomePage","path","Page","Error"],"mappings":";;;;;AAYA,MAAMA,GAAAA,GAAM,IAAA;AACV,IAAA,MAAMC,qBAAqBC,UAAAA,CAAW,UAAA,EAAY,CAACC,KAAAA,GAAUA,MAAMF,kBAAkB,CAAA;AAErF,IAAA,IAAIA,uBAAuB,YAAA,EAAc;AACvC,QAAA,qBAAOG,GAAA,CAACC,QAAAA,EAAAA;YAASC,EAAAA,EAAG,GAAA;YAAIC,OAAO,EAAA;;AACjC,IAAA;AAEA,IAAA,qBACEH,GAAA,CAACI,KAAAA,EAAAA;AACC,QAAA,QAAA,gBAAAC,IAAA,CAACC,MAAAA,EAAAA;;8BACCN,GAAA,CAACO,KAAAA,EAAAA;oBAAMC,KAAK,EAAA,IAAA;AAACC,oBAAAA,OAAAA,gBAAST,GAAA,CAACU,QAAAA,EAAAA,EAAAA;;8BACvBV,GAAA,CAACO,KAAAA,EAAAA;oBAAMI,IAAAA,EAAK,GAAA;oBAAIF,OAAAA,gBAAST,GAAA,CAACY,KAAKC,KAAK,EAAA,EAAA;;;;;AAI5C;;;;"}