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