1import{_ as k,u as E,g as p,h as S,a as L,o as B,b as s,i as I,e as a,w as o,r as n,j as m,m as M,l as P,f as v,k as R,n as N,p as q,E as f}from"./index-CwvuOW6L.js";const z={class:"auth-page"},A={class:"auth-container"},C={class:"auth-left"},U={class:"auth-brand"},D={class:"auth-right"},T={class:"auth-form-container"},j={class:"auth-footer"},Q={__name:"Login",setup(W){const g=N(),_=q(),b=E(),u=p(null),i=p(!1),t=S({email:"",password:""}),h={email:[{required:!0,message:"Please enter your email",trigger:"blur"},{type:"email",message:"Please enter a valid email",trigger:"blur"}],password:[{required:!0,message:"Please enter your password",trigger:"blur"}]};async function w(){var l;if(!await((l=u.value)==null?void 0:l.validate().catch(()=>!1)))return;i.value=!0;const e=await b.login(t.email,t.password);if(i.value=!1,e.success){f.success("Login successful!");const r=_.query.redirect||"/";g.push(r)}else f.error(e.message)}return(y,e)=>{const l=n("router-link"),r=n("el-input"),d=n("el-form-item"),x=n("el-button"),V=n("el-form");return B(),L("div",z,[s("div",A,[s("div",C,[s("div",U,[a(l,{to:"/",class:"logo"},{default:o(()=>[...e[2]||(e[2]=[s("div",{class:"logo-icon"},"A",-1),s("span",null,"AesBench",-1)])]),_:1})]),e[3]||(e[3]=I('<div class="auth-hero" data-v-c0236c22><h1 data-v-c0236c22>Welcome Back</h1><p data-v-c0236c22>Sign in to access the QoMEX 2026 Expert-Level Image Aesthetics Perception Challenge</p><div class="hero-stats" data-v-c0236c22><div class="stat" data-v-c0236c22><span class="stat-value" data-v-c0236c22>2,800</span><span class="stat-label" data-v-c0236c22>Images</span></div><div class="stat" data-v-c0236c22><span class="stat-value" data-v-c0236c22>4</span><span class="stat-label" data-v-c0236c22>Dimensions</span></div><div class="stat" data-v-c0236c22><span class="stat-value" data-v-c0236c22>15+</span><span class="stat-label" data-v-c0236c22>MLLMs Tested</span></div></div></div>',1))]),s("div",D,[s("div",T,[e[7]||(e[7]=s("h2",null,"Sign In",-1)),e[8]||(e[8]=s("p",{class:"auth-subtitle"},"Enter your credentials to continue",-1)),a(V,{ref_key:"formRef",ref:u,model:t,rules:h,"label-position":"top",onSubmit:R(w,["prevent"])},{default:o(()=>[a(d,{label:"Email",prop:"email"},{default:o(()=>[a(r,{modelValue:t.email,"onUpdate:modelValue":e[0]||(e[0]=c=>t.email=c),type:"email",placeholder:"[email protected]",size:"large","prefix-icon":m(M)},null,8,["modelValue","prefix-icon"])]),_:1}),a(d,{label:"Password",prop:"password"},{default:o(()=>[a(r,{modelValue:t.password,"onUpdate:modelValue":e[1]||(e[1]=c=>t.password=c),type:"password",placeholder:"Enter your password",size:"large","prefix-icon":m(P),"show-password":""},null,8,["modelValue","prefix-icon"])]),_:1}),a(d,null,{default:o(()=>[a(x,{type:"primary","native-type":"submit",size:"large",loading:i.value,class:"submit-btn"},{default:o(()=>[...e[4]||(e[4]=[v(" Sign In ",-1)])]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"]),s("div",j,[e[6]||(e[6]=s("span",null,"Don't have an account?",-1)),a(l,{to:"/register"},{default:o(()=>[...e[5]||(e[5]=[v("Register now",-1)])]),_:1})])])])])])}}},F=k(Q,[["__scopeId","data-v-c0236c22"]]);export{F as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.