Attaches the ContentfulOptimization preview panel to the DOM as a Web Component.
Registers all custom elements, fetches audiences and optimization entries from
Contentful, wires up state interceptors, and appends the panel to
document.body.
Calling this function more than once reuses the existing in-flight or completed
attachment.
Attaches the ContentfulOptimization preview panel to the DOM as a Web Component.
Registers all custom elements, fetches audiences and optimization entries from Contentful, wires up state interceptors, and appends the panel to
document.body. Calling this function more than once reuses the existing in-flight or completed attachment.