import{_ as r}from"./ButtonDefault-CghIUDY0.js";import{d as m,H as u,s as p,c as f,o as b,a as t,b as d}from"./index-CipWZKo_.js";import{_ as k}from"./_plugin-vue_export-helper-DlAUqK2U.js";const v={class:"modal__body"},C={class:"modal__buttons-wrap"},y={__name:"ModalWindowNewProfile",emits:["modalClose","buttonClicked"],setup(w,{emit:i}){const _=m(),o=i;function c(){o("modalClose")}function s(){_.push("/ProfileMake"),o("buttonClicked"),o("modalClose")}const n=a=>{a.key==="Enter"&&s()};return u(()=>{document.addEventListener("keyup",n)}),p(()=>{document.removeEventListener("keyup",n)}),(a,e)=>{const l=r;return b(),f("div",v,[e[0]||(e[0]=t("div",{class:"list-item__title"},"Создание нового профиля",-1)),e[1]||(e[1]=t("div",{class:"list-item__subtitle"},"Для определения владельца домена необходимо создать новый профиль",-1)),t("div",C,[d(l,{class:"modal__button yes",label:"Создать новый профиль",onClick:s}),d(l,{class:"modal__button",label:"Нет",onClick:c})])])}}},N=k(y,[["__scopeId","data-v-5dfdef4f"]]);export{N as default};
