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