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.ed5deffd.js";import{c as V,u as st}from"./index.e52e1b26.js";import ct from"./SessionTimeoutLogin.b865753b.js";import{s as lt,g as ut}from"./scrollTo.707f46cf.js";import"./FullscreenOutlined.a18420c1.js";import"./index.2728b75d.js";import"./useWindowSizeFn.a262cec0.js";import"./useContentViewHeight.b8e37cbd.js";import"./uniqBy.6fa12436.js";import"./_baseIteratee.7c3a5712.js";import"./get.b38b45ae.js";import"./index.141e5e7b.js";import"./index.fc6584f6.js";import"./useRefs.045d664d.js";import"./PlusOutlined.21b5778a.js";import"./RedoOutlined.a1f78ebd.js";import"./index.97795651.js";import"./lock.ce1bad0e.js";import"./Login.a29d8990.js";import"./LoginForm.d110a34f.js";import"./md5.24fc5fe1.js";import"./index.09a74575.js";import"./index.f6ae7164.js";import"./useSize.f4cf68f5.js";import"./LoginFormTitle.54587230.js";import"./ForgetPasswordForm.6faca130.js";import"./index.272fae53.js";import"./RegisterForm.38441cf0.js";import"./index.dfe580e1.js";import"./Checkbox.0ade27c0.js";import"./MobileForm.725204d3.js";import"./QrCodeForm.1f451d4f.js";import"./index.cca952d1.js";import"./download.b80ee91a.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.129d82d0.js"),["assets/index.129d82d0.js","assets/index.ed5deffd.js","assets/index.5586d7eb.css","assets/LockPage.a087e2b8.js","assets/LockPage.afa0c1ae.css","assets/lock.ce1bad0e.js","assets/dateUtil.91a9b59f.js","assets/header.d801b988.js"])),SettingDrawer:V(()=>D(()=>import("./index.610781ad.js").then(function(e){return e.i}),["assets/index.610781ad.js","assets/index.a73969f1.js","assets/index.5c7227e9.css","assets/index.ed5deffd.js","assets/index.5586d7eb.css","assets/index.141e5e7b.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.9abfd432.js","assets/index.cca952d1.js","assets/index.3a3c1369.css","assets/index.e52e1b26.js","assets/index.48abc832.css","assets/FullscreenOutlined.a18420c1.js","assets/index.2728b75d.js","assets/index.55076fdd.css","assets/useWindowSizeFn.a262cec0.js","assets/useContentViewHeight.b8e37cbd.js","assets/uniqBy.6fa12436.js","assets/_baseIteratee.7c3a5712.js","assets/get.b38b45ae.js","assets/index.fc6584f6.js","assets/index.a2831ae3.css","assets/useRefs.045d664d.js","assets/PlusOutlined.21b5778a.js","assets/RedoOutlined.a1f78ebd.js","assets/index.97795651.js","assets/lock.ce1bad0e.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};