PageSourceSearch

https://app.curator.io/sso.BEhGXthc.js

js curator.io collected 2026-09-24 15:22:41 UTC 1,261 bytes, 1 lines download raw bytes

1import{aw as g,ao as h,b as k,c as y,ar as N,aq as w}from"./app.DbqpAXOi.js";import{j as C,y as L,r as c,N as q,z as A,q as u,O as l,u as t,o as d,A as p,H as O,G as m,I as D}from"./SkinSwitcher.twk2Bn9a.js";const I={class:"form-container"},S={key:0},x={key:1},B={class:"callout callout-danger"},E={class:"additional-info"},$=C({__name:"sso",setup(G){const{logIn:_}=g(),f=h(),a=k(),v=y(),{redirectToDefault:R}=N(),s=c("LOADING"),r=c("");L(()=>{i()});const i=async()=>{try{if(s.value="LOADING",a.query.packet){const n={packet:`${a.query.packet}`},o=(await f.post("/auth/sso",n)).data;o.success?(s.value="SUCCESS",await _(o),a.query.redirect?await v.push(`${a.query.redirect}`):await R()):(r.value=o.message,s.value="ERROR")}}catch(n){r.value=n}};return(n,e)=>{const o=q("RouterLink");return u(),A(w,{class:"auth-container"},{default:l(()=>[t("div",I,[s.value==="LOADING"?(u(),d("div",S,[e[0]||(e[0]=t("p",null,"Logging in...",-1)),t("button",{onClick:i},"Login")])):p("",!0),s.value==="ERROR"?(u(),d("div",x,[t("div",B,O(r.value),1)])):p("",!0),e[3]||(e[3]=t("div",{class:"divider"},null,-1)),t("section",E,[e[2]||(e[2]=m("New here? ",-1)),D(o,{to:"/auth/register"},{default:l(()=>[...e[1]||(e[1]=[m("Sign up",-1)])]),_:1})])])]),_:1})}}});
1export{$ 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.