import{cd as D,O as j,p as m,aX as H,aL as R,a as $,a3 as M,r as N,s as U,H as z,ak as k,G as W,cP as X,g3 as q,af as G,_ as T,V as w,di as J,w as Q,v as Y,bQ as Z,cO as K,J as tt,bs as E,bC as et,gk as nt,b as rt,f as L,k as _,bM as V,aA as b,o as S,h as ot,j as P,l as A,n as at,F as it}from"./index.8c59e406.js";import{c as I,u as st}from"./index.67877cb1.js";import ct from"./SessionTimeoutLogin.7712b8a8.js";import{s as lt,g as ut}from"./scrollTo.2b548691.js";import"./FullscreenOutlined.286ca2e1.js";import"./index.ab27aee9.js";import"./useWindowSizeFn.87e30163.js";import"./useContentViewHeight.ffad785e.js";import"./uniqBy.10269952.js";import"./_baseIteratee.f7acf79f.js";import"./get.c0f3cf2d.js";import"./index.095c975e.js";import"./index.469354a4.js";import"./useRefs.bd00a50f.js";import"./PlusOutlined.05f9733c.js";import"./RedoOutlined.421072e6.js";import"./index.97b2e925.js";import"./lock.be84aa76.js";import"./Login.c7057294.js";import"./LoginForm.9463bc9d.js";import"./index.878d1acf.js";import"./index.a9641f09.js";import"./useSize.08fdf812.js";import"./LoginFormTitle.db47bafa.js";import"./ForgetPasswordForm.75f79396.js";import"./index.71da04a7.js";import"./RegisterForm.acc1297b.js";import"./index.f8c01045.js";import"./Checkbox.97d123be.js";import"./MobileForm.8f931038.js";import"./QrCodeForm.c10c3456.js";import"./index.9b9aca54.js";import"./download.9977d36a.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}),O=function(){var u=t.target,p=u||B,f=p();g.scrollEvent=K(f,"scroll",function(d){h(d)}),h({target:f})},y=function(){g.scrollEvent&&g.scrollEvent.remove(),h.cancel()};return z(function(){return t.target},function(){y(),k(function(){O()})}),W(function(){k(function(){O()})}),X(function(){k(function(){O()})}),q(function(){y()}),G(function(){y()}),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={},w(i,"".concat(a.value),!0),w(i,"".concat(o.class),o.class),w(i,"".concat(a.value,"-rtl"),v.value==="rtl"),i)}),d=J("fade");return m(Z,d,{default:function(){return[Q(m("div",T(T({},f),{},{ref:l}),[((u=r.default)===null||u===void 0?void 0:u.call(r))||p]),[[Y,g.visible]])]}})}}}),_t=R(Tt);const bt=$({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:I(()=>E(()=>import("./index.a98cbb86.js"),["assets/index.a98cbb86.js","assets/index.8c59e406.js","assets/index.a18b7614.css","assets/LockPage.d2f8b3fc.js","assets/LockPage.afa0c1ae.css","assets/lock.be84aa76.js","assets/dateUtil.c434bbdb.js","assets/header.d801b988.js"])),SettingDrawer:I(()=>E(()=>import("./index.53c427fd.js").then(function(e){return e.i}),["assets/index.53c427fd.js","assets/index.45e869d7.js","assets/index.5c7227e9.css","assets/index.8c59e406.js","assets/index.a18b7614.css","assets/index.095c975e.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.f92ba081.js","assets/index.9b9aca54.js","assets/index.3a3c1369.css","assets/index.67877cb1.js","assets/index.48abc832.css","assets/FullscreenOutlined.286ca2e1.js","assets/index.ab27aee9.js","assets/index.55076fdd.css","assets/useWindowSizeFn.87e30163.js","assets/useContentViewHeight.ffad785e.js","assets/uniqBy.10269952.js","assets/_baseIteratee.f7acf79f.js","assets/get.c0f3cf2d.js","assets/index.469354a4.js","assets/index.a2831ae3.css","assets/useRefs.bd00a50f.js","assets/PlusOutlined.05f9733c.js","assets/RedoOutlined.421072e6.js","assets/index.97b2e925.js","assets/lock.be84aa76.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===V.AUTO?!_(c)||_(r):l===V.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"])):A("",!0),e.getIsFixedSettingDrawer?(S(),P(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):A("",!0),e.getIsSessionTimeout?(S(),P(l,{key:2})):A("",!0)],64)}var ee=tt(bt,[["render",St]]);export{ee as default};