import{cf as E,R,p as m,aZ as j,aN as H,a as $,a5 as N,s as U,v as M,J as z,am as w,H as q,cR as W,g4 as X,ah as J,_ as T,X as k,dk as Q,w as Z,x as G,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 x,aC as b,o as S,h as ot,j as P,l as C,n as at,F as it}from"./index.b9edafc5.js";import{c as I,u as st}from"./index.ca48e049.js";import ct from"./SessionTimeoutLogin.ec436a4f.js";import{s as lt,g as ut}from"./scrollTo.495af765.js";import"./FullscreenOutlined.6ed405b9.js";import"./index.a80f45e8.js";import"./useWindowSizeFn.163a2397.js";import"./useContentViewHeight.f1232089.js";import"./uniqBy.20331f76.js";import"./_baseIteratee.2ccd493f.js";import"./get.525b1412.js";import"./index.4c585e91.js";import"./index.ed5889ff.js";import"./useRefs.6d27f120.js";import"./PlusOutlined.1ee62c6b.js";import"./RedoOutlined.864ed0d9.js";import"./index.95f26df7.js";import"./lock.2d61636a.js";import"./Login.98d3ae1f.js";import"./LoginForm.b467e6ac.js";import"./md5.07eb88ed.js";import"./index.09659ee2.js";import"./index.b7b73885.js";import"./useSize.68b0b927.js";import"./LoginFormTitle.c21af844.js";import"./ForgetPasswordForm.e497e4dc.js";import"./index.fe531bc3.js";import"./RegisterForm.3edb05a0.js";import"./index.68134fec.js";import"./Checkbox.3693edd4.js";import"./MobileForm.3e9242ba.js";import"./QrCodeForm.dbb1ab78.js";import"./index.0180ed58.js";import"./download.dc49e8e1.js";function pt(e){var t,n=function(s){return function(){t=null,e.apply(void 0,R(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 z(function(){return t.target},function(){O(),w(function(){y()})}),q(function(){w(function(){y()})}),W(function(){w(function(){y()})}),X(function(){O()}),J(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=Q("fade");return m(Y,d,{default:function(){return[Z(m("div",T(T({},f),{},{ref:l}),[((u=r.default)===null||u===void 0?void 0:u.call(r))||p]),[[G,g.visible]])]}})}}}),_t=H(Tt);const bt=$({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:I(()=>D(()=>import("./index.4ed7f25b.js"),["assets/index.4ed7f25b.js","assets/index.b9edafc5.js","assets/index.5586d7eb.css","assets/LockPage.1a3547b9.js","assets/LockPage.afa0c1ae.css","assets/lock.2d61636a.js","assets/dateUtil.5a03aaf6.js","assets/header.d801b988.js"])),SettingDrawer:I(()=>D(()=>import("./index.27f53be5.js").then(function(e){return e.i}),["assets/index.27f53be5.js","assets/index.c68a4867.js","assets/index.5c7227e9.css","assets/index.b9edafc5.js","assets/index.5586d7eb.css","assets/index.4c585e91.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.70e6d78b.js","assets/index.0180ed58.js","assets/index.3a3c1369.css","assets/index.ca48e049.js","assets/index.48abc832.css","assets/FullscreenOutlined.6ed405b9.js","assets/index.a80f45e8.js","assets/index.55076fdd.css","assets/useWindowSizeFn.163a2397.js","assets/useContentViewHeight.f1232089.js","assets/uniqBy.20331f76.js","assets/_baseIteratee.2ccd493f.js","assets/get.525b1412.js","assets/index.ed5889ff.js","assets/index.a2831ae3.css","assets/useRefs.6d27f120.js","assets/PlusOutlined.1ee62c6b.js","assets/RedoOutlined.864ed0d9.js","assets/index.95f26df7.js","assets/lock.2d61636a.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"])):C("",!0),e.getIsFixedSettingDrawer?(S(),P(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):C("",!0),e.getIsSessionTimeout?(S(),P(l,{key:2})):C("",!0)],64)}var ne=tt(bt,[["render",St]]);export{ne as default};