import{aP as a,a as m,b as u,l as p,bo as d,by as c,r as l,H as _,G as f,fs as g,o as v,aR as S,p as x,i as B,j as I,n as b,k as C,bH as M}from"./index.0d073eaa.js";import T from"./Login.c9d518ca.js";import"./LoginForm.4dbedbbb.js";import"./index.1491cab6.js";import"./Checkbox.476f6e92.js";/* empty css              *//* empty css              */import"./LoginFormTitle.620e6f7b.js";import"./Form.48352728.js";import"./Col.a2eadc78.js";import"./useFlexGapSupport.474c31b7.js";import"./_baseIteratee.3919e7cf.js";import"./get.49a42f2e.js";import"./useSize.bb4e5ce5.js";import"./index.1d29734e.js";const h=m({__name:"SessionTimeoutLogin",setup(k){const{prefixCls:t}=u("st-login"),e=p(),i=d(),n=c(),o=l(0),r=()=>n.getProjectConfig.permissionMode===g.BACK;return _(()=>{var s;o.value=(s=e.getUserInfo)==null?void 0:s.userId,console.log("Mounted",e.getUserInfo)}),f(()=>{(o.value&&o.value!==e.getUserInfo.userId||r()&&i.getLastBuildMenuTime===0)&&document.location.reload()}),(s,U)=>(v(),S(M,null,{default:x(()=>[B("div",{class:b(C(t))},[I(T,{sessionTimeout:""})],2)]),_:1}))}});var $=a(h,[["__scopeId","data-v-07eaddea"]]);export{$ as default};
