import { PageShell as e } from "../../../components/layout/PageShell.js";
import { SidebarNavigation as t } from "../../../components/navigation/sidebar/SidebarNavigation.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, contentScrollMode: u }) => {
	let d = a.isCollapsed !== !0, f = null;
	d && (f = /* @__PURE__ */ r(t, {
		...a,
		isCollapsed: !1
	}));
	let p;
	o != null && (p = /* @__PURE__ */ r(t, { ...o }));
	let m = null;
	s != null && (m = /* @__PURE__ */ r(n, { ...s }));
	let h;
	return typeof a.expandToggleLabel == "string" && (h = a.expandToggleLabel), /* @__PURE__ */ r(e, {
		sidebar: f,
		mobileSidebar: p,
		desktopSidebarOpen: d,
		onOpenDesktopSidebar: () => {
			a.onCollapsedChange?.(!1);
		},
		openDesktopSidebarLabel: h,
		breadcrumbSlot: m,
		actions: c,
		tabs: l,
		contentScrollMode: u,
		children: i
	});
};
//#endregion
export { i as AdminShellLayout, i as default };

//# sourceMappingURL=AdminShellLayout.js.map