text: import{A as e,a as o,b as s,u as r,c as t,d as l,e as a}from"./index.10e3b51a.js";import i from"./LoginForm.ab367f33.js";import n from"./ForgetPasswordForm.6b62c8e8.js";import m from"./RegisterForm.5ac07789.js";import x from"./MobileForm.421f8fa9.js";import p from"./QrCodeForm.a00b2096.js";import{y as d,j as c,Z as f,B as g,F as u,a8 as w,v as b,J as h}from"./vendor.880b4c6c.js";/* empty css              *//* empty css              *//* empty css              *//* empty css              */import"./LoginFormTitle.daa071d1.js";import"./index.981ceacd.js";import"./index.f38aca4b.js";import"./index.e26afaa5.js";import"./download.db26d4fe.js";import"./base64Conver.bb012c73.js";var F=d({name:"Login",components:{AppLogo:e,LoginForm:i,ForgetPasswordForm:n,RegisterForm:m,MobileForm:x,QrCodeForm:p,AppLocalePicker:o,AppDarkModeToggle:s},props:{sessionTimeout:{type:Boolean}},setup(){const e=r(),{prefixCls:o}=t("login"),{t:s}=a(),i=l();return{t:s,prefixCls:o,title:c((()=>{var o;return null!=(o=null==e?void 0:e.title)?o:""})),showLocale:i.getShowPicker}}});const v={class:"-enter-x xl:hidden"},j={class:"container relative h-full py-2 mx-auto sm:px-10"},y={class:"flex h-full"},L={class:"hidden min-h-full pl-4 mr-4 xl:flex xl:flex-col xl:w-6/12"},k={class:"my-auto"},T={class:"mt-10 font-medium text-white -enter-x"},C={class:"inline-block mt-4 text-3xl"},A={class:"mt-5 font-normal text-white text-md dark:text-gray-500 -enter-x"},P={class:"flex w-full h-full py-5 xl:h-auto xl:py-0 xl:my-0 xl:w-6/12"};F.render=function(e,o,s,r,t,l){const a=f("AppLocalePicker"),i=f("AppDarkModeToggle"),n=f("AppLogo"),m=f("LoginForm"),x=f("ForgetPasswordForm"),p=f("RegisterForm"),d=f("MobileForm"),c=f("QrCodeForm");return g(),u("div",{class:[e.prefixCls,"relative w-full h-full px-4"]},[!e.sessionTimeout&&e.showLocale?(g(),u(a,{key:0,class:"absolute text-white top-4 right-4 enter-x xl:text-gray-600",showText:!1})):w("",!0),e.sessionTimeout?w("",!0):(g(),u(i,{key:1,class:"absolute top-3 right-7 enter-x"})),b("span",v,[b(n,{alwaysShowTitle:!0})]),b("div",j,[b("div",y,[b("div",L,[b(n,{class:"-enter-x"}),b("div",k,[b("img",{alt:e.title,src:"/assets/login-box-bg.9027741f.svg",class:"w-1/2 -mt-16 -enter-x"},null,8,["alt"]),b("div",T,[b("span",C,h(e.t("sys.login.signInTitle")),1)]),b("div",A,h(e.t("sys.login.signInDesc")),1)])]),b("div",P,[b("div",{class:[`${e.prefixCls}-form`,"\r\n              relative\r\n              w-full\r\n              px-5\r\n              py-8\r\n              mx-auto\r\n              my-auto\r\n              rounded-md\r\n              shadow-md\r\n              xl:ml-16 xl:bg-transparent\r\n              sm:px-8\r\n              xl:p-4 xl:shadow-none\r\n              sm:w-3/4\r\n              lg:w-2/4\r\n              xl:w-auto\r\n              enter-x\r\n            "]},[b(m),b(x),b(p),b(d),b(c)],2)])])])],2)};export default F;
  