const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/identity-providers-BNnri7sO.js","assets/vendor-CsGITfgk.js","assets/vendor-DXOeSP1F.css","assets/index-GCDRvGOr.js","assets/index-CuRKiloU.css","assets/identity-providers-DRL3RWD3.css"])))=>i.map(i=>d[i]);
import{M as V,E as s,$ as C,U as g,R as n,O as i,aU as I,V as a,W as o,X as m,Y as y,e as r,an as E,a8 as h,Z as k,ak as A}from"./vendor-CsGITfgk.js";import{a3 as N,f as S,bI as x}from"./index-GCDRvGOr.js";const O={class:"sign-in__form"},$={class:"sign-in__side"},w={class:"sign-in__divider"},c="Password",H=V({__name:"sign-in",setup(B){const _=E(()=>A(()=>import("./identity-providers-BNnri7sO.js"),__vite__mapDeps([0,1,2,3,4,5]))),{themeContext:d}=N(),l=d.value.storeSettings?.authenticationTypes?.length?d.value.storeSettings.authenticationTypes:[c],t=s(()=>l.filter(e=>e!==c)),p=s(()=>t.value.length>0),u=s(()=>p.value&&!v.value),v=s(()=>l.includes(c)),{t:f}=C();return S({title:f("pages.sign_in.meta.title")}),(e,D)=>{const P=g("VcTypography"),T=g("VcEmptyPage");return i(),n(T,{class:"sign-in",icon:"outline-security",image:"sign-in.jpg"},I({default:a(()=>[o("div",O,[m(P,{tag:"h1",class:"sign-in__title"},{default:a(()=>[k(y(e.$t("pages.sign_in.header")),1)]),_:1}),v.value?(i(),n(r(x),{key:0})):h("",!0)]),u.value?(i(),n(r(_),{key:0,providers:t.value,class:"sign-in__providers sign-in__providers--only"},null,8,["providers"])):h("",!0)]),_:2},[p.value&&!u.value?{name:"side",fn:a(()=>[o("div",$,[o("div",w,y(e.$t("pages.sign_in.divider_text")),1),m(r(_),{providers:t.value,class:"sign-in__providers"},null,8,["providers"])])]),key:"0"}:void 0]),1024)}}});export{H as default};
//# sourceMappingURL=sign-in-DNjOyDW6.js.map
