import{_ as m}from"./BlueButton.vue_vue_type_script_setup_true_lang-CY8chwQm.js";import{M as _,o as s,c as a,a as o,i as n,t as r,b as w,w as u,f}from"./index-Bb2UEb_P.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const p={class:"tw-max-w-[500px]"},x={key:0,class:"tw-flex tw-justify-center tw-mt-4"},h=["href"],k=["src"],y=["src"],b={key:1,class:"tw-text-center tw-mt-4"},g=["href"],v={class:"tw-text-center tw-mt-4 tw-text-justify"},C={class:"tw-flex tw-justify-center tw-mt-4"},Q=_({__name:"ModalWindowScanQR",props:{data:{}},emits:["modalClose"],setup(c,{emit:l}){const t=c,i=l;return(j,e)=>{const d=m;return s(),a("div",p,[e[2]||(e[2]=o("div",{class:"tw-text-2xl tw-font-medium"},"Подтверждение аккаунта",-1)),t.data.qr?(s(),a("div",x,[t.data.url?(s(),a("a",{key:0,href:t.data.url,target:"_blank"},[o("img",{src:t.data.qr,class:"tw-block tw-h-32 tw-object-contain",alt:"QR код"},null,8,k)],8,h)):(s(),a("img",{key:1,src:t.data.qr,class:"tw-block tw-h-32 tw-object-contain",alt:"QR код"},null,8,y))])):n("",!0),t.data.url?(s(),a("div",b,[o("a",{href:t.data.url,target:"_blank",class:"tw-text-orange-500"},r(t.data.url),9,g)])):n("",!0),o("div",v,r(t.data.message),1),o("div",C,[w(d,{onClick:e[0]||(e[0]=B=>i("modalClose"))},{default:u(()=>e[1]||(e[1]=[f("Закрыть",-1)])),_:1,__:[1]})])])}}});export{Q as default};
