import { AppShell as e } from "../../../components/layout/AppShell.js";
import { AdminSidebar as t } from "../../organisms/admin_sidebar/AdminSidebar.js";
import { AdminTopbar as n } from "../../organisms/admin_topbar/AdminTopbar.js";
import { jsx as r } from "react/jsx-runtime";
//#region src/admin/templates/admin_shell_layout/AdminShellLayout.tsx
var i = ({ children: i, sidebar: a, mobileSidebar: o, topbar: s, actions: c, tabs: l }) => {
	let u = a.isCollapsed !== !0, d = null;
	u && (d = /* @__PURE__ */ r(t, {
		...a,
		isCollapsed: !1
	}));
	let f;
	o != null && (f = /* @__PURE__ */ r(t, { ...o }));
	let p = null;
	s != null && (p = /* @__PURE__ */ r(n, { ...s }));
	let m;
	return typeof a.expandToggleLabel == "string" && (m = a.expandToggleLabel), /* @__PURE__ */ r(e, {
		sidebar: d,
		mobileSidebar: f,
		desktopSidebarOpen: u,
		onOpenDesktopSidebar: () => {
			a.onCollapsedChange?.(!1);
		},
		openDesktopSidebarLabel: m,
		breadcrumbSlot: p,
		actions: c,
		tabs: l,
		children: i
	});
};
//#endregion
export { i as AdminShellLayout, i as default };

//# sourceMappingURL=AdminShellLayout.js.map