PageSourceSearch

https://stopalcoolisme-c1ba9.web.app/assets/LoginView-DE907aVt.js

js stopalcoolisme-c1ba9.web.app collected 2026-10-03 12:36:55 UTC 1,840 bytes, 1 lines download raw bytes

1import{u as h,R as _,r as t,o as k,D as S,a as e,w as o,G as c,M as n,N as q,V as B}from"./index-DvnENxYa.js";const E=c("div",{class:"font-weight-bold text-h4 on_surface"}," Se connecter ",-1),N={class:"mt-4"},R={class:"text-center text-caption"},C={__name:"LoginView",setup(U){const i=h(),l=_(""),r=_(""),p=[a=>!!a||"Email is required",a=>/.+@.+\..+/.test(a)||"Email must be valid"],v=[a=>!!a||"Password is required"],f=async()=>{await i.loginUserWithMailAndPassword(l.value,r.value)},w=async()=>{await i.playAsGuest()};return(a,s)=>{const u=t("v-text-field"),m=t("v-btn"),y=t("v-col"),x=t("v-row"),V=t("v-form"),g=t("v-card"),b=t("router-link");return k(),S(q,null,[e(g,{color:"surface_low",elevation:"0",height:"100%",class:"d-flex flex-column bg-light rounded pa-4 pa-md-6 pa-lg-8 myBorder rounded-xl"},{default:o(()=>[E,e(V,{"fast-fail":"",class:"mt-6 mt-md-8 mt-lg-10",onSubmit:B(f,["prevent"])},{default:o(()=>[e(u,{modelValue:l.value,"onUpdate:modelValue":s[0]||(s[0]=d=>l.value=d),rules:p,type:"email",required:"",variant:"outlined",label:"Email address",name:"email"},null,8,["modelValue"]),e(u,{modelValue:r.value,"onUpdate:modelValue":s[1]||(s[1]=d=>r.value=d),rules:v,type:"password",required:"",variant:"outlined",label:"Password",name:"password"},null,8,["modelValue"]),e(x,{justify:"end"},{default:o(()=>[e(y,{cols:"2"},{default:o(()=>[e(m,{color:"primary_container",width:"100%",class:"rounded my-4",flat:"",type:"submit"},{default:o(()=>[n(" Se connecter ")]),_:1})]),_:1})]),_:1})]),_:1}),e(m,{color:"secondary_container",width:"100%",class:"rounded my-4",flat:"",onClick:w},{default:o(()=>[n(" Se connecter anonymement 🥸 ")]),_:1})]),_:1}),c("div",N,[c("p",R,[n(" Vous n'avez pas de compte ? "),e(b,{class:"text-black",to:{name:"Register"}},{default:o(()=>[n(" s'inscrire ")]),_:1})])])],64)}}};export{C 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.