PageSourceSearch

https://selfwalkconradorlando.web.app/assets/LoginView.b0aee403.js

js selfwalkconradorlando.web.app collected 2026-10-03 12:36:02 UTC 1,279 bytes, 1 lines download raw bytes

1import{u as h,v as g,m as c}from"./index.62e478e3.js";import{a as f,u as m}from"./vue-router.51ed5a46.js";import{_ as y,r as v,d as a,e as n,c as r,p as w,g as k}from"./_plugin-vue_export-helper.f09dc1ee.js";const i=s=>(w("data-v-28a1ac3d"),s=s(),k(),s),I={class:"hiz"},P=i(()=>n("h1",null,"Login",-1)),b=i(()=>n("p",null,"Please sign in with your Google account to continue.",-1)),x=["disabled"],L={key:0,class:"loader"},S={key:1},A={__name:"LoginView",setup(s){const l=f(),u=m(),d=new h,e=v(!1),_=async()=>{e.value=!0;try{const t=(await g(c,d)).user;if(!t.email.endsWith("@selfwalk.com")){alert("Access restricted to team members only."),await c.signOut(),e.value=!1;return}console.log("Authorized user:",t.email);const p=u.query.redirect||"/";l.push(p)}catch(o){o.code==="auth/popup-closed-by-user"?alert("Sign-in was canceled. Please try again."):o.code==="auth/network-request-failed"?alert("Network error. Please check your connection."):(console.error("Error during sign-in:",o),alert("An unexpected error occurred. Please try again."))}finally{e.value=!1}};return(o,t)=>(r(),a("div",I,[P,b,n("button",{onClick:_,disabled:e.value},[e.value?(r(),a("span",L)):(r(),a("span",S,"Sign in with Google"))],8,x)]))}},W=y(A,[["__scopeId","data-v-28a1ac3d"]]);export{W 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.