import{cd as D,a1 as j,n as m,r as R,aB as H,a as $,R as M,v as U,w as N,K as q,aq as O,J as z,cx as W,fL as G,U as J,_ as T,Z as P,dg as X,x as Z,y as Q,bP as Y,cM as K,L as tt,bt as E,bD as et,fM as nt,b as rt,f as L,k as _,bM as x,aG as b,o as S,h as ot,j as k,l as B,q as at,F as it}from"./index.10d06543.js";import{c as I,u as st}from"./index.18988f8a.js";import ct from"./SessionTimeoutLogin.150d88c3.js";import{s as lt,g as ut}from"./scrollTo.f9c80981.js";import"./FullscreenOutlined.bc4a08a6.js";import"./index.915ff3c0.js";import"./useWindowSizeFn.a9703094.js";import"./useContentViewHeight.1f792a27.js";import"./uniqBy.eed4f041.js";import"./_baseIteratee.ce67176e.js";import"./get.bd6d3db4.js";import"./index.92c669b8.js";import"./index.e8eaf16a.js";import"./useRefs.335cb825.js";import"./PlusOutlined.caedd276.js";import"./RedoOutlined.9008bb6f.js";import"./index.1565d633.js";import"./lock.09621c9c.js";import"./Login.2909892a.js";import"./LoginForm.1eb7e68c.js";import"./index.cb13c93f.js";import"./Checkbox.955ea262.js";import"./index.9df737e3.js";import"./index.5ba3a90f.js";import"./useSize.d9326d8e.js";import"./index.a5e82843.js";import"./LoginFormTitle.7cbc84f9.js";import"./GithubFilled.0c427097.js";import"./index.f5075019.js";import"./ForgetPasswordForm.f1cf9976.js";import"./index.fd538503.js";import"./RegisterForm.a3ec57bc.js";import"./index.2ce8ed60.js";import"./MobileForm.cbac5a78.js";import"./QrCodeForm.2e5de615.js";import"./download.51a64bb1.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()})}),G(function(){w()}),J(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={},P(i,"".concat(a.value),!0),P(i,"".concat(o.class),o.class),P(i,"".concat(a.value,"-rtl"),v.value==="rtl"),i)}),d=X("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]),[[Q,g.visible]])]}})}}}),_t=H(Tt);const bt=$({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:I(()=>E(()=>import("./index.eb747311.js"),["assets/index.eb747311.js","assets/index.10d06543.js","assets/index.8d8b4e9f.css","assets/LockPage.6a6c8db6.js","assets/LockPage.ad5cabd1.css","assets/lock.09621c9c.js","assets/dateUtil.d25fd49f.js","assets/dayjs.min.cf2171ab.js","assets/header.d801b988.js"])),SettingDrawer:I(()=>E(()=>import("./index.c06d2458.js").then(function(e){return e.i}),["assets/index.c06d2458.js","assets/index.f4cd53d5.js","assets/index.5c7227e9.css","assets/index.10d06543.js","assets/index.8d8b4e9f.css","assets/index.92c669b8.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.804f6521.js","assets/index.a5e82843.js","assets/index.3a3c1369.css","assets/index.18988f8a.js","assets/index.5924ac04.css","assets/FullscreenOutlined.bc4a08a6.js","assets/index.915ff3c0.js","assets/index.0935299d.css","assets/useWindowSizeFn.a9703094.js","assets/useContentViewHeight.1f792a27.js","assets/uniqBy.eed4f041.js","assets/_baseIteratee.ce67176e.js","assets/get.bd6d3db4.js","assets/index.e8eaf16a.js","assets/index.a2831ae3.css","assets/useRefs.335cb825.js","assets/PlusOutlined.caedd276.js","assets/RedoOutlined.9008bb6f.js","assets/index.1565d633.js","assets/lock.09621c9c.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(),k(a,{key:0,target:e.getTarget},null,8,["target"])):B("",!0),e.getIsFixedSettingDrawer?(S(),k(v,{key:1,class:at(e.prefixCls)},null,8,["class"])):B("",!0),e.getIsSessionTimeout?(S(),k(l,{key:2})):B("",!0)],64)}var oe=tt(bt,[["render",St]]);export{oe as default};