import{k as _,B,b0 as T,u as y,a8 as l,_ as D}from"./index.js";import{c as d,u as L}from"./index-12377682.js";import{aX as P}from"./antd-835b28bf.js";import{d as w,c as f,u as t,Z as s,_ as C,k as E,a4 as S,a8 as k,a1 as F,F as v,a6 as a}from"./vue-72a104e4.js";import"./index-b4ea7fff.js";import"./index-a5c222af.js";import"./useContentViewHeight-91c9d265.js";import"./useWindowSizeFn-7c45a656.js";import"./lock-f3b41037.js";const x=w({name:"LayoutFeatures",components:{BackTop:P,LayoutLockPage:d(()=>_(()=>import("./index-3b621d2c.js"),["./index-3b621d2c.js","./vue-72a104e4.js","./LockPage-3a78b812.js","./index.js","./antd-835b28bf.js","./index-a17248e3.css","./lock-f3b41037.js","./header-b90f4bbc.js","./LockPage-b0b08e00.css"],import.meta.url)),SettingDrawer:d(()=>_(()=>import("./index-505b5f6e.js").then(e=>e.i),["./index-505b5f6e.js","./index-e9fd0db7.js","./index.js","./vue-72a104e4.js","./antd-835b28bf.js","./index-a17248e3.css","./index-ac2d527c.css","./index-12377682.js","./index-b4ea7fff.js","./index-a5c222af.js","./useContentViewHeight-91c9d265.js","./useWindowSizeFn-7c45a656.js","./index-054645fa.css","./lock-f3b41037.js","./index-fffcad33.css"],import.meta.url))},setup(){const{getUseOpenBackTop:e,getShowSettingButton:i,getSettingButtonPosition:u,getFullContent:c}=B(),p=T(),{prefixCls:m}=y("setting-drawer-feature"),{getShowHeader:o}=L(),n=f(()=>p.getSessionTimeout),r=f(()=>{if(!t(i))return!1;const g=t(u);return g===l.AUTO?!t(o)||t(c):g===l.FIXED});return{getTarget:()=>document.body,getUseOpenBackTop:e,getIsFixedSettingDrawer:r,prefixCls:m,getIsSessionTimeout:n}}});function I(e,i,u,c,p,m){const o=a("LayoutLockPage"),n=a("BackTop"),r=a("SettingDrawer");return s(),C(v,null,[E(o),e.getUseOpenBackTop?(s(),S(n,{key:0,target:e.getTarget},null,8,["target"])):k("",!0),e.getIsFixedSettingDrawer?(s(),S(r,{key:1,class:F(e.prefixCls)},null,8,["class"])):k("",!0)],64)}const N=D(x,[["render",I]]);export{N as default};
