PageSourceSearch

https://warbeacon.net/assets/Login-BDhetUio.js

js warbeacon.net collected 2026-10-07 19:58:24 UTC 1,499 bytes, 1 lines download raw bytes

1import{c as v,u as _,d as N,a as y,b as c,e as k,f as b,F as p}from"./index-B7wgGdYd.js";import{u as w}from"./useTitle-CpnPyZRs.js";import{u as B,i as S,m as T,B as A,h as C,n as E}from"./ui-Bb6Z3BKb.js";import{k as R,r as $,o as z,W as F,O as L,M as a,Q as t,J as o,j as n,U as i,S as g}from"./vendor-D1SZIXqg.js";const M={class:"page-container"},D=R({__name:"Login",setup(O){const l=v(),u=_(),f=B(),d=N(),{t:h}=y();w("page.login.title");const r=$(!1),m=()=>{try{r.value=!0,window.location.href=`${k(b.auth.eveLogin.path)}`}catch(e){console.error("Failed to start OAuth flow:",e),f.error(h("messages.error.authError")),r.value=!1}};return z(()=>{const e=l.query.token,s=l.query.character;if(e&&s){d.setTokens(e,"",3600),u.push(c(p.dashboard));return}d.isAuthenticated&&u.push(c(p.dashboard))}),(e,s)=>(L(),F("div",M,[a(o(E),{title:e.$t("page.login.title")},{default:t(()=>[a(o(S),{vertical:"",size:"large"},{default:t(()=>[a(o(T),{type:"info"},{default:t(()=>[n(i(e.$t("page.login.description")),1)]),_:1}),a(o(A),{type:"primary",size:"large",onClick:m,loading:r.value},{icon:t(()=>s[0]||(s[0]=[g("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"currentColor"},[g("path",{d:"M12 2L2 7v10c0 5.55 3.84 9.74 9 11 5.16-1.26 9-5.45 9-11V7l-10-5z"})],-1)])),default:t(()=>[n(" "+i(e.$t("page.login.button")),1)]),_:1},8,["loading"]),a(o(C),{depth:"3",style:{"font-size":"12px"}},{default:t(()=>[n(i(e.$t("page.login.disclaimer")),1)]),_:1})]),_:1})]),_:1},8,["title"])]))}});export{D 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.