import{cd as D,V as R,n as m,aR as j,at as H,a as $,H as N,s as M,v as U,a6 as z,ak as O,M as q,cx as W,fM as X,L as G,_ as T,S as k,el as J,w as Q,x as Y,bN as Z,cR as K,av as tt,br as E,bB as et,fN as nt,b as rt,f as L,i as _,bK as x,a_ as b,o as S,h as ot,j as P,k as B,q as at,F as it}from"./index.f9240906.js";import{c as V,u as st}from"./index.694cbe8b.js";import ct from"./SessionTimeoutLogin.fc469ef1.js";import{s as lt,g as ut}from"./scrollTo.dad4e7d2.js";import"./FullscreenOutlined.16e551d7.js";import"./index.37126e12.js";import"./useWindowSizeFn.e05ba499.js";import"./useContentViewHeight.51fb01ea.js";import"./uniqBy.8dd4637c.js";import"./_baseIteratee.dc5455db.js";import"./get.10de1502.js";import"./index.5459a547.js";import"./index.bc1d0b0a.js";import"./useRefs.704645bf.js";import"./PlusOutlined.d3b73e32.js";import"./RedoOutlined.74a164b2.js";import"./index.55d1c7b9.js";import"./TabPane.9a67e6d2.js";import"./lock.a04a9985.js";import"./Login.8639a1e0.js";import"./LoginForm.d0d2f059.js";import"./index.c77d3359.js";import"./Checkbox.d036b137.js";/* empty css *//* empty css */import"./LoginFormTitle.59f57c4f.js";import"./Form.01cea6c8.js";import"./Col.46372180.js";import"./useFlexGapSupport.3936e9ba.js";import"./useSize.3965ca89.js";import"./index.48100a2d.js";import"./QrCodeForm.b0781e74.js";import"./index.db62f8f7.js";import"./index.3eff4f29.js";import"./download.f0b284ec.js";import"./base64Conver.08b9f4ec.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||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 z(function(){return t.target},function(){w(),O(function(){y()})}),q(function(){O(function(){y()})}),W(function(){O(function(){y()})}),X(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(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=H(Tt);const bt=$({name:"LayoutFeatures",components:{BackTop:_t,LayoutLockPage:V(()=>E(()=>import("./index.229bcf77.js"),["assets/index.229bcf77.js","assets/index.f9240906.js","assets/index.b7e9411f.css","assets/LockPage.b5984002.js","assets/LockPage.ad5cabd1.css","assets/lock.a04a9985.js","assets/header.b3b1e10f.js"])),SettingDrawer:V(()=>E(()=>import("./index.769a5dcd.js").then(function(e){return e.i}),["assets/index.769a5dcd.js","assets/index.51ec6257.js","assets/index.5c7227e9.css","assets/index.f9240906.js","assets/index.b7e9411f.css","assets/index.5459a547.js","assets/index.464798c8.css","assets/ArrowLeftOutlined.8ef55b3d.js","assets/index.db62f8f7.js","assets/index.3a3c1369.css","assets/index.694cbe8b.js","assets/index.5924ac04.css","assets/FullscreenOutlined.16e551d7.js","assets/index.37126e12.js","assets/index.0935299d.css","assets/useWindowSizeFn.e05ba499.js","assets/useContentViewHeight.51fb01ea.js","assets/uniqBy.8dd4637c.js","assets/_baseIteratee.dc5455db.js","assets/get.10de1502.js","assets/index.bc1d0b0a.js","assets/index.a2831ae3.css","assets/useRefs.704645bf.js","assets/PlusOutlined.d3b73e32.js","assets/RedoOutlined.74a164b2.js","assets/index.55d1c7b9.js","assets/TabPane.9a67e6d2.js","assets/lock.a04a9985.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 oe=tt(bt,[["render",St]]);export{oe as default};