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.3d706c2f.js";import{c as V,u as st}from"./index.ec6e722b.js";import ct from"./SessionTimeoutLogin.3e2d2780.js";import{s as lt,g as ut}from"./scrollTo.0ee71853.js";import"./FullscreenOutlined.43f2524a.js";import"./index.8a36ef75.js";import"./useWindowSizeFn.0a521a42.js";import"./useContentViewHeight.a0cf6391.js";import"./uniqBy.492cb1c2.js";import"./_baseIteratee.1aab2acb.js";import"./get.335010bc.js";import"./index.059feea2.js";import"./index.30edc1c8.js";import"./useRefs.002d291f.js";import"./PlusOutlined.e09e416d.js";import"./RedoOutlined.9f849b32.js";import"./index.cfce90a0.js";import"./lock.6cd36f96.js";import"./Login.b243fa15.js";import"./LoginForm.55f15234.js";import"./md5.f1a8c3f7.js";import"./index.21499d5b.js";import"./index.c4ede28d.js";import"./useSize.987f82a3.js";import"./LoginFormTitle.bf4713e1.js";import"./ForgetPasswordForm.9eb7d39f.js";import"./index.642c84b5.js";import"./RegisterForm.0416956e.js";import"./index.f679901a.js";import"./Checkbox.3d97ba68.js";import"./MobileForm.98e76c3d.js";import"./QrCodeForm.d284537c.js";import"./index.0cea5cd4.js";import"./download.75f6f090.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.e4023150.js"),["assets/index.e4023150.js","assets/index.3d706c2f.js","assets/index.6274dca4.css","assets/LockPage.80c6d462.js","assets/LockPage.ad5cabd1.css","assets/lock.6cd36f96.js","assets/dateUtil.bf80b888.js","assets/header.d801b988.js"])),SettingDrawer:V(()=>D(()=>import("./index.b31f1ab7.js").then(function(e){return e.i}),["assets/index.b31f1ab7.js","assets/index.eed5a1ea.js","assets/index.5c7227e9.css","assets/index.3d706c2f.js","assets/index.6274dca4.css","assets/index.059feea2.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.0d3617a3.js","assets/index.0cea5cd4.js","assets/index.3a3c1369.css","assets/index.ec6e722b.js","assets/index.5924ac04.css","assets/FullscreenOutlined.43f2524a.js","assets/index.8a36ef75.js","assets/index.0935299d.css","assets/useWindowSizeFn.0a521a42.js","assets/useContentViewHeight.a0cf6391.js","assets/uniqBy.492cb1c2.js","assets/_baseIteratee.1aab2acb.js","assets/get.335010bc.js","assets/index.30edc1c8.js","assets/index.a2831ae3.css","assets/useRefs.002d291f.js","assets/PlusOutlined.e09e416d.js","assets/RedoOutlined.9f849b32.js","assets/index.cfce90a0.js","assets/lock.6cd36f96.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};