import{C as m}from"./Close8.js";import{C as p}from"./Close.js";import{_ as C,a as v}from"./shop.js";import{r,o as c,c as _,b as n,a as e,f as u,p as E,g as f,_ as g}from"./index.js";import"./telegram-authenticator.js";import"./close2.js";import"./Button.js";import"./donate.js";import"./money.js";const d=t=>(E("data-v-9d9e4e60"),t=t(),f(),t),I={class:"iface-centered st-card"},h={class:"st-card__container"},b=d(()=>e("div",{class:"st-card__item-image"},[e("img",{src:C})],-1)),k=d(()=>e("div",{class:"st-card__item-text"},"Управление киоском",-1)),x=[b,k],y=d(()=>e("div",{class:"st-card__item-image"},[e("img",{src:v})],-1)),B=d(()=>e("div",{class:"st-card__item-text"},"Приобрести товар",-1)),N=[y,B];function S(t,s,M,P,$,o){const i=r("ControlsClose"),l=r("CloseIcon");return c(),_("div",I,[n(i,{class:"st-card__controls-close",onClose:s[0]||(s[0]=a=>o.close())}),e("div",h,[o.isMobile?u("",!0):(c(),_("div",{key:0,class:"st-card__close",onClick:s[1]||(s[1]=(...a)=>o.close&&o.close(...a))},[n(l,{class:"st-card__close-icon"})])),e("div",{class:"st-card__item",onClick:s[2]||(s[2]=a=>o.sendCardEvent(1))},x),e("div",{class:"st-card__item",onClick:s[3]||(s[3]=a=>o.sendCardEvent(2))},N)])])}const V={name:"stall-card",props:["openParams"],components:{CloseIcon:m,ControlsClose:p},data(){return{}},computed:{isMobile(){return this.$root.isMobile}},created(){this.$data.noAdaptation=!0},methods:{sendCardEvent(t){sendClientEvent(gm.EVENT_EXECUTE_PUBLIC,"OnPlayerStallCardEvent",t)},close(){this.sendCardEvent(255)}}},z=g(V,[["render",S],["__scopeId","data-v-9d9e4e60"]]);export{z as default};
