import{_ as i,U as p,y as m,o as e,c as o,b as d,w as C,a as u,a3 as a,h as n,f,T as h}from"./index.js";import{C as E}from"./ContaineredButton.js";import{C as v}from"./Close.js";import"./Button.js";import"./telegram-authenticator.js";import"./close2.js";import"./donate.js";import"./money.js";import"./ButtonContainer.js";/* empty css                                                               */const y={class:"plan-scheme"},k={key:0,class:"plan-scheme__content"},S={class:"plan-scheme__map"},x={data:()=>({noAdaptation:!0})},P=Object.assign(x,{__name:"PlanScheme",setup(w,{expose:c}){const _=p("isMobile"),l=window.KEY_CODE_ESC,s=m(!0),t=()=>{s.value&&(s.value=!1)},r=()=>{sendClientEvent(gm.EVENT_EXECUTE_PUBLIC,"PS_OnClose"),window.closeInterface("PlanScheme")};return c({close:t}),(B,O)=>(e(),o("div",y,[d(h,{name:"plan-scheme",appear:"",onAfterLeave:r},{default:C(()=>[s.value?(e(),o("div",k,[u("div",S,[a(_)?(e(),n(v,{key:1,class:"plan-scheme__close",type:4,onClose:t})):(e(),n(E,{key:0,class:"plan-scheme__close",text:"ESC",keyCode:a(l),onPressed:t},null,8,["keyCode"]))])])):f("",!0)]),_:1})]))}}),D=i(P,[["__scopeId","data-v-77a946d9"]]);export{D as default};
