UNPKG

@forbespro/lead-agent

Version:
11 lines (10 loc) 369 B
import { normalizeUri as e } from "./index115.js"; function p(i, t) { const l = { src: e(t.url) }; t.alt !== null && t.alt !== void 0 && (l.alt = t.alt), t.title !== null && t.title !== void 0 && (l.title = t.title); const r = { type: "element", tagName: "img", properties: l, children: [] }; return i.patch(t, r), i.applyData(t, r); } export { p as image };