function isDefinedIcon(icon) {
return icon in icons;
}
function getIconElement(name) {
const icon = icons[name];
if (!icon) {
return void 0;
}
const svgFragment = new DocumentFragment();
svgFragment.append(document.createRange().createContextualFragment(icon));
return svgFragment.firstElementChild;
}
const icons = {
"astro:logo": ``,
warning: ``,
"arrow-down": '',
bug: '',
"": '',
"check-circle": '',
gear: '',
lightbulb: '',
"file-search": '',
star: '',
checkmark: '',
"dots-three": '',
copy: '',
compress: '',
grid: '',
puzzle: '',
approveUser: '',
checkCircle: '',
resizeImage: '',
searchFile: '',
image: '',
robot: '',
sitemap: ''
};
export {
getIconElement,
isDefinedIcon
};