function unwrapElement(target) { if (typeof target === 'string') return document.querySelector(target); if (typeof target === 'function') return target(); return target; } export { unwrapElement };