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.fe4a8f33.js";import{c as V,u as st}from"./index.bc4d775f.js";import ct from"./SessionTimeoutLogin.4ebe7c86.js";import{s as lt,g as ut}from"./scrollTo.c0800d71.js";import"./FullscreenOutlined.637c676d.js";import"./index.14bfd34b.js";import"./useWindowSizeFn.f54b1eaa.js";import"./useContentViewHeight.4b680c2b.js";import"./uniqBy.aaa43b12.js";import"./_baseIteratee.278425b3.js";import"./get.3dc7fc10.js";import"./index.45b3895e.js";import"./index.d8de32c8.js";import"./useRefs.eb1da46f.js";import"./PlusOutlined.185e027e.js";import"./RedoOutlined.837f44db.js";import"./index.41d6e5d6.js";import"./lock.a9b0ceba.js";import"./Login.9be4e9b8.js";import"./LoginForm.6be70acb.js";import"./md5.f243e3f1.js";import"./index.6c03f363.js";import"./index.3a3c0d77.js";import"./useSize.698e0459.js";import"./LoginFormTitle.2945f785.js";import"./ForgetPasswordForm.5f2a2994.js";import"./index.fb5e2d05.js";import"./RegisterForm.c5f62edf.js";import"./index.ba54dfdc.js";import"./Checkbox.e7a76727.js";import"./MobileForm.2293f427.js";import"./QrCodeForm.18e54da5.js";import"./index.0279ef27.js";import"./download.b0c50d65.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.4937efae.js"),["assets/index.4937efae.js","assets/index.fe4a8f33.js","assets/index.6274dca4.css","assets/LockPage.57351f41.js","assets/LockPage.ad5cabd1.css","assets/lock.a9b0ceba.js","assets/dateUtil.745bf349.js","assets/header.d801b988.js"])),SettingDrawer:V(()=>D(()=>import("./index.eeb98b4f.js").then(function(e){return e.i}),["assets/index.eeb98b4f.js","assets/index.fb9026e4.js","assets/index.5c7227e9.css","assets/index.fe4a8f33.js","assets/index.6274dca4.css","assets/index.45b3895e.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.5eb8b727.js","assets/index.0279ef27.js","assets/index.3a3c1369.css","assets/index.bc4d775f.js","assets/index.5924ac04.css","assets/FullscreenOutlined.637c676d.js","assets/index.14bfd34b.js","assets/index.0935299d.css","assets/useWindowSizeFn.f54b1eaa.js","assets/useContentViewHeight.4b680c2b.js","assets/uniqBy.aaa43b12.js","assets/_baseIteratee.278425b3.js","assets/get.3dc7fc10.js","assets/index.d8de32c8.js","assets/index.a2831ae3.css","assets/useRefs.eb1da46f.js","assets/PlusOutlined.185e027e.js","assets/RedoOutlined.837f44db.js","assets/index.41d6e5d6.js","assets/lock.a9b0ceba.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};