import{l as o,c as p,o as l,b as s,t as r}from"./app-B4kV47qU.js";const m={class:"rounded-lg bg-white p-1 dark:bg-dark-700"},d=["src"],g={class:"-mb-1 mt-1 p-1 text-sm leading-3"},_={class:"text-end text-[10px] text-gray-400"},h={__name:"ImagePreview",props:["meta"],setup(c){const e=c,i=o(()=>e.meta.caption||"Your caption will appear here"),n=o(()=>{var t,a;return((t=e.meta)==null?void 0:t.imageUrl)||((a=e.meta)==null?void 0:a.image)||"/assets/images/whatsapp-demo-img.png"});return(t,a)=>(l(),p("div",m,[s("img",{class:"rounded-lg",src:n.value,alt:"Preview image"},null,8,d),s("p",g,r(i.value),1),s("p",_,r(new Date().toLocaleTimeString()),1)]))}};export{h as default};
