PageSourceSearch

https://cookieroots.vercel.app/assets/Login-Bule2noI.js

js cookieroots.vercel.app collected 2026-10-03 06:34:04 UTC 1,458 bytes, 1 lines download raw bytes

1import{u as _,r as l,c as u,a as s,w as b,b as w,d,v as p,t as m,e as y,o as v}from"./index-RqHqy6x7.js";import{_ as S}from"./_plugin-vue_export-helper-DlAUqK2U.js";const h={class:"login-container"},k={class:"login-card"},x={class:"form-group"},C={class:"form-group"},V={key:0,class:"error-message"},B=["disabled"],E={__name:"Login",setup(I){const c=y(),f=_(),r=l(""),i=l(""),o=l(""),t=l(!1);async function g(){o.value="",t.value=!0;const{data:a,error:e}=await f.signIn(r.value,i.value);e?(o.value=e.message||"Failed to sign in",t.value=!1):a!=null&&a.user&&c.push("/")}return(a,e)=>(v(),u("div",h,[s("div",k,[e[4]||(e[4]=s("h1",null,"CookieRoots",-1)),e[5]||(e[5]=s("p",{class:"subtitle"},"Cookie Consent Management",-1)),s("form",{onSubmit:b(g,["prevent"]),class:"login-form"},[s("div",x,[e[2]||(e[2]=s("label",{for:"email"},"Email",-1)),d(s("input",{id:"email","onUpdate:modelValue":e[0]||(e[0]=n=>r.value=n),type:"email",required:"",placeholder:"[email protected]"},null,512),[[p,r.value]])]),s("div",C,[e[3]||(e[3]=s("label",{for:"password"},"Password",-1)),d(s("input",{id:"password","onUpdate:modelValue":e[1]||(e[1]=n=>i.value=n),type:"password",required:"",placeholder:"••••••••"},null,512),[[p,i.value]])]),o.value?(v(),u("div",V,m(o.value),1)):w("",!0),s("button",{type:"submit",disabled:t.value,class:"btn-primary"},m(t.value?"Signing in...":"Sign In"),9,B)],32)])]))}},q=S(E,[["__scopeId","data-v-abe0356f"]]);export{q 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.