import{cd as D,a1 as j,n as m,r as R,aB as H,a as $,R as U,v as M,w as N,K as q,aq as O,J as z,cx as W,fj as Z,U as G,_ as T,Z as k,dp as J,x as X,y as Q,bP as Y,cZ as K,L as tt,bt as E,bD as et,fk as nt,b as rt,f as L,k as _,bM as x,aG as b,o as S,h as ot,j as P,l as B,q as at,F as it}from"./index.32c07267.js";import{c as I,u as st}from"./index.5110a100.js";import ct from"./SessionTimeoutLogin.787a39e3.js";import{s as lt,g as ut}from"./scrollTo.afde63de.js";import"./FullscreenOutlined.ed8a6514.js";import"./index.3185795a.js";import"./useWindowSizeFn.4882e42a.js";import"./useContentViewHeight.ef6a5b55.js";import"./uniqBy.0c96aa5b.js";import"./_baseIteratee.67f8f2a9.js";import"./get.3e9b8a69.js";import"./index.1b438852.js";import"./index.692800a1.js";import"./useRefs.23253e0b.js";import"./RedoOutlined.4c6ffbb8.js";import"./index.bf7f68d4.js";import"./lock.36982ba5.js";import"./Login.ecf65b77.js";import"./LoginForm.dc4ea13e.js";import"./index.551d44e4.js";import"./Checkbox.2f1eed1e.js";import"./index.596e1e64.js";import"./index.0a16179d.js";import"./useSize.461a5969.js";import"./index.0f130bbc.js";import"./LoginFormTitle.4edb5410.js";import"./GithubFilled.82087c62.js";import"./index.7337ce8e.js";import"./ForgetPasswordForm.1f95486a.js";import"./index.c9aabb5b.js";import"./RegisterForm.adba060b.js";import"./index.6ab28e80.js";import"./MobileForm.c2f822b2.js";import"./QrCodeForm.8c524d01.js";import"./download.b7e5a7a4.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||C,f=p();g.scrollEvent=K(f,"scroll",function(d){h(d)}),h({target:f})},w=function(){g.scrollEvent&&g.scrollEvent.remove(),h.cancel()};return q(function(){return t.target},function(){w(),O(function(){y()})}),z(function(){O(function(){y()})}),W(function(){O(function(){y()})}),Z(function(){w()}),G(function(){w()}),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=J("fade");return m(Y,d,{default:function(){return[X(m("div",T(T({},f),{},{ref:l}),[((u=r.default)===null||u===void 0?void 0:u.call(r))||p]),[[Q,g.visible]])]}})}}}),_t=H(Tt);const bt=$({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:I(()=>E(()=>import("./index.35810110.js"),["assets/index.35810110.js","assets/index.32c07267.js","assets/index.19b5d7df.css","assets/LockPage.37941586.js","assets/LockPage.ad5cabd1.css","assets/lock.36982ba5.js","assets/dateUtil.3435ac89.js","assets/dayjs.min.1a2f02d8.js","assets/header.d801b988.js"])),SettingDrawer:I(()=>E(()=>import("./index.7bcb7d00.js").then(function(e){return e.i}),["assets/index.7bcb7d00.js","assets/index.f87b1573.js","assets/index.5c7227e9.css","assets/index.32c07267.js","assets/index.19b5d7df.css","assets/index.1b438852.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.97358e47.js","assets/index.0f130bbc.js","assets/index.3a3c1369.css","assets/index.5110a100.js","assets/index.5924ac04.css","assets/FullscreenOutlined.ed8a6514.js","assets/index.3185795a.js","assets/index.0935299d.css","assets/useWindowSizeFn.4882e42a.js","assets/useContentViewHeight.ef6a5b55.js","assets/uniqBy.0c96aa5b.js","assets/_baseIteratee.67f8f2a9.js","assets/get.3e9b8a69.js","assets/index.692800a1.js","assets/index.a2831ae3.css","assets/useRefs.23253e0b.js","assets/RedoOutlined.4c6ffbb8.js","assets/index.bf7f68d4.js","assets/lock.36982ba5.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===x.AUTO?!_(c)||_(r):l===x.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"])):B("",!0),e.getIsFixedSettingDrawer?(S(),P(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):B("",!0),e.getIsSessionTimeout?(S(),P(l,{key:2})):B("",!0)],64)}var re=tt(bt,[["render",St]]);export{re as default};