import{j as i}from"./fields-wnm5Jtc6.js";import"./vendor-D21mNUGX.js";import{P as t,I as o,J as r}from"./index-pmrLY__j.js";const n=({value:s})=>s&&s.includes("<svg")?i.jsx("img",{src:`data:image/svg+xml;utf8,${encodeURIComponent(s)}`}):s&&(s.includes("http://")||s&&s.includes("https://")||s&&s.includes("data:image"))?i.jsx("img",{src:s,width:18,alt:""}):s&&!s.includes("dashicons")?i.jsx(o,{icon:`dashicons:${s}`,color:r(),width:"18px"}):i.jsx(o,{icon:s,color:r(),width:"18px"});n.propTypes={value:t.string.isRequired};export{n as E};
