/* Copyright © 2024 Melbet - All Rights Reserved */ import{createSharedComposable$1 as u,useGlobalStore as L}from"./entry-Bl6dkD65.js";import{computed as o,unref as i,onBeforeUnmount as m}from"../../../../shared-assets/__shared_vue_deps_SRT2KB67.js";const H=u(()=>{const e=L(),S=o(()=>{var t,d;return(d=(t=e.windowSize)==null?void 0:t.width)!=null?d:0}),r=o(()=>i(S)<1600),s=o({get:()=>e.isLeftSectionHidden,set:t=>e.installIsLeftSectionHidden(t)}),a=o({get:()=>e.getIsLeftSectionHover,set:t=>e.setLeftSectionHover(t)}),l=o(()=>e.isLeftSectionVisible),c=o(()=>i(r)||i(s)),f=o(()=>i(c)&&!i(a)),b=()=>{s.value=!i(s)},n=o({get:()=>e.isRightSectionHidden,set:t=>e.installIsRightSectionHidden(t)}),g=()=>{n.value=!i(n)};return m(()=>e.setLeftSectionHover(!1)),{isLowResolutionScreen:r,isLeftSidebarCompact:c,isLeftSidebarCompactWithoutHover:f,isLeftSidebarHidden:s,isLeftSidebarHover:a,isLeftSidebarVisible:l,toggleLeftSidebar:b,isRightSidebarCompact:n,toggleRightSidebar:g}});export{H as useChampSidebars};