import{_ as p}from"./gEruasct.js";import{_ as d}from"./CoMKAfwe.js";import{_ as u}from"./BopM0vw7.js";import{bB as _,X as f,cS as a,a3 as e,p as x,W as o,r as V,a2 as s,c0 as n,V as g}from"#entry";import{a as h}from"./CSNDbwpJ.js";import{V as v}from"./BgQ5eU58.js";import{V as C}from"./VoZA954X.js";import{V as k}from"./RTCSF0Ks.js";import"./BKDgfSxC.js";import"./Cp3UUybv.js";import"./R1_j74h_.js";const B={class:"position-relative"},$={class:"d-flex ga-2 align-baseline"},w={class:"mx-2"},z={__name:"EventMapDialog",props:{place:{type:Object,default:()=>({latitude:0,longitude:0})},mapHeight:{type:String,default:"55vh"}},emits:["close"],setup(t){return(l,c)=>{const i=p,m=d,r=u;return _(),f(k,null,{default:a(()=>[e(x,{class:"flex-grow-1"},{default:a(()=>[o("div",B,[e(i,{place:t.place,height:t.mapHeight},null,8,["place","height"]),e(m,{place:t.place},null,8,["place"])]),e(h,{class:"my-4 d-flex flex-column align-center text-center"},{default:a(()=>[o("div",$,[e(V,{icon:"mdi-map-marker",size:"small"}),e(r,{class:"text-decoration-none text-h6",to:`/place/${t.place.id}/${encodeURIComponent(t.place.name)}`},{default:a(()=>[s(n(t.place.name),1)]),_:1},8,["to"])]),o("div",w,n(t.place.address),1)]),_:1})]),_:1}),e(v,null,{default:a(()=>[e(C),e(g,{variant:"outlined",onClick:c[0]||(c[0]=y=>l.$emit("close"))},{default:a(()=>[s(n(l.$t("common.close")),1)]),_:1})]),_:1})]),_:1})}}};export{z as default};
