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.86b2d1e9.js";import{c as V,u as st}from"./index.1cf79ea9.js";import ct from"./SessionTimeoutLogin.d3b2540b.js";import{s as lt,g as ut}from"./scrollTo.3dc4d2f0.js";import"./FullscreenOutlined.a3d881df.js";import"./index.05ceceea.js";import"./useWindowSizeFn.fd2146e4.js";import"./useContentViewHeight.e8bc7717.js";import"./uniqBy.f4394049.js";import"./_baseIteratee.a56bccd7.js";import"./get.043901f5.js";import"./index.f18363a4.js";import"./index.6d3237eb.js";import"./useRefs.abe2f885.js";import"./PlusOutlined.b785ee59.js";import"./RedoOutlined.f4e1dec6.js";import"./index.dc073d65.js";import"./lock.a5519af5.js";import"./Login.d6278eaf.js";import"./LoginForm.13b0e2ed.js";import"./md5.1a8f1162.js";import"./index.e9fce6d7.js";import"./index.27c0f67b.js";import"./useSize.9a16d4a6.js";import"./LoginFormTitle.7f9634f0.js";import"./ForgetPasswordForm.1a7d6661.js";import"./index.015371fe.js";import"./RegisterForm.268a502b.js";import"./index.5f4d6fe6.js";import"./Checkbox.6ab0d1fd.js";import"./MobileForm.e31adbf7.js";import"./QrCodeForm.ed5b89b8.js";import"./index.bc2491f6.js";import"./download.cca4d1ff.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.5a57a9c0.js"),["assets/index.5a57a9c0.js","assets/index.86b2d1e9.js","assets/index.52a94f43.css","assets/LockPage.23fb0aef.js","assets/LockPage.afa0c1ae.css","assets/lock.a5519af5.js","assets/dateUtil.2d9585bb.js","assets/header.d801b988.js"])),SettingDrawer:V(()=>D(()=>import("./index.3aec9b94.js").then(function(e){return e.i}),["assets/index.3aec9b94.js","assets/index.25a048e6.js","assets/index.5c7227e9.css","assets/index.86b2d1e9.js","assets/index.52a94f43.css","assets/index.f18363a4.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.b8fef731.js","assets/index.bc2491f6.js","assets/index.3a3c1369.css","assets/index.1cf79ea9.js","assets/index.48abc832.css","assets/FullscreenOutlined.a3d881df.js","assets/index.05ceceea.js","assets/index.55076fdd.css","assets/useWindowSizeFn.fd2146e4.js","assets/useContentViewHeight.e8bc7717.js","assets/uniqBy.f4394049.js","assets/_baseIteratee.a56bccd7.js","assets/get.043901f5.js","assets/index.6d3237eb.js","assets/index.a2831ae3.css","assets/useRefs.abe2f885.js","assets/PlusOutlined.b785ee59.js","assets/RedoOutlined.f4e1dec6.js","assets/index.dc073d65.js","assets/lock.a5519af5.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};