import"./index.Ct5zz34E.js";import{d as c,r as i,o as r,a1 as d,c as o,h as p,e as s,l as t,F as u,j as h,t as _}from"./vue.CZk_9PbR.js";import{_ as m}from"./_plugin-vue_export-helper.DlAUqK2U.js";const f=c({name:"loginOAuth2",setup(){const a=i({handleOAuth2LoginClick:l=>{history.replaceState(null,"",location.pathname+location.search),window.location.href=l.authentication_url+"?next="+window.location.href},backends:[]});return r(()=>{}),{...d(a)}}}),k={key:0,class:"other-fast-way"},g={class:"fast-list"},C=["onClickOnce"],w=["src","alt"];function y(n,a,l,O,$,b){return n.backends.length?(s(),o("div",k,[a[0]||(a[0]=t("div",{class:"fast-title"},[t("span",null,"其他快速方式登录")],-1)),t("ul",g,[(s(!0),o(u,null,h(n.backends,(e,A)=>(s(),o("li",{key:e},[t("a",{onClickOnce:L=>n.handleOAuth2LoginClick(e),style:{width:"50px",color:"#18bc9c"}},[t("img",{src:e.icon,alt:e.app_name},null,8,w),t("p",null,_(e.app_name),1)],40,C)]))),128))])])):p("",!0)}const N=m(f,[["render",y],["__scopeId","data-v-e51f2672"]]);export{N as default};