import{d as c,j as r,I as n,bT as u,o as d,e as i,a as m,b as _}from"./BvNnk7SS.js";const f={flex:"~ items-center","h-full":"","bg-dark":""},p=["src"],g=c({__name:"EditorImage",props:{modelValue:{required:!0},modelModifiers:{}},emits:["update:modelValue"],async setup(a){let e,o;const t=r(a,"modelValue"),s=typeof t.value=="string"?([e,o]=n(()=>u(t.value)),e=await e,o(),e):t.value,l=URL.createObjectURL(s);return(b,h)=>(d(),i("div",f,[m("img",{src:_(l),class:"m-auto w-fit max-h-full object-contain"},null,8,p)]))}});export{g as default};
