import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
import * as __WEBPACK_EXTERNAL_MODULE_react_router__ from "react-router";
import * as __WEBPACK_EXTERNAL_MODULE__application_index_mjs__ from "../../application/index.mjs";
import * as __WEBPACK_EXTERNAL_MODULE__components_WelcomeCard_mjs__ from "./components/WelcomeCard.mjs";
const AdminContent = ()=>{
    const app = (0, __WEBPACK_EXTERNAL_MODULE__application_index_mjs__.useApp)();
    const CustomAdminContent = app.getComponent('CustomAdminContent');
    const isMatchAdmin = (0, __WEBPACK_EXTERNAL_MODULE_react_router__.useMatch)('/admin');
    if (isMatchAdmin) return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__components_WelcomeCard_mjs__.WelcomeCard, {});
    return CustomAdminContent ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(CustomAdminContent, {}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_router__.Outlet, {});
};
export { AdminContent };
