const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/identity-providers-CdT9uS-_.js","assets/vendor-DJC-2VPc.js","assets/vendor-DXOeSP1F.css","assets/index-BZco6cza.js","assets/index-DRuTtKnM.css","assets/identity-providers-DRL3RWD3.css"])))=>i.map(i=>d[i]);
import{F as V,m as s,ag as C,P as g,_ as n,R as a,aU as I,a1 as i,T as o,X as m,a0 as y,e as r,az as A,W as h,a2 as E,ad as N}from"./vendor-DJC-2VPc.js";import{a3 as S,f as k,bz as x}from"./index-BZco6cza.js";const O={class:"sign-in__form"},w={class:"sign-in__side"},B={class:"sign-in__divider"},c="Password",H=V({__name:"sign-in",setup(D){const _=A(()=>N(()=>import("./identity-providers-CdT9uS-_.js"),__vite__mapDeps([0,1,2,3,4,5]))),{themeContext:d}=S(),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 k({title:f("pages.sign_in.meta.title")}),(e,R)=>{const P=g("VcTypography"),T=g("VcEmptyPage");return a(),n(T,{class:"sign-in",icon:"outline-security",image:"sign-in.jpg"},I({default:i(()=>[o("div",O,[m(P,{tag:"h1",class:"sign-in__title"},{default:i(()=>[E(y(e.$t("pages.sign_in.header")),1)]),_:1}),v.value?(a(),n(r(x),{key:0})):h("",!0)]),u.value?(a(),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:i(()=>[o("div",w,[o("div",B,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-CHYNoDiT.js.map
