1import{u as d,r as c,w as p,c as u,a as t,b as f,d as w,v as m,e as g,i as y,f as x,o as b}from"#entry";const _={class:"flex w-screen h-screen justify-center items-center"},v={class:"p-80",style:{background:"#c8e1c8"}},B={__name:"login",async setup(h){let o,n;d({title:"Login",meta:[{name:"robots",content:"noindex, nofollow"}]});const s=c(""),i=([o,n]=p(()=>x()),o=await o,n(),o),a=async()=>{(await $fetch("/api/login",{method:"POST",body:JSON.stringify({password:s.value})})).status===200&&window.location.replace(window.location.origin+i.query.returnUrl||window.location.origin+"/")};return(r,e)=>(b(),u("div",_,[t("div",v,[e[2]||(e[2]=t("div",{style:{"font-size":"30px","line-height":"1.4","font-weight":"bold","margin-bottom":"20px"}}," Login page ",-1)),t("form",{class:"flex gap-10",onSubmit:f(a,["prevent"])},[w(t("input",{"onUpdate:modelValue":e[0]||(e[0]=l=>y(s)?s.value=l:null),type:"password"},null,512),[[m,g(s)]]),e[1]||(e[1]=t("button",{type:"submit",class:"px-10",style:{border:"1px solid #697069"}}," Login ",-1))],32)])]))}};export{B 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.