import{_ as l}from"./ButtonDefault-CzWpVlv6.js";import{am as d,r as m,l as a,D as u,o as p,c as f,a as v,t as y,b as E}from"./index-Bb2UEb_P.js";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.js";const k={class:"modal__body"},b={class:"list-item__title"},B={__name:"ModalWindowInvoiceError",emits:["modalClose"],setup(C,{emit:r}){const c=r,i=d(),e=m("");function o(){c("modalClose")}a(async()=>{e.value=i.data.Messages?.Errors?.Invoices?.Payment});const t=s=>{s.key==="Enter"&&o()};return a(()=>{document.addEventListener("keyup",t)}),u(()=>{document.removeEventListener("keyup",t)}),(s,n)=>{const _=l;return p(),f("div",k,[v("div",b,y(e.value),1),E(_,{class:"modal__button",label:"Продолжить",onClick:n[0]||(n[0]=I=>o())})])}}},h=g(B,[["__scopeId","data-v-6a886f63"]]);export{h as default};
