const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/IconGoogle-BpL4pJC2.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/index-CipWZKo_.js","assets/index-CKbmOmAR.css","assets/IconOk-B0WzTIgK.js","assets/IconVk-DxHqc78L.js","assets/IconYandex-BIutWJKV.js","assets/IconMail-CaHw10ik.js"])))=>i.map(i=>d[i]);
import{u as f,f as T,H as x,c as n,h as u,o as t,ab as l,a as d,t as V,F as g,i as w,C,a1 as D,ac as o,ad as e}from"./index-CipWZKo_.js";import{_ as L}from"./_plugin-vue_export-helper-DlAUqK2U.js";const P={key:0},R={key:0,class:"section-subtitle"},b={class:"tw-flex tw-gap-2"},y=["onClick"],B={__name:"BlockAuthEnter",props:["label"],setup(p){const m=o(()=>e(()=>import("./IconGoogle-BpL4pJC2.js"),__vite__mapDeps([0,1,2,3]))),h=o(()=>e(()=>import("./IconOk-B0WzTIgK.js"),__vite__mapDeps([4,1,2,3]))),v=o(()=>e(()=>import("./IconVk-DxHqc78L.js"),__vite__mapDeps([5,1,2,3]))),E=o(()=>e(()=>import("./IconYandex-BIutWJKV.js"),__vite__mapDeps([6,1,2,3]))),I=o(()=>e(()=>import("./IconMail-CaHw10ik.js"),__vite__mapDeps([7,1,2,3]))),a=p,_=f(),k={Google:m,OK:h,VK:v,Yandex:E,MailRu:I},c=T(()=>_.authorizationTypes);function O(r){window.open(r,"_self").focus()}return x(()=>{_.OAuth()}),(r,s)=>c.value?(t(),n("section",P,[s[0]||(l(-1,!0),(s[0]=d("div",null,[a.label?(t(),n("div",R,V(a.label),1)):u("",!0),d("div",b,[(t(!0),n(g,null,w(c.value,(A,i)=>(t(),n("button",{class:"oauth__icon tw-h-[46px] tw-w-[46px]",key:i,onClick:S=>O(A.OauthURL)},[(t(),C(D(k[i])))],8,y))),128))])])).cacheIndex=0,l(1),s[0])])):u("",!0)}},N=L(B,[["__scopeId","data-v-16caed34"]]);export{N as _};
