import{s as p,d4 as y,w as f,f as s,y as m,z as c,D as b}from"./index-DT8qTvyx.js";var v=function(t){p(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e.prototype.renderBody=function(){var n=this.props,r=n.body,a=n.render;return r?a("body",r):null},e.prototype.render=function(){var n=this.props,r=n.tag,a=n.props,d=n.data,i=n.style,l=y(a,function(o){return typeof o=="string"&&f(o,d,"| raw")||o}),u=r||"div";return s.createElement(u,m({},l,{style:i}),this.renderBody())},e}(s.Component),g=function(t){p(e,t);function e(){return t!==null&&t.apply(this,arguments)||this}return e=c([b({type:"web-component"})],e),e}(v);export{g as WebComponentRenderer,v as default};
