import{d as i,s as n,aA as o,R as c,P as h,O as p,c as u,o as l,u as s,a as d}from"./Dih1Xbo1.js";const m="img",S=i({__name:"ProseImg",props:{src:{type:String,default:""},alt:{type:String,default:""},width:{type:[String,Number],default:void 0},height:{type:[String,Number],default:void 0}},setup(a){const t=a,r=n(()=>{if(t.src?.startsWith("/")&&!t.src.startsWith("//")){const e=o(c(h().app.baseURL));if(e!=="/"&&!t.src.startsWith(e))return p(e,t.src)}return t.src});return(e,g)=>(l(),u(d(s(m)),{src:s(r),alt:t.alt,width:t.width,height:t.height},null,8,["src","alt","width","height"]))}});export{S as default};
