import{j as e}from"./vendor-mui-69397583.js";import{c as u}from"./vendor-react-ece1c85f.js";import{V as f}from"./Views-74429e81.js";import{l as m,h as s,d as c,m as p,s as i}from"./index-c62ac197.js";import{D as C}from"./Drawer-949c18c6.js";import{w as j,S as w}from"./SidePanelContent-6b13836f.js";import"./vendor-pdf-b2a5d8b1.js";import"./vendor-redux-a1f00e6b.js";import"./vendor-devex-33a39e11.js";import"./vendor-i18n-2fcb1983.js";import"./vendor-msal-9caa1ed1.js";import"./vendor-charts-eccea5d1.js";import"./Switcher-c8648037.js";import"./index-ec2010d2.js";import"./index-6b6d0f06.js";import"./useControllableState-d0909575.js";import"./DoubleSidedImage-ae98733b.js";const g=l=>{const r=m(),{className:a,...o}=l,d=s(t=>t.theme.panelExpand),x=s(t=>t.theme.direction),h=()=>{r(i(!0))},n=()=>{r(i(!1));const t=document.body.classList;t.contains("drawer-lock-scroll")&&t.remove("drawer-lock-scroll","drawer-open")};return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:c("text-2xl",a),onClick:h,...o,children:e.jsx(p,{})}),e.jsx(C,{title:"Theme Config",isOpen:d,placement:x==="rtl"?"left":"right",portalClassName:"w30",onClose:n,onRequestClose:n,children:e.jsx(w,{callBackClose:n})})]})},k=j(g),v=()=>{const l=m(),r=s(o=>o.theme.themeColor),a=s(o=>o.theme.primaryColorLevel);return e.jsx("div",{className:c("fixed ltr:right-0 rtl:left-0 top-96 p-3 ltr:rounded-tl-md ltr:rounded-bl-md rtl:rounded-tr-md rtl:rounded-br-md text-white text-xl cursor-pointer select-none",`bg-${r}-${a}`),onClick:()=>{l(i(!0))},children:e.jsx(p,{})})},y=()=>e.jsxs("div",{className:"app-layout-blank flex flex-auto flex-col h-[100vh]",children:[e.jsx(f,{}),e.jsx(v,{}),e.jsx(k,{className:"hidden"})]}),I=u.memo(y);export{I as default};
