import link_default from "../../../../components/loopstack-elements/link.js";
import { c } from "react/compiler-runtime";
import React from "react";
import { jsx } from "react/jsx-runtime";
var LinkMessageRenderer_default = (r) => {
	let i = c(8), { document: a } = r, { icon: o, type: s, label: l, caption: u, href: d, embed: f, expanded: p } = a.content, m = o, h;
	return i[0] !== u || i[1] !== f || i[2] !== p || i[3] !== d || i[4] !== l || i[5] !== m || i[6] !== s ? (h = /* @__PURE__ */ jsx(link_default, {
		href: d,
		label: l,
		caption: u,
		icon: m,
		type: s,
		embed: f,
		defaultExpanded: p
	}), i[0] = u, i[1] = f, i[2] = p, i[3] = d, i[4] = l, i[5] = m, i[6] = s, i[7] = h) : h = i[7], h;
};
export { LinkMessageRenderer_default as default };
