import{cf as C,T as j,p as m,a$ as R,aP as H,a as x,a7 as N,v as U,w as z,L as M,ao as w,K as q,cR as W,g4 as Q,aj as X,_ as T,Z as k,dk as Z,y as G,z as J,bS as Y,cQ as K,q as tt,bu as D,bE as et,gl as nt,b as rt,f as L,k as _,bO as I,aE as b,o as S,h as ot,j as P,l as E,n as at,F as it}from"./index.1f7d25e9.js";import{c as V,u as st}from"./index.95f41185.js";import ct from"./SessionTimeoutLogin.4b9563d3.js";import{s as lt,g as ut}from"./scrollTo.a6082086.js";import"./FullscreenOutlined.57336edf.js";import"./index.9ce655d4.js";import"./useWindowSizeFn.793e718b.js";import"./useContentViewHeight.8d11d5bb.js";import"./uniqBy.a47dd7b5.js";import"./_baseIteratee.9a6d11c8.js";import"./get.f554c0ea.js";import"./index.92775e2c.js";import"./index.542cc805.js";import"./useRefs.533ff99f.js";import"./PlusOutlined.9deff7ed.js";import"./RedoOutlined.e38d7363.js";import"./index.a76c5a18.js";import"./lock.f232a26b.js";import"./Login.7458187e.js";import"./LoginForm.67c4250a.js";import"./md5.ffba7add.js";import"./index.241abd4a.js";import"./index.a5a5ac20.js";import"./useSize.99a4f943.js";import"./LoginFormTitle.2f0d42a1.js";import"./ForgetPasswordForm.76f44c48.js";import"./index.1c376dc3.js";import"./RegisterForm.aa27277a.js";import"./index.7275e559.js";import"./Checkbox.36b5df89.js";import"./MobileForm.a2213739.js";import"./QrCodeForm.36df9a0a.js";import"./index.d73d7311.js";import"./download.73fec536.js";function pt(e){var t,n=function(s){return function(){t=null,e.apply(void 0,j(s))}},r=function(){if(t==null){for(var s=arguments.length,c=new Array(s),a=0;au}),y=function(){var u=t.target,p=u||B,f=p();g.scrollEvent=K(f,"scroll",function(d){h(d)}),h({target:f})},O=function(){g.scrollEvent&&g.scrollEvent.remove(),h.cancel()};return M(function(){return t.target},function(){O(),w(function(){y()})}),q(function(){w(function(){y()})}),W(function(){w(function(){y()})}),Q(function(){O()}),X(function(){O()}),function(){var i,u,p=m("div",{class:"".concat(a.value,"-content")},[m("div",{class:"".concat(a.value,"-icon")},[m(gt,null,null)])]),f=T(T({},o),{},{onClick:F,class:(i={},k(i,"".concat(a.value),!0),k(i,"".concat(o.class),o.class),k(i,"".concat(a.value,"-rtl"),v.value==="rtl"),i)}),d=Z("fade");return m(Y,d,{default:function(){return[G(m("div",T(T({},f),{},{ref:l}),[((u=r.default)===null||u===void 0?void 0:u.call(r))||p]),[[J,g.visible]])]}})}}}),_t=H(Tt);const bt=x({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:V(()=>D(()=>import("./index.1f76c1a6.js"),["assets/index.1f76c1a6.js","assets/index.1f7d25e9.js","assets/index.52a94f43.css","assets/LockPage.0ded1f75.js","assets/LockPage.afa0c1ae.css","assets/lock.f232a26b.js","assets/dateUtil.c30f15a5.js","assets/header.d801b988.js"])),SettingDrawer:V(()=>D(()=>import("./index.42ac4686.js").then(function(e){return e.i}),["assets/index.42ac4686.js","assets/index.187f904b.js","assets/index.5c7227e9.css","assets/index.1f7d25e9.js","assets/index.52a94f43.css","assets/index.92775e2c.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.8bba6732.js","assets/index.d73d7311.js","assets/index.3a3c1369.css","assets/index.95f41185.js","assets/index.48abc832.css","assets/FullscreenOutlined.57336edf.js","assets/index.9ce655d4.js","assets/index.55076fdd.css","assets/useWindowSizeFn.793e718b.js","assets/useContentViewHeight.8d11d5bb.js","assets/uniqBy.a47dd7b5.js","assets/_baseIteratee.9a6d11c8.js","assets/get.f554c0ea.js","assets/index.542cc805.js","assets/index.a2831ae3.css","assets/useRefs.533ff99f.js","assets/PlusOutlined.9deff7ed.js","assets/RedoOutlined.e38d7363.js","assets/index.a76c5a18.js","assets/lock.f232a26b.js"])),SessionTimeoutLogin:ct},setup(){const{getUseOpenBackTop:e,getShowSettingButton:t,getSettingButtonPosition:n,getFullContent:r}=et(),o=nt(),{prefixCls:s}=rt("setting-drawer-feature"),{getShowHeader:c}=st(),a=L(()=>o.getSessionTimeout),v=L(()=>{if(!_(t))return!1;const l=_(n);return l===I.AUTO?!_(c)||_(r):l===I.FIXED});return{getTarget:()=>document.body,getUseOpenBackTop:e,getIsFixedSettingDrawer:v,prefixCls:s,getIsSessionTimeout:a}}});function St(e,t,n,r,o,s){const c=b("LayoutLockPage"),a=b("BackTop"),v=b("SettingDrawer"),l=b("SessionTimeoutLogin");return S(),ot(it,null,[m(c),e.getUseOpenBackTop?(S(),P(a,{key:0,target:e.getTarget},null,8,["target"])):E("",!0),e.getIsFixedSettingDrawer?(S(),P(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):E("",!0),e.getIsSessionTimeout?(S(),P(l,{key:2})):E("",!0)],64)}var ne=tt(bt,[["render",St]]);export{ne as default};