import{bm as C,C as H,j as v,aO as R,aq as U,a as $,U as N,r as z,m as M,V as q,ac as w,ak as J,aX as W,eY as X,a7 as G,_ as D,J as O,b9 as Q,w as Y,v as Z,T as E,ba as K,bQ as tt,aG as et,dl as L,dv as nt,eZ as rt,b as at,f as I,aI as T,o as _,h as ot,aJ as k,aK as P,n as it,F as st,k as b,dD as V}from"./index.656c725e.js";import{c as x,u as ct}from"./index.81e1f965.js";import lt from"./SessionTimeoutLogin.7f4eb6a6.js";import{s as ut,g as pt}from"./scrollTo.fd8c0855.js";import"./FullscreenOutlined.52703f8e.js";import"./index.3b25deff.js";import"./useWindowSizeFn.2783558b.js";import"./useContentViewHeight.8799f330.js";import"./uniqBy.73b96c75.js";import"./_baseIteratee.d7866646.js";import"./index.6010d68f.js";import"./RedoOutlined.b54223ae.js";import"./lock.344c64f4.js";import"./Login.7f7b3c70.js";import"./LoginForm.28a31d47.js";import"./index.1f507897.js";import"./index.ddc16f9d.js";import"./LoginFormTitle.c7edeed0.js";import"./useLogin.d55d99c9.js";import"./index.38230a24.js";import"./index.2c103eba.js";function vt(e){var t,n=function(s){return function(){t=null,e.apply(void 0,H(s))}},r=function(){if(t==null){for(var s=arguments.length,c=new Array(s),o=0;ou}),h=function(){var u=t.target,p=u||B,f=p();m.scrollEvent=tt(f,"scroll",function(d){S(d)}),S({target:f})},y=function(){m.scrollEvent&&m.scrollEvent.remove(),S.cancel()};return q(function(){return t.target},function(){y(),w(function(){h()})}),J(function(){w(function(){h()})}),W(function(){w(function(){h()})}),X(function(){y()}),G(function(){y()}),function(){var i,u,p=v("div",{class:"".concat(o.value,"-content")},[v("div",{class:"".concat(o.value,"-icon")},[v(dt,null,null)])]),f=D(D({},a),{onClick:j,class:(i={},O(i,"".concat(o.value),!0),O(i,"".concat(a.class),a.class),O(i,"".concat(o.value,"-rtl"),g.value==="rtl"),i)}),d=Q("fade");return v(K,d,{default:function(){return[Y(v("div",E(E({},f),{},{ref:l}),[((u=r.default)===null||u===void 0?void 0:u.call(r))||p]),[[Z,m.visible]])]}})}}}),bt=U(_t);const St=$({name:"LayoutFeatures",components:{BackTop:bt,LayoutLockPage:x(()=>L(()=>import("./index.f4da4481.js"),["assets/index.f4da4481.js","assets/index.656c725e.js","assets/index.189d4760.css","assets/LockPage.64e6c097.js","assets/LockPage.6755d871.css","assets/lock.344c64f4.js","assets/header.d801b988.js"])),SettingDrawer:x(()=>L(()=>import("./index.61b6a288.js").then(function(e){return e.i}),["assets/index.61b6a288.js","assets/index.5c7227e9.css","assets/index.656c725e.js","assets/index.189d4760.css","assets/index.81e1f965.js","assets/index.50de4ef0.css","assets/FullscreenOutlined.52703f8e.js","assets/index.3b25deff.js","assets/index.55076fdd.css","assets/useWindowSizeFn.2783558b.js","assets/useContentViewHeight.8799f330.js","assets/uniqBy.73b96c75.js","assets/_baseIteratee.d7866646.js","assets/index.6010d68f.js","assets/index.a2831ae3.css","assets/RedoOutlined.b54223ae.js","assets/lock.344c64f4.js","assets/ArrowLeftOutlined.fc4e10b6.js","assets/index.4f3dd38a.js","assets/index.3a3c1369.css"])),SessionTimeoutLogin:lt},setup(){const{getUseOpenBackTop:e,getShowSettingButton:t,getSettingButtonPosition:n,getFullContent:r}=nt(),a=rt(),{prefixCls:s}=at("setting-drawer-feature"),{getShowHeader:c}=ct(),o=I(()=>a.getSessionTimeout),g=I(()=>{if(!b(t))return!1;const l=b(n);return l===V.AUTO?!b(c)||b(r):l===V.FIXED});return{getTarget:()=>document.body,getUseOpenBackTop:e,getIsFixedSettingDrawer:g,prefixCls:s,getIsSessionTimeout:o}}});function ht(e,t,n,r,a,s){const c=T("LayoutLockPage"),o=T("BackTop"),g=T("SettingDrawer"),l=T("SessionTimeoutLogin");return _(),ot(st,null,[v(c),e.getUseOpenBackTop?(_(),k(o,{key:0,target:e.getTarget},null,8,["target"])):P("",!0),e.getIsFixedSettingDrawer?(_(),k(g,{key:1,class:it(e.prefixCls)},null,8,["class"])):P("",!0),e.getIsSessionTimeout?(_(),k(l,{key:2})):P("",!0)],64)}var Mt=et(St,[["render",ht]]);export{Mt as default};