import{Ec as c,Ia as d,Pa as s,ba as r,ua as o}from"./chunk-L6W7X4TF.js";import{i}from"./chunk-WH5WJFMZ.js";var p=(()=>{let e=class e{renderer=r(d);hostElement=r(o);pluginSelectorId=c(void 0);ngOnInit(){let n=this.pluginSelectorId();if(!n)return;if(this.hostElement.nativeElement.getAttribute("id"))throw new Error("Cannot set id on element that already has an id");this.renderer.setAttribute(this.hostElement.nativeElement,"id",`plugin-selector-${n}`)}};i(e,"\u0275fac",function(l){return new(l||e)}),i(e,"\u0275dir",s({type:e,selectors:[["","myPluginSelector",""]],inputs:{pluginSelectorId:[1,"pluginSelectorId"]}}));let t=e;return t})();export{p as a};
/**i18n:ae7e6707fc51a9e1f6f015929aece8afe43a92a094f09f07f0463afe6c89573f*/
//# sourceMappingURL=chunk-A3QRSSAO.js.map
